From 38955ce02ad3897f6304c4bdc58977f32b89f5f5 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 7 Jul 2026 19:19:47 +0200 Subject: fix: primary manifest entry no longer flagged as missing in reconcile FYI The bundled-dep FYI iterated all manifest URLs but only extra (index>=1) hint URLs were tracked as matched, so the manifest's primary entry was always reported as 'not in hint'. Seed the primary's manifest match (without reconciling index 0) so the FYI is accurate. Co-Authored-By: Claude Opus 4.8 --- mkhint | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mkhint') diff --git a/mkhint b/mkhint index 48a11af..c0ae79a 100755 --- a/mkhint +++ b/mkhint @@ -572,6 +572,12 @@ reconcile_bundle_deps() { local -a new_urls=("${urls[@]}") local -a changed_idx=() changed_from=() changed_to=() local i m + + # The primary hint URL (index 0) is never reconciled, but its manifest + # counterpart must count as "matched" so the FYI doesn't always flag it. + local _pm; _pm=$(match_dep_url "${urls[0]}" "$mlist") || _pm="" + [[ -n "$_pm" ]] && matched_manifest["$_pm"]=1 + for (( i=1; i<${#urls[@]}; i++ )); do m=$(match_dep_url "${urls[$i]}" "$mlist") || m="" if [[ -z "$m" ]]; then -- cgit v1.2.3