Repository navigation
Commit 768abc4
authored
### Description
QoL improvement to make `--only`/`--skip` more useful.
Running `populate_tox.py` with `--only` (or `--skip`) wiped most of the
jsonl caches.
At the end of each run, both `releases.jsonl` and
`package_dependencies.jsonl` are rewritten to contain only entries that
were accessed during the run. Skipped integrations are read from the
existing `tox.ini` and never touch their `releases.jsonl` entries or
their free-threading dependency entries, so all of those got pruned.
Now unused entries are only pruned on full runs. Partial runs still sort
the files and add newly fetched entries, but don't drop anything. Stale
entries for the updated packages stick around until the next full run.
1 parent 843958d commit 768abc4
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1330 | 1330 | | |
1331 | 1331 | | |
1332 | 1332 | | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
1333 | 1338 | | |
1334 | 1339 | | |
1335 | 1340 | | |
| |||
1338 | 1343 | | |
1339 | 1344 | | |
1340 | 1345 | | |
1341 | | - | |
| 1346 | + | |
| 1347 | + | |
1342 | 1348 | | |
1343 | 1349 | | |
1344 | 1350 | | |
| |||
1353 | 1359 | | |
1354 | 1360 | | |
1355 | 1361 | | |
1356 | | - | |
| 1362 | + | |
| 1363 | + | |
1357 | 1364 | | |
1358 | 1365 | | |
1359 | 1366 | | |
| |||
0 commit comments