mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Import from gitorious projects
This commit is contained in:
parent
115f5dba2d
commit
3aa581e46c
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue