| Age | Commit message (Collapse) | Author | Files | Lines |
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
nvchecker resolves a relative oldver/newver/keyfile path against the config
file's directory, not the CWD. _nvchecker_newver_path returned the raw
relative string (e.g. "new_ver.json"), so nvchecker_latest's [[ -f ]] check
ran against whatever CWD 'mkhint -C' was launched from — almost never the
config dir. Result: every package reported 'no nvchecker result' and the run
said 'all up to date' despite nvchecker having found updates.
Resolve non-absolute keyfile paths against dirname(NVCHECKER_CONFIG). T35
covers a relative newver path with the keyfile beside the config.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Section names with '.', '-', etc. must be TOML-quoted (e.g. ["yt-dlp"]),
otherwise nvchecker fails to parse them. add_nvchecker_section wrote bare
[pkg] headers, so such names had to be hand-quoted. Worse, _has_nvchecker_section
only matched the bare form, so already-present quoted sections were reported as
missing and re-flagged for populate on every 'mkhint -C' run.
Add _nvchecker_label helper as the single source of truth for the written
label (bare iff name matches ^[A-Za-z0-9_]+$, else double-quoted), used by
both the write side (3 section headers + messages) and the read side
(_has_nvchecker_section grep, with regex metachars escaped so '.' is literal).
Tests T32-T34 cover quoted-header write, no-duplicate on re---new, and
--check recognizing an existing quoted section.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Saves the round-trip of manually invoking slackrepo after
every hint version bump.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- Add parse_multiline_var, prompt_continuation_urls, build_multiline_value,
_process_download_var; refactor update_checksums to handle multi-URL vars
- First URL always re-downloaded; continuation URLs prompt user, skip
re-download if unchanged
- Add tests/mkhint_test.sh: 44 cases covering all commands and edge cases
- Update README and CLAUDE.md: correct -N semantics, --new behavior,
multiline DOWNLOAD flow, test suite docs
|
|
--new with -v now sets version and recalculates md5sums via shared
update_checksums function. Previously -n ignored VERSION entirely.
|
|
-N should add NODOWNLOAD=yes but still recalculate md5sums.
Previously it skipped the download block entirely.
|
|
Enables compound short flags (e.g. -Nn, -Nd). Also add short flags
to bash completion candidates.
|
|
Adds --no-dl/-N flag for use with --hintfile or --new. Skips wget,
inserts NODOWNLOAD=yes after MD5SUM_x86_64 in the hint file. Also
fixes README (correct paths, old command name, missing --delete/--clean
sections) and updates CLAUDE.md and bash completion accordingly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- Rename script and completion file to mkhint/mkhint.bash-completion
- Add --delete/-d flag to remove one or more hint files (and .bak if present)
- Fix bash completion: correct hint_dir path, use find for nested .info files,
add --delete completion, add flag name completion
- Update all references in CLAUDE.md, README.md, and source files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|