26 Commits

Author SHA1 Message Date
taoky
f85d291811 Update verify, and do-{update,remove} help 2024-08-04 17:46:23 +08:00
taoky
f66213231f Add help about prerelease filtering 2024-08-04 17:35:26 +08:00
taoky
649d14c4fd Remove invalid local ones when planning 2024-08-04 17:14:49 +08:00
taoky
9008d2cbce Fix invalid package skipping 2024-08-04 17:09:58 +08:00
taoky
0f97cb7dbd Put serial -1 handling at LocalVersionKV 2024-08-04 16:51:23 +08:00
taoky
d92d2079bd Mark not-found packages serial as -1
To speed up index updating.
2024-08-04 16:46:03 +08:00
taoky
7d4aef2f8a Add do_update/do_remove command 2024-08-04 16:35:43 +08:00
taoky
5dc892c0b3 Add prerelease exclusion 2024-08-04 16:20:08 +08:00
taoky
c695419700 Use click to replace argparse
Make it simpler and easier to maintain command line arguments.
2024-08-04 16:01:13 +08:00
taoky
8d2460cf73 Add shebang 2024-08-03 02:46:13 +08:00
taoky
5e61f833e6 Add important notice about sync-packages behavior 2024-08-03 02:39:43 +08:00
taoky
ada070d10e Add retry for requests.Session 2024-08-03 02:35:42 +08:00
taoky
9ecdfee147 Add some docs 2024-08-02 22:36:38 +08:00
taoky
af49fb183f Add exclude func (for testing), and fix unreferenced files cleanup 2024-08-02 21:40:24 +08:00
taoky
103252ad14 Remove unreferenced files in verify subcommand 2024-08-02 20:47:01 +08:00
taoky
ead0f42e2e Add worker number warning 2024-08-02 20:28:21 +08:00
taoky
1281e6950d Dump local JSON when finalizing 2024-08-02 20:21:27 +08:00
taoky
52ceabcdd4 SyncPlainHTTP Packages downloading support 2024-08-02 20:20:25 +08:00
taoky
a4574ecaeb PyPI Packages downloading support 2024-08-02 19:57:08 +08:00
taoky
3fd37601d6 Split dev deps to requirements-dev.txt 2024-08-02 17:01:00 +08:00
taoky
ad57590bf0 Add threading for updating packages 2024-08-02 16:56:23 +08:00
taoky
889ed86497 Adjust verify behavior 2024-08-02 16:14:10 +08:00
taoky
b0187e947f Formatting and linting 2024-08-02 16:01:59 +08:00
taoky
18a3ebbe03 Add local db 2024-08-02 15:48:55 +08:00
taoky
577d021d70 Metadata sync PoC 2024-08-02 06:35:00 +08:00
taoky
557f1966f9 init 2024-07-28 05:35:04 +08:00