From 3aa581e46c2434954f33c8d54e0553cc46c6b07c Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Mon, 27 Feb 2012 09:08:25 +0000 Subject: [PATCH] Import from gitorious projects --- import.py | 5 +++++ 1 file changed, 5 insertions(+) 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/" -- 2.30.2