From 76834300506862d6c67021dfb8f021ae0ffbc45e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Tue, 15 Jun 2010 21:16:00 +0200 Subject: [PATCH] username on the git server may not be the same with the local one. --- module-tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module-tools.py b/module-tools.py index 425e0448..29fb2470 100755 --- a/module-tools.py +++ b/module-tools.py @@ -373,6 +373,7 @@ class Module: configKeys=[ ('svnpath',"Enter your toplevel svnpath", "svn+ssh://%s@svn.planet-lab.org/svn/"%commands.getoutput("id -un")), ('gitserver', "Enter your git server's hostname", "git.onelab.eu"), + ('gituser', "Enter your user name (login name) on git server", os.getlogin()), ("build", "Enter the name of your build module","build"), ('username',"Enter your firstname and lastname for changelogs",""), ("email","Enter your email address for changelogs",""), @@ -448,7 +449,7 @@ class Module: @classmethod def git_remote_dir (cls, name): - return "%s:/git/%s.git" % (cls.config['gitserver'], name) + return "%s@%s:/git/%s.git" % (cls.config['gituser'], cls.config['gitserver'], name) @classmethod def svn_remote_dir (cls, name): -- 2.47.0