aboutsummaryrefslogtreecommitdiffstats
path: root/mkhint
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-07 18:56:39 +0200
committerDanilo M. <danix@danix.xyz>2026-07-07 18:56:39 +0200
commita6bbb96d31fb1df707ba3eea182e68b2f1c35552 (patch)
treeb12e2f5eb9e9bd5885260cfe130a1ad1f53c205a /mkhint
parent4dfd3d7bc3ffe48f9483b4c5667d1f0bbc0f1325 (diff)
downloadmkhintfile-a6bbb96d31fb1df707ba3eea182e68b2f1c35552.tar.gz
mkhintfile-a6bbb96d31fb1df707ba3eea182e68b2f1c35552.zip
feat: --new prints a manifest reconcile report for listed packages
Report-only at creation time; the .info version is kept, upstream disagreement is flagged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'mkhint')
-rwxr-xr-xmkhint12
1 files changed, 12 insertions, 0 deletions
diff --git a/mkhint b/mkhint
index d064a64..e8cbb00 100755
--- a/mkhint
+++ b/mkhint
@@ -686,6 +686,18 @@ create_new_hint_file() {
echo "generated $normalized_file from $(basename $info)."
echo "Check variables before using."
+
+ load_bundle_manifests
+ local _bm_pkg="${normalized_file%.hint}"
+ _bm_pkg="${_bm_pkg##*/}"
+ if pkg_has_manifest "$_bm_pkg"; then
+ local _bm_ver; _bm_ver=$(grep '^VERSION=' "$normalized_file" | sed 's/VERSION="//;s/"$//')
+ local _bm_url; _bm_url=$(manifest_url_for "$_bm_pkg" "$_bm_ver")
+ echo ""
+ echo "$_bm_pkg: bundled-dep manifest check"
+ reconcile_bundle_deps "$_bm_pkg" "$normalized_file" "$_bm_url" report || true
+ fi
+
add_nvchecker_section "${normalized_file%.hint}" "$info"
fi
else