Permalink
Browse files

0install feed changes

  • Loading branch information...
1 parent 55196cd commit f42324b6bdc93a2718f10188fe0bed60fa5e298f @timbertson committed Jan 14, 2011
Showing with 32 additions and 3 deletions.
  1. +32 −3 version.xml
View
@@ -39,7 +39,36 @@ To increment the second-most minor version number
.. and so on for more plusses, for as many as you require.
</description>
<homepage>http://github.com/gfxmonk/version</homepage>
+ <rich-description xmlns="http://gfxmonk.net/dist/0install">
+ <div xmlns="http://www.w3.org/1999/xhtml">
+ <p>version parses common files to find and change the current version number of your project.</p>
+ <p>Supported file names are:</p>
+ <ul>
+ <li>VERSION (obviously)</li>
+ <li>setup.py (python setuptools)</li>
+ <li>conf.py (sphinx configuration)</li>
+ </ul>
+ <p>.. but new file formats can be added fairly easily when required.</p>
+ <div id="usage:">
+ <h1>Usage:</h1>
+ <pre><code>version
+</code></pre>
+ <p>To print out your current version number(s) (one line per file).</p>
+ <pre><code>version \&lt;number\&gt;
+</code></pre>
+ <p>To set the version number across all supported files.</p>
+ <pre><code>version +
+</code></pre>
+ <p>To increment the minor version number (e.g 0.1.2 -&gt; 0.1.3) and save the results to every supported file.</p>
+ <pre><code>version ++
+</code></pre>
+ <p>To increment the second-most minor version number (e.g 0.1.2 -&gt; 0.2.0)</p>
+ <p>.. and so on for more plusses, for as many as you require.</p>
+ </div>
+ </div>
+ </rich-description>
<group main="version.py">
+ <environment insert="" mode="prepend" name="PYTHONPATH"/>
<implementation id="sha1new=bea229b667512d5b01b6b7f35919ca88ee95af50" released="2010-07-31" version="0.2">
<manifest-digest sha256="193941f6f9f61c35ea94156cfd1c8e52e25577ce3e23f89db0eead9120154a65"/>
<archive href="http://gfxmonk.net/dist/0install/version/version-0.2.tgz" size="1551"/>
@@ -57,8 +86,8 @@ To increment the second-most minor version number
<archive href="http://gfxmonk.net/dist/0install/version/version-0.5.tgz" size="2311"/>
</implementation>
<implementation id="sha1new=8240a79f8149e4832e1b9138b9f07faa2febe227" released="2011-01-05" version="0.5.1">
- <manifest-digest sha256="cc31b728755bfc7d93ab79bd39c9cdb317337bc5c1c557ee9c19d3a3c55c47bb"/>
- <archive href="http://gfxmonk.net/dist/0install/version/version-0.5.1.tgz" size="2367"/>
- </implementation>
+ <manifest-digest sha256="cc31b728755bfc7d93ab79bd39c9cdb317337bc5c1c557ee9c19d3a3c55c47bb"/>
+ <archive href="http://gfxmonk.net/dist/0install/version/version-0.5.1.tgz" size="2367"/>
+ </implementation>
</group>
</interface>

0 comments on commit f42324b

Please sign in to comment.