Abdessamad Derraz
352094379b
refactor: keep value semantics of copy records
2026-11-17 10:08:46 +01:00
Abdessamad Derraz
455babfe0f
refactor: split plan_games and the pack helpers
...
plan_games, _plan_game_folder, _swap_in and _write_verified read by stage, _fill_pack takes its pack as one tuple, check_lines its folder reads as CheckHeld. LocalCopy, PackPart and Unreadable become plain classes: their index and count fields shadowed the tuple methods. Openers of ZIP members are typed IO[bytes].
2026-11-17 10:08:00 +01:00
Abdessamad Derraz
c0594b3b11
refactor: split standalone copies and line menu
...
Stage helpers for the standalone folder install and copies, the line
menu's Enter line, keys and answers, the games document reads and the
game reader; type the menu choice, the card rows and the byte order.
2026-11-17 10:08:00 +01:00
Abdessamad Derraz
1c37f1eb02
refactor: split the wanted list build by stage
2026-11-17 10:01:23 +01:00
Abdessamad Derraz
e14a7d79bb
chore: merge the verify and truth quality work
2026-11-17 09:48:56 +01:00
Abdessamad Derraz
190b3ae5df
refactor: split standalone copies and line menu
...
Stage helpers for the standalone folder install and copies, the line
menu's Enter line, keys and answers, the games document reads and the
game reader; type the menu choice, the card rows and the byte order.
2026-11-17 09:48:38 +01:00
Abdessamad Derraz
81a94fc267
refactor: make writable an instance method
2026-11-17 09:48:13 +01:00
Abdessamad Derraz
bc50106587
refactor: take narrowing options as typed keywords
2026-11-17 09:48:13 +01:00
Abdessamad Derraz
04b3f4ebb2
fix: key the coverage cache on offline and assets
...
The coverage of a platform depends on what a release asset resolves
to: whether the run may download it and what .cache/large holds. A
test run (offline, its own cache) stored a result that the next normal
generate_site read back: Lakka at 534/535 instead of 535/535.
2026-11-17 09:38:21 +01:00
Abdessamad Derraz
ec3a6ab8af
refactor: render pages from a PageMeta in tests
2026-11-17 09:34:59 +01:00
Abdessamad Derraz
c7d89627fb
chore: merge the site generator quality work
2026-11-17 09:33:57 +01:00
Abdessamad Derraz
14d1cd2c87
refactor: split generate_site pages by stage
2026-11-17 09:33:10 +01:00
Abdessamad Derraz
f2b7118fe3
chore: type and tidy the remaining site scripts
2026-11-17 09:33:10 +01:00
Abdessamad Derraz
a6985449b3
chore: type generate_installer_doc helpers
2026-11-17 09:33:10 +01:00
Abdessamad Derraz
c82bb54051
chore: type the install.py loaders
2026-11-17 09:33:10 +01:00
Abdessamad Derraz
d096a31143
refactor: split sitecollection and siteguides
2026-11-17 09:33:03 +01:00
Abdessamad Derraz
3bb48a771b
refactor: split sitestarlight page and sidebar
2026-11-17 09:33:03 +01:00
Abdessamad Derraz
0a100c24d2
refactor: split siterender board election
2026-11-17 09:33:03 +01:00
Abdessamad Derraz
a1148f4334
refactor: split validate_site page checks
2026-11-17 09:33:03 +01:00
Abdessamad Derraz
1557567194
refactor: split site_markdown tag handlers
2026-11-17 09:33:03 +01:00
Abdessamad Derraz
ccfcd41f21
refactor: split plan_games and the pack helpers
...
plan_games, _plan_game_folder, _swap_in and _write_verified read by stage, _fill_pack takes its pack as one tuple, check_lines its folder reads as CheckHeld. LocalCopy, PackPart and Unreadable become plain classes: their index and count fields shadowed the tuple methods. Openers of ZIP members are typed IO[bytes].
2026-11-17 09:32:04 +01:00
Abdessamad Derraz
def15d2a50
chore: merge main into the lint work
2026-11-17 09:22:35 +01:00
Abdessamad Derraz
883af054de
refactor: keep the public signatures callers use
2026-11-17 09:21:11 +01:00
Abdessamad Derraz
5929d6f873
chore: merge the shared module quality work
2026-11-17 09:20:11 +01:00
Abdessamad Derraz
1f54bc228a
refactor: type declared_hash_verdict as a dict
...
The seven declaration keywords are a total TypedDict, unpacked from the
keyword arguments: every call site keeps its shape and mypy checks each
key.
2026-11-17 09:19:32 +01:00
Abdessamad Derraz
0809dfd6bf
chore: merge the pack builder quality work
2026-11-17 09:16:46 +01:00
Abdessamad Derraz
c13dfb5df5
refactor: quote the pack type aliases
...
The aliases under TYPE_CHECKING hold no union a 3.9 parser would
evaluate, and two docstrings drop their clause semicolons.
2026-11-17 09:15:44 +01:00
Abdessamad Derraz
0e763fd013
chore: merge main into the lint work
2026-11-17 09:05:08 +01:00
Abdessamad Derraz
a135ae2167
refactor: split the tui rows, keys and taps
...
TuiState.__init__, tui_blocker, tui_rows, _activate, _option, _tui_key and tui_mouse split by screen and stage; TuiRow values narrowed where the action fixes their type.
2026-11-17 09:03:41 +01:00
Abdessamad Derraz
acdef6c3c6
refactor: keep the nt test of the partial lock
2026-11-17 09:03:02 +01:00
Abdessamad Derraz
87ba76c94e
refactor: keep declared_hash_verdict keywords
...
typing_extensions is not a dependency the scripts may import, even for
the type checker. The declaration stays ten keywords, typed as
collections.
2026-11-17 09:02:33 +01:00
Abdessamad Derraz
d7783cfbe4
chore: merge the test suite lint work
2026-11-17 08:54:30 +01:00
Abdessamad Derraz
c0c738fda6
refactor: split fetch_manifest, tighten types
2026-11-17 08:33:18 +01:00
Abdessamad Derraz
4b8b0cacb0
refactor: split _validate_manifest by section
2026-11-17 08:33:13 +01:00
Abdessamad Derraz
7ca4d1b2b6
refactor: split detect_platforms by frontend
2026-11-17 08:33:09 +01:00
Abdessamad Derraz
c92c14ef44
chore: merge the tooling scripts quality work
2026-11-17 08:26:04 +01:00
Abdessamad Derraz
1acfd8b812
feat: let type-checking imports pass the deps test
2026-11-17 08:25:40 +01:00
Abdessamad Derraz
fe243ce8a8
chore: lint and type the remaining tools
2026-11-17 08:25:26 +01:00
Abdessamad Derraz
54521380dc
refactor: split long functions of the tools
2026-11-17 08:25:26 +01:00
Abdessamad Derraz
ddcdd14cca
refactor: split build_setups by folder
2026-11-17 08:25:26 +01:00
Abdessamad Derraz
ecc30d396f
refactor: split core_probe argument checks
2026-11-17 08:25:26 +01:00
Abdessamad Derraz
3764e77e92
refactor: type documents validate_schemas reads
2026-11-17 08:25:26 +01:00
Abdessamad Derraz
89e186c18b
refactor: split validate_file by stage
2026-11-17 08:25:19 +01:00
Abdessamad Derraz
fa5c02fb66
refactor: split campaign checks by stage
2026-11-17 08:25:19 +01:00
Abdessamad Derraz
f2fd49a9c9
refactor: share now_iso and the pack size label
2026-11-17 08:25:10 +01:00
Abdessamad Derraz
f36a95bdcc
docs: keep shell reader docstrings in house style
2026-11-17 08:10:24 +01:00
Abdessamad Derraz
2a92089d92
refactor: split packextras by stage
2026-11-17 08:02:39 +01:00
Abdessamad Derraz
de2cd60583
refactor: split the pack readme by section
2026-11-17 08:02:39 +01:00
Abdessamad Derraz
add67da611
refactor: keep the anchors the source tests read
...
The conflict branch calls baseline_verdict before the storage test,
_run_verify_packs unpacks the verdict itself, and the tree walks spell
required_only and seen_parents as test_audit_regressions reads them.
2026-11-17 07:57:59 +01:00
Abdessamad Derraz
fe25a7caa0
refactor: tidy packpaths and torrentzip returns
2026-11-17 07:56:09 +01:00