feat: cross_reference --all --target

--target without --platform keeps every platform with the target, each narrowed to the cores it builds for it, as verify and generate_pack read --all --target. --all is accepted as the explicit whole-tree scope. Remaining CLI plurals go through count_text ("1 name", "+1 record").
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 10:30:59 +01:00
1 parent 7bc02025dc
commit 4d62c56730
7 files changed
+172 -46

No files matched your search

+1 -1
View File
@@ -884,7 +884,7 @@ def _version_said(value: object, basis: dict, profile: dict, mode: str = "") ->
distance = int(basis.get("distance") or 0)
if not distance:
return f"{value}, the tag at this revision"
return f"{value}, {distance} commit{'s' if distance != 1 else ''} after tag {shown(basis.get('tag'))}"
return f"{value}, {count_text(distance, 'commit')} after tag {shown(basis.get('tag'))}"
if kind == "package":
return f"{value}, read from {basis.get('artifact')}"
if kind == "unverified":