relpipe-data/examples-in-xmltable-tr-sql-mercurial-hg.xml
branchv_0
changeset 264 d39cfc926f95
equal deleted inserted replaced
263:8bf13358a50a 264:d39cfc926f95
       
     1 <stránka
       
     2 	xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana"
       
     3 	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro">
       
     4 	
       
     5 	<nadpis>Reading Mercurial history using XMLTable and SQL</nadpis>
       
     6 	<perex>filtering the commit log from hg VCS</perex>
       
     7 	<m:pořadí-příkladu>02900</m:pořadí-příkladu>
       
     8 
       
     9 	<text xmlns="http://www.w3.org/1999/xhtml">
       
    10 		
       
    11 		<p>
       
    12 			The <a href="https://www.mercurial-scm.org/">Mercurial</a> version control system 
       
    13 			can provide the repository commit log in a machine readable format – XML.
       
    14 			We will transform this XML to relations using the <code>relpipe-in-xmltable</code>
       
    15 			and then filter records using the SQL language in the <code>relpipe-tr-sql</code> tool.
       
    16 			Everything on-the-fly, in a single shell pipeline. Of course, we can cache intermediate products in a file if needed.
       
    17 		</p>
       
    18 		
       
    19 		<m:pre jazyk="bash" src="examples/mercurial-hg-xmltable-sql.sh"/>
       
    20 
       
    21 		<p>This script will generate several lovely relations:</p>
       
    22 
       
    23 		<m:pre jazyk="text" src="examples/mercurial-hg-xmltable-sql.txt"/>
       
    24 		
       
    25 		<p>
       
    26 			Using different output filter than <code>relpipe-out-tabular</code>,
       
    27 			we can serialize the relational output into other formats (XML, CSV, Recfile, ODS, ASN.1 BER etc.),
       
    28 			display them in a GUI or execute some shell command for each record.
       
    29 		</p>
       
    30 		
       
    31 	</text>
       
    32 
       
    33 </stránka>