summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-10-23 23:03:49 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-10-23 23:03:49 +0200
commit0869d7b4caa14ea17d6092a684af299da7545aa6 (patch)
tree553cea0edb237f92a8f9b86f80c02673b90d0c72 /portato
parent3d4e2da389013ebb61afbc4a6ec102697ff1cf5f (diff)
downloadportato-0869d7b4caa14ea17d6092a684af299da7545aa6.tar.gz
portato-0869d7b4caa14ea17d6092a684af299da7545aa6.tar.bz2
portato-0869d7b4caa14ea17d6092a684af299da7545aa6.zip
Change the new_version plugin to use git.
Use 'git ls-remote' to check for the current HEAD revision. Additionally the revision is no longer put into the version number, but into an extra variable REVISION.
Diffstat (limited to 'portato')
-rw-r--r--portato/constants.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/portato/constants.py b/portato/constants.py
index 7d2a9d6..139f1a6 100644
--- a/portato/constants.py
+++ b/portato/constants.py
@@ -42,8 +42,10 @@ These should be set during the installation.
@var TEMPLATE_DIR: Directory containing the UI template files.
@type TEMPLATE_DIR: string
-@var REPOURI: the URI of the bzr repository -- only used in live versions
+@var REPOURI: the URI of the git repository -- only used in live versions
@type REPOURI: string
+@var REVISION: the revision of the live version
+@type REVISION: string
"""
import os
from os.path import join as pjoin
@@ -70,4 +72,5 @@ SETTINGS_DIR = pjoin(HOME, "."+APP)
TEMPLATE_DIR = "portato/gui/templates/"
# live versions only
-REPOURI = "lp:portato"
+REPOURI = "git://github.com/Necoro/portato.git"
+REVISION = ""