1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Support https://code.google.com in fdroid import

This commit is contained in:
Ciaran Gultnieks 2014-05-15 10:26:35 +01:00
parent 946e79f2ce
commit d104f2e1fb

View File

@ -164,7 +164,8 @@ def main():
if not repotype:
logging.info("Unable to determine vcs type. " + repo)
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('/'):
url += '/'
projecttype = 'googlecode'