mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Support https://code.google.com in fdroid import
This commit is contained in:
parent
946e79f2ce
commit
d104f2e1fb
@ -164,7 +164,8 @@ def main():
|
|||||||
if not repotype:
|
if not repotype:
|
||||||
logging.info("Unable to determine vcs type. " + repo)
|
logging.info("Unable to determine vcs type. " + repo)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
elif url.startswith('http://code.google.com/p/'):
|
elif (url.startswith('http://code.google.com/p/') or
|
||||||
|
url.startswith('https://code.google.com/p/')):
|
||||||
if not url.endswith('/'):
|
if not url.endswith('/'):
|
||||||
url += '/'
|
url += '/'
|
||||||
projecttype = 'googlecode'
|
projecttype = 'googlecode'
|
||||||
|
Loading…
Reference in New Issue
Block a user