diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-07 18:18:17 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-07 18:18:17 +0200 |
| commit | 752269df5515a137a50d05b8df2d11fb287004bd (patch) | |
| tree | 4f78ab67f3e48c51b22fd0f9fba0a22b95f8550a | |
| parent | fdc632492e7aac948c2ebefd75cd27bb181db80a (diff) | |
| download | mkhintfile-752269df5515a137a50d05b8df2d11fb287004bd.tar.gz mkhintfile-752269df5515a137a50d05b8df2d11fb287004bd.zip | |
feat: add BUNDLE_MANIFEST_FILE config var
Opt-in per-package manifest for bundled-dep reconciliation. No behavior
yet; wires the config default and the test-harness path patch.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| -rwxr-xr-x | mkhint | 6 | ||||
| -rwxr-xr-x | tests/mkhint_test.sh | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -26,6 +26,12 @@ NVCHECKER_CONFIG="$HOME/.config/nvchecker/nvchecker.toml" # Missing file = empty list = phantom-dep handling is a no-op. PHANTOM_DEPS_FILE="$HOME/.config/mkhint/phantom-deps" +# Packages whose extra DOWNLOAD lines are driven by an upstream deps manifest +# (e.g. neovim's cmake.deps/deps.txt). One entry per line: +# <pkgname> <deps-url-template-with-{VERSION}> +# Missing file = empty list = feature is a no-op. +BUNDLE_MANIFEST_FILE="$HOME/.config/mkhint/bundle-manifests" + # Built-package repository (slackrepo output tree: <cat>/<pkg>/<pkg>-*.txz). PACKAGES_DIR="/repo/" diff --git a/tests/mkhint_test.sh b/tests/mkhint_test.sh index 18f0e43..837289a 100755 --- a/tests/mkhint_test.sh +++ b/tests/mkhint_test.sh @@ -199,6 +199,7 @@ run_mkhint() { -e "s|TMP_DIR=\".*\"|TMP_DIR=\"$MOCK_TMP\"|" \ -e "s|NVCHECKER_CONFIG=\".*\"|NVCHECKER_CONFIG=\"$MOCK_BASE/nvchecker.toml\"|" \ -e "s|PHANTOM_DEPS_FILE=\".*\"|PHANTOM_DEPS_FILE=\"$MOCK_BASE/phantom-deps\"|" \ + -e "s|BUNDLE_MANIFEST_FILE=\".*\"|BUNDLE_MANIFEST_FILE=\"$MOCK_BASE/bundle-manifests\"|" \ -e "s|PACKAGES_DIR=\".*\"|PACKAGES_DIR=\"$MOCK_PKGS\"|" \ -e "s|MKHINT_CONFIG=\".*\"|MKHINT_CONFIG=\"$MOCK_BASE/config\"|" \ "$SCRIPT" > "$tmp_script" |
