mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Import from gitorious projects
This commit is contained in:
parent
115f5dba2d
commit
3aa581e46c
@ -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/"
|
||||
|
Loading…
Reference in New Issue
Block a user