`fdroid build` will generate source tarballs, and now with support for
adding any file to a repo, we need to explicitly ignore the fdroid-
generated source tarballs. If people want to include source tarballs in a
repo, they still can, as long as that source tarball doesn't use the
`fdroid build` tarball naming scheme.
from .common import FDroidPopen, FDroidPopenBytes, SdkToolsPopen
from .metadata import MetaDataException
-METADATA_VERSION = 17
+METADATA_VERSION = 18
screen_densities = ['640', '480', '320', '240', '160', '120']
if file_extension == 'apk' or file_extension == 'obb':
continue
filename = os.path.join(repodir, name)
+ if filename.endswith('_src.tar.gz'):
+ logging.debug('skipping source tarball:', filename)
+ continue
if not common.is_repo_file(filename):
continue
stat = os.stat(filename)