From 0869d7b4caa14ea17d6092a684af299da7545aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 23 Oct 2009 23:03:49 +0200 Subject: 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. --- portato/constants.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'portato') 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 = "" -- cgit v1.2.3