From: Ciaran Gultnieks Date: Mon, 27 Feb 2012 09:08:25 +0000 (+0000) Subject: Import from gitorious projects X-Git-Tag: 0.1~902 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3aa581e46c2434954f33c8d54e0553cc46c6b07c;p=fdroidserver.git Import from gitorious projects --- diff --git a/import.py b/import.py index 0e7307c9..77c43db3 100755 --- a/import.py +++ b/import.py @@ -62,6 +62,11 @@ def main(): repo = url + '.git' repotype = 'git' sourcecode = url + elif url.startswith('https://gitorious.org/'): + projecttype = 'gitorious' + repo = 'https://git.gitorious.org/' + url[22:] + '.git' + repotype = 'git' + sourcecode = url elif url.startswith('http://code.google.com/p/'): if not url.endswith('/'): print "Expected format for googlecode url is http://code.google.com/p/PROJECT/"