summaryrefslogtreecommitdiffstats
path: root/mkhint.bash-completion
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-04 08:51:37 +0200
committerDanilo M. <danix@danix.xyz>2026-07-04 08:51:37 +0200
commit64f419d7485cefee854c04c5b49e8adfc5e80531 (patch)
treeb55729a7164f33595ec856faef561e9ce4a8c3f5 /mkhint.bash-completion
parent84039594800902c30f3dfed8092b01f1a8620d68 (diff)
downloadmkhintfile-64f419d7485cefee854c04c5b49e8adfc5e80531.tar.gz
mkhintfile-64f419d7485cefee854c04c5b49e8adfc5e80531.zip
Add phantom-dep stripping for slackware-current
SBo SlackBuilds target stable; some build deps (rust-opt, google-go-lang) are unneeded on -current. Auto-add DELREQUIRES for these instead of writing a hintfile per dependent by hand. - Read the phantom-dep list from ~/.config/mkhint/phantom-deps (one per line, # comments; missing file = no-op). - --fix-current / -F: sweep the repo, ensure every package whose REQUIRES contains a phantom dep carries the matching DELREQUIRES. Create a minimal hint if absent, back up and merge into an existing hint otherwise. Idempotent, no prompts, mutually exclusive with -v/-f/-n. - --new: auto-append DELREQUIRES for phantom deps found in the .info. - Tests T50-T56; docs and bash-completion updated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'mkhint.bash-completion')
-rw-r--r--mkhint.bash-completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkhint.bash-completion b/mkhint.bash-completion
index 896e9a9..6d05ea3 100644
--- a/mkhint.bash-completion
+++ b/mkhint.bash-completion
@@ -8,7 +8,7 @@ _mkhintfile_completions() {
repo_dir="/var/lib/sbopkg/SBo-danix"
hint_dir="/etc/slackrepo/SBo-danix/hintfiles"
- local all_flags="--version -v --hintfile -f --new -n --list -l --review -R --clean -c --check -C --delete -d --no-dl -N --help -h"
+ local all_flags="--version -v --hintfile -f --new -n --list -l --review -R --clean -c --check -C --fix-current -F --delete -d --no-dl -N --help -h"
# -R/--review takes any number of hint names; complete them repeatedly.
local w in_review=""