mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02: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:
|
||||
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'
|
||||
|
Loading…
Reference in New Issue
Block a user