1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 18:50:11 +02:00

Import from gitorious projects

This commit is contained in:
Ciaran Gultnieks 2012-02-27 09:08:25 +00:00
parent 115f5dba2d
commit 3aa581e46c

View File

@ -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/"