Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (21 loc) · 976 Bytes

TODO.md

File metadata and controls

36 lines (21 loc) · 976 Bytes

TODO

Save whitelist into the database

Feature implemented by scanning the existing files before creating the content of index.html. It should be sufficient.

Manually added releases will be lost during the next mirroring if not asked again.

Example:

  $ ./pypim.py -a pyxb==1.2.3

downloads PyXB version 1.2.3 (an old version) and the 3 most recent versions.

  $ ./pypim.py -a pyxb

downloads the 3 most recent versions. The old one, although present in the mirror, will not be referenced in index.html.

Look for previously downloaded releases

See previous topic. The inconvenient is that mirror will always grow.

When a release becomes too old, it won't be listed in index.html. And not deleted from disk.

Look for orphan files

Command-line option --remove-orphans.

If a previously downloaded file is removed from a release, it will remain in the mirror.

Write tests 🤪

Finish the documentation... 😇