mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
publish: remove last use of stats/ dir
This file can be treated like the other index files in repo/. This also has the advantage that it will automatically get synced by @CiaranG's existing sync scripts.
This commit is contained in:
parent
38378ddfb7
commit
4b9100ae80
7 changed files with 50 additions and 18 deletions
|
@ -60,8 +60,15 @@ def _get_index_file_paths(base_dir):
|
|||
services can take a while. So the index files should be updated
|
||||
last. That ensures that the package files are available when the
|
||||
client learns about them from the new index files.
|
||||
|
||||
signer-index.* are only published in the repo/ section.
|
||||
|
||||
"""
|
||||
return [os.path.join(base_dir, filename) for filename in common.INDEX_FILES]
|
||||
return [
|
||||
os.path.join(base_dir, filename)
|
||||
for filename in common.INDEX_FILES
|
||||
if not (filename.startswith('signer-index.') and base_dir.endswith('archive'))
|
||||
]
|
||||
|
||||
|
||||
def _get_index_excludes(base_dir):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue