Update verify, and do-{update,remove} help

This commit is contained in:
taoky 2024-08-04 17:46:23 +08:00
parent f66213231f
commit f85d291811

View File

@ -71,9 +71,13 @@ If you already have a pypi repo, use `genlocal` first to generate a local db:
Verify command could be used if you believe that something is wrong. It would remove packages NOT in local db, update all local packages, and delete unreferenced files in `packages` folder:
```shell
./shadowmire.py verify
./shadowmire.py verify --sync-packages
```
Verify command accepts same arguments as sync.
Also, if you need debugging, you could use `do-update` and `do-remove` command to operate on a single package.
## Acknowledgements
This project uses some code from PyPI's official mirroring tools, [bandersnatch](https://github.com/pypa/bandersnatch).