move to git
This commit is contained in:
parent
511a5267b5
commit
a6774f331c
3 changed files with 12 additions and 3 deletions
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
.DS_Store
|
||||||
|
tools/geo/json/_cities.json
|
||||||
|
dev
|
||||||
|
build/
|
||||||
|
min/
|
||||||
|
tools/geo/json/countries.json
|
||||||
|
index.json
|
||||||
|
._*
|
||||||
|
build
|
||||||
|
downloads
|
||||||
|
*~
|
|
@ -5,7 +5,7 @@
|
||||||
<p>Development version, including everything but the kitchen sink.</p>
|
<p>Development version, including everything but the kitchen sink.</p>
|
||||||
<p>
|
<p>
|
||||||
Check it out and build it yourself (you'll need <a href="https://wiki.0x2620.org/wiki/python-ox"><code>python-ox</code></a>):<pre>
|
Check it out and build it yourself (you'll need <a href="https://wiki.0x2620.org/wiki/python-ox"><code>python-ox</code></a>):<pre>
|
||||||
$ bzr branch http://code.0x2620.org/oxjs
|
$ git clone https://git.0x2620.org/oxjs.git
|
||||||
$ tools/build/build.py</pre>
|
$ tools/build/build.py</pre>
|
||||||
</p>
|
</p>
|
||||||
<p>Or download <a href="https://oxjs.org/downloads/OxJS.latest.source.tar.gz"><code>OxJS.latest.source.tar.gz</code></a>{size.source}.</p>
|
<p>Or download <a href="https://oxjs.org/downloads/OxJS.latest.source.tar.gz"><code>OxJS.latest.source.tar.gz</code></a>{size.source}.</p>
|
||||||
|
|
|
@ -18,9 +18,7 @@ def get_version():
|
||||||
revision = subprocess.Popen(
|
revision = subprocess.Popen(
|
||||||
['git', 'rev-list', 'HEAD', '--count'], stdout=subprocess.PIPE
|
['git', 'rev-list', 'HEAD', '--count'], stdout=subprocess.PIPE
|
||||||
).communicate()[0].strip().decode('utf-8')
|
).communicate()[0].strip().decode('utf-8')
|
||||||
print(revision)
|
|
||||||
revision = int(revision) - 94
|
revision = int(revision) - 94
|
||||||
print(revision)
|
|
||||||
else:
|
else:
|
||||||
revision = subprocess.Popen(
|
revision = subprocess.Popen(
|
||||||
['bzr', 'revno'], stdout=subprocess.PIPE
|
['bzr', 'revno'], stdout=subprocess.PIPE
|
||||||
|
|
Loading…
Reference in a new issue