Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

133 lines (119 sloc) 6.528 kb
<?xml version="1.0"?>
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface" uri="http://gfxmonk.net/dist/0install/version.xml">
<name>version</name>
<summary>view (and modify) your project version in multiple commonly-used places</summary>
<publish xmlns="http://gfxmonk.net/dist/0install" mode="featured"/>
<description>
version parses common files to find and change
the current version number of your project.
Supported file names are:
- VERSION (obviously)
- setup.py (python setuptools)
- conf.py (sphinx configuration)
.. but new file formats can be added fairly easily when required.
# Usage:
version
To print out your current version number(s) (one line per file).
version \&lt;number\&gt;
To set the version number across all supported files.
version +
To increment the minor version number (e.g 0.1.2 -&gt; 0.1.3)
and save the results to every supported file.
version ++
To increment the second-most minor version number
(e.g 0.1.2 -&gt; 0.2.0)
.. 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>
<h1 id="usage">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>
</rich-description>
<group main="version.py">
<command name="test">
<runner command="run-py2" interface="http://gfxmonk.net/dist/0install/nosetests-runner.xml">
<arg>--with-doctest</arg>
<arg>--exe</arg>
</runner>
</command>
<requires interface="http://repo.roscidus.com/python/python">
<version before="3"/>
</requires>
<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"/>
</implementation>
<implementation id="sha1new=914352d2bf3420c6135ead0deedf4a2c47e9f3d4" released="2010-10-04" version="0.3">
<manifest-digest sha256="c5dfc96c8e5c8728e9a405f6dea26117cba748e8bf3c0f20db284ae6e39f406e"/>
<archive href="http://gfxmonk.net/dist/0install/version/version-0.3.tgz" size="1599"/>
</implementation>
<implementation id="sha1new=9e2b15e43955d5efeb265b70c53914397a42e8d0" released="2010-12-29" version="0.4">
<manifest-digest sha256="9576e33d62a121cafc972d1ef64fe74c2e4c38fd14ebadc077cb39973bdcfeed"/>
<archive href="http://gfxmonk.net/dist/0install/version/version-0.4.tgz" size="1657"/>
</implementation>
<implementation id="sha1new=ebda1ab2a67434b7bad514f6bf8fe7dbfb1674a6" released="2011-01-04" version="0.5">
<manifest-digest sha256="a7507c4a9584b41f4a3925dbb89bd676bff2b743cc57fb75e6ea30a78b6fec4c"/>
<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>
<implementation id="sha1new=bfa28ccf2edd7e62c2d5dec7e080782613efb516" released="2011-01-15" version="0.5.2">
<manifest-digest sha256="3e8abeac73deb1fbbbc73e0d4d2daa21e395c7f38a904be691948f89b2d73c8b"/>
<archive href="http://gfxmonk.net/dist/0install/version/version-0.5.2.tgz" size="2458"/>
</implementation>
<implementation id="sha1new=4adc36d4c34db62c199c0314cd06ef14b7dba565" released="2011-01-29" version="0.5.3">
<manifest-digest sha256="3c6c246d23350b3d874bc3643873bcc54605da575eb2d6c3bc31970b88a62a78"/>
<archive href="http://gfxmonk.net/dist/0install/version/version-0.5.3.tgz" size="2463"/>
</implementation>
<implementation id="sha1new=6c8ebbc021378324c71cf074725389efbaf968ba" released="2011-08-08" version="0.6">
<manifest-digest sha256="cd403d582bf5a7210e153dee79bd4806d16b87af6ea0ac8dbe53ed4d3766ae87"/>
<archive href="http://gfxmonk.net/dist/0install/version/version-0.6.tgz" size="2823"/>
</implementation>
<implementation id="sha1new=0e4d12cb7aec60214044d2b79c7e5377c9b38742" released="2011-12-30" version="0.7">
<manifest-digest sha256="e7d541188525341c9b95907a7c6fb094bea77e6603698ff4ab1386b933167536"/>
<archive href="http://gfxmonk.net/dist/0install/version/version-0.7.tgz" size="4018"/>
</implementation>
<implementation id="sha1new=1900a1b88389ca01eca6202d5a3f70296d7f2bcf" released="2012-04-26" version="0.7.1">
<manifest-digest sha256="7b0f99d4d77031e11131c332239ef20dd9cc18a1b5d21025af8a3f9ea5e8a5c2"/>
<archive href="http://gfxmonk.net/dist/0install/version/version-0.7.1.tgz" size="4048"/>
</implementation>
<implementation id="sha1new=2a5fedc85cef8f800acad4b363deffeb212aa952" released="2012-06-24" version="0.7.2">
<manifest-digest sha256="ecc03f98739089a9315c3a228347b83327607bc5fcebd4ed6f21ec083057ba25"/>
<archive href="http://gfxmonk.net/dist/0install/version/version-0.7.2.tgz" size="4105"/>
</implementation>
<implementation id="sha1new=d3f7daab22b3bba0572b195da87aca8623c7b82d" released="2012-07-26" version="0.8.0">
<manifest-digest sha256="2e371d78737f3f36340ad3f857f3fef65228874a9be14f4087724d7a14b10d94"/>
<archive href="http://gfxmonk.net/dist/0install/version/version-0.8.0.tgz" size="4650"/>
</implementation>
</group>
</interface>
Jump to Line
Something went wrong with that request. Please try again.