Commit Graph
10 Commits
Author SHA1 Message Date
Abdessamad Derraz 1f9633c7e5 fix: check core_version in its basis repository
version_basis reads core_version in the repository its repo or url names
(PCSX2 for pcee2, yaps2, triforce, hatari2014), while --check-version and
the triage read the tags of the port the profile was read from, which
carries none. version_repo() decides it once for the three readers, and
the tag ancestry uses the pin of that repository. A newer release of a
held upstream (upstream_frozen) is not reported, as one past a held pin
is not.
2026-11-21 21:42:19 +01:00
Abdessamad Derraz f462ec5fa0 fix: read each cited path in its own repository
The resolver settles which declared repository holds each cited path,
but detection, the extras and the triage read every path in the source
repository at the primary revisions, and missed what a profile cites in
its upstream (geolith jg.c). The report now carries the repository and
revisions each path was settled in, and the bump guard asks whether any
repository the bump moves gained a file or a hash, not only the port.
2026-11-21 21:42:19 +01:00
Abdessamad Derraz 91e385598e fix: say why a version page or check went unread 2026-11-21 19:50:33 +01:00
Abdessamad Derraz 57ee0cdd8f refactor: pass detection and version flags in full 2026-11-21 16:43:46 +01:00
Abdessamad Derraz 714683d63c fix: record every profile a pass writes 2026-11-21 16:43:46 +01:00
Abdessamad Derraz beefb32cc8 fix: let bump_commit return its refusal reason 2026-11-21 16:43:46 +01:00
Abdessamad Derraz 75a69a4a42 refactor: move profile_sync logic into profiling 2026-11-21 14:59:03 +01:00
Abdessamad Derraz 3853ca2f1c refactor: public names for cross-module reads 2026-11-18 22:59:51 +01:00
Abdessamad Derraz 2b3551dd22 fix: keep a write pass going on a cold cache
--rebase-refs or --bump-commit with --offline read the prose of a
profile whose cited files were never cached, and the NotCachedError
ended the whole pass on a traceback. The profile is named, counted
as failed and left as it was, and the pass goes on.
2026-11-18 12:50:24 +01:00
Abdessamad Derraz 735f86283b refactor: split profile_sync into profiling
profile_sync.py keeps the command line: the parser, the flag checks,
profile selection against the branch, main, and the two steps that
read top-level modules (project_base, the site's source paths). The
library goes to one module per concern under scripts/profiling.

Tests that patched a name now patch the module their caller reads
it from. test_layers declares profiling with no sibling imports.
2026-11-18 12:49:20 +01:00