mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 17:00:12 +01:00
Import from gitorious projects
This commit is contained in:
parent
115f5dba2d
commit
3aa581e46c
@ -62,6 +62,11 @@ def main():
|
|||||||
repo = url + '.git'
|
repo = url + '.git'
|
||||||
repotype = 'git'
|
repotype = 'git'
|
||||||
sourcecode = url
|
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/'):
|
elif url.startswith('http://code.google.com/p/'):
|
||||||
if not url.endswith('/'):
|
if not url.endswith('/'):
|
||||||
print "Expected format for googlecode url is http://code.google.com/p/PROJECT/"
|
print "Expected format for googlecode url is http://code.google.com/p/PROJECT/"
|
||||||
|
Loading…
Reference in New Issue
Block a user