chiark / gitweb /
Support https://code.google.com in fdroid import
authorCiaran Gultnieks <ciaran@ciarang.com>
Thu, 15 May 2014 09:26:35 +0000 (10:26 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Thu, 15 May 2014 09:26:35 +0000 (10:26 +0100)
fdroidserver/import.py

index 39da79237336371e9fb4e5573f30f7352f330f0a..b17bb4df01343edcce25300664ec7cd5384dd9c5 100644 (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'