mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
🏏 alt-store index: incorporate review feedback
This commit is contained in:
parent
f2118b35a3
commit
d00a87ed6c
4 changed files with 28 additions and 14 deletions
|
|
@ -4155,7 +4155,6 @@ def is_repo_file(filename, for_gpg_signing=False):
|
|||
if isinstance(filename, str):
|
||||
filename = filename.encode('utf-8', errors="surrogateescape")
|
||||
ignore_files = [
|
||||
b'altstore-index.json',
|
||||
b'entry.jar',
|
||||
b'index-v1.jar',
|
||||
b'index.css',
|
||||
|
|
@ -4166,7 +4165,12 @@ def is_repo_file(filename, for_gpg_signing=False):
|
|||
b'index_unsigned.jar',
|
||||
]
|
||||
if not for_gpg_signing:
|
||||
ignore_files += [b'entry.json', b'index-v1.json', b'index-v2.json']
|
||||
ignore_files += [
|
||||
b'altstore-index.json',
|
||||
b'entry.json',
|
||||
b'index-v1.json',
|
||||
b'index-v2.json',
|
||||
]
|
||||
|
||||
return (
|
||||
os.path.isfile(filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue