Open cooperlees opened 2 years ago
@cooperlees Hi :)
Does bandersnatch have a config option to pull down the files to be statically served Should this be left to the mirror service to pull the files out of the downloaded binaries and cached?
I could see a config named metadata
similar to the release-files
and json
and essentially have the same behaviour as json
.
An alternative is to deprecate the json
config and have a new json-and-metadata
config that would pull both or none and could have this documentation:
The mirror json-and-metadata setting is a boolean (true/false) setting that indicates that the json packaging metadata and the core metadata (pep-0658) should be mirrored in addition to the packages.
PEP 658 specifies serving core package metadata from an index. Lets look at best ways to potentially mirror this if there is a sane way.
For more info: https://peps.python.org/pep-0658/
Ideas
Other ideas?