mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
index-v2.jar is not a valid file, remove references
entry.jar is the signed file, it references index-v2.json.
This commit is contained in:
parent
002d9cf333
commit
01f7dfd0b3
@ -3985,7 +3985,6 @@ def is_repo_file(filename, for_gpg_signing=False):
|
|||||||
b'categories.txt',
|
b'categories.txt',
|
||||||
b'entry.jar',
|
b'entry.jar',
|
||||||
b'index-v1.jar',
|
b'index-v1.jar',
|
||||||
b'index-v2.jar',
|
|
||||||
b'index.css',
|
b'index.css',
|
||||||
b'index.html',
|
b'index.html',
|
||||||
b'index.jar',
|
b'index.jar',
|
||||||
|
@ -62,7 +62,6 @@ def _get_index_excludes(repo_section):
|
|||||||
os.path.join(repo_section, 'index-v1.jar'),
|
os.path.join(repo_section, 'index-v1.jar'),
|
||||||
os.path.join(repo_section, 'index-v1.json'),
|
os.path.join(repo_section, 'index-v1.json'),
|
||||||
os.path.join(repo_section, 'index-v1.json.asc'),
|
os.path.join(repo_section, 'index-v1.json.asc'),
|
||||||
os.path.join(repo_section, 'index-v2.jar'),
|
|
||||||
os.path.join(repo_section, 'index-v2.json'),
|
os.path.join(repo_section, 'index-v2.json'),
|
||||||
os.path.join(repo_section, 'index-v2.json.asc'),
|
os.path.join(repo_section, 'index-v2.json.asc'),
|
||||||
os.path.join(repo_section, 'index.jar'),
|
os.path.join(repo_section, 'index.jar'),
|
||||||
|
@ -2470,7 +2470,6 @@ class CommonTest(unittest.TestCase):
|
|||||||
'repo/entry.json',
|
'repo/entry.json',
|
||||||
'repo/index-v1.jar',
|
'repo/index-v1.jar',
|
||||||
'repo/index-v1.json',
|
'repo/index-v1.json',
|
||||||
'repo/index-v2.jar',
|
|
||||||
'repo/index-v2.json',
|
'repo/index-v2.json',
|
||||||
'repo/index.css',
|
'repo/index.css',
|
||||||
'repo/index.html',
|
'repo/index.html',
|
||||||
|
@ -69,8 +69,6 @@ class DeployTest(unittest.TestCase):
|
|||||||
'--exclude',
|
'--exclude',
|
||||||
'repo/index-v1.json.asc',
|
'repo/index-v1.json.asc',
|
||||||
'--exclude',
|
'--exclude',
|
||||||
'repo/index-v2.jar',
|
|
||||||
'--exclude',
|
|
||||||
'repo/index-v2.json',
|
'repo/index-v2.json',
|
||||||
'--exclude',
|
'--exclude',
|
||||||
'repo/index-v2.json.asc',
|
'repo/index-v2.json.asc',
|
||||||
@ -166,8 +164,6 @@ class DeployTest(unittest.TestCase):
|
|||||||
'--exclude',
|
'--exclude',
|
||||||
'archive/index-v1.json.asc',
|
'archive/index-v1.json.asc',
|
||||||
'--exclude',
|
'--exclude',
|
||||||
'archive/index-v2.jar',
|
|
||||||
'--exclude',
|
|
||||||
'archive/index-v2.json',
|
'archive/index-v2.json',
|
||||||
'--exclude',
|
'--exclude',
|
||||||
'archive/index-v2.json.asc',
|
'archive/index-v2.json.asc',
|
||||||
|
Loading…
Reference in New Issue
Block a user