chiark / gitweb /
checkupdates: fix google play check method
[fdroidserver.git] / makebuildserver
index 23f29917569b1b3965c2b714e9bae7545b901151..e84a6444a179f44c43ec72f334ddc78e196f4dc7 100755 (executable)
@@ -124,6 +124,9 @@ if config['apt_package_cache']:
         shutil.rmtree(aptcachepartial)
 
 cachefiles = [
+    # Don't update sdk tools beyond 25.2.5.
+    # Support for android update project has been removed and there is no replacement.
+    # Until we find a solution for that we need to stay at this revision.
     ('https://dl.google.com/android/repository/tools_r25.2.5-linux.zip',
      '577516819c8b5fae680f049d39014ff1ba4af870b687cab10595783e6f22d33e'),
     ('https://dl.google.com/android/repository/android_m2repository_r47.zip',
@@ -393,7 +396,7 @@ def update_cache(cachedir, cachefiles):
 
         if download:
             r = requests.get(srcurl, headers=resume_header,
-                             stream=True, verify=False, allow_redirects=True)
+                             stream=True, allow_redirects=True)
             content_length = int(r.headers.get('content-length'))
             with open(local_filename, 'ab') as f:
                 for chunk in progress.bar(r.iter_content(chunk_size=65536),