chiark / gitweb /
Extra debug logging when parsing manifests
[fdroidserver.git] / fdroidserver / common.py
index 7932c72d9fa396ba87e26a7abab7589f63658e4d..8a958704a5c910a7affdf5b806d864ecf95a9551 100644 (file)
@@ -987,6 +987,7 @@ def parse_androidmanifests(paths, ignoreversions=None):
 
     for path in paths:
 
+        logging.debug("Parsing manifest at {0}".format(path))
         gradle = has_extension(path, 'gradle')
         version = None
         vercode = None
@@ -1016,6 +1017,9 @@ def parse_androidmanifests(paths, ignoreversions=None):
                 if matches:
                     vercode = matches.group(1)
 
+        logging.debug("..got package={0}, version={1}, vercode={2}"
+                      .format(package, version, vercode))
+
         # Always grab the package name and version name in case they are not
         # together with the highest version code
         if max_package is None and package is not None: