A .asc or .sig file is a detached PGPG signature, `fdroid gpgsign`
generates them. It makes no sense for them to be ever treated as a file
for distribution.
This also adds to forgotten forms of index files.
def is_repo_file(filename):
'''Whether the file in a repo is a build product to be delivered to users'''
return os.path.isfile(filename) \
+ and not filename.endswith('.asc') \
+ and not filename.endswith('.sig') \
and os.path.basename(filename) not in [
'index.jar',
+ 'index_unsigned.jar',
'index.xml',
'index.html',
'categories.txt',