diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-25 11:56:21 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-25 11:56:21 +0200 |
| commit | 20d3c8e798085493f6f08a41f3793e29c56e5b54 (patch) | |
| tree | 6ecf20fa3514716feee763c5b0ca6f8412e789f2 /CHANGELOG.md | |
| parent | 9262725eca4ef63be9c7086fad1c59d27026caab (diff) | |
| download | mkhintfile-20d3c8e798085493f6f08a41f3793e29c56e5b54.tar.gz mkhintfile-20d3c8e798085493f6f08a41f3793e29c56e5b54.zip | |
feat: add --strip-version/-S and --versions
-S removes VERSION, DOWNLOAD and MD5SUM (plus arch-suffixed variants)
from hint files so slackrepo falls back to the repository's current
version, keeping every other modification. --check now skips hints
with no VERSION line instead of hitting the empty-pattern sed path.
--versions compares the SBo .info, newest built package, hint and
nvchecker upstream versions for one or more packages, coloured like
--list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a17d47..5f7f803 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,29 @@ All notable changes to this project are documented here. The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/). +## [Unreleased] + +### Added +- `--strip-version`/`-S`: remove the version pin *and* the version-dependent + download/checksum variables (`VERSION`, `DOWNLOAD`, `MD5SUM`, and their + `_x86_64` variants) from hint files so slackrepo falls back to the + repository's current version and download data, keeping every other + modification (`DELREQUIRES`, `NODOWNLOAD`, `ARCH`, bundled deps). Multiline + (backslash-continued) values are removed whole. No args = all hints; one or + more names = just those. Backs up a modified hint to `.bak`; a hint with none + of those variables is left untouched. Edits the hint only (no `.info` + cross-check). +- `--check`/`-C` now skips hints with no `VERSION` line instead of offering an + update, so stripped or `DELREQUIRES`-only hints don't trip the empty-version + replacement path. +- `--versions`: show and compare every known version for one or more packages — + the SBo `.info` `VERSION`, the newest built `*.txz` in `PACKAGES_DIR`, the + hint's `VERSION`, and (when an nvchecker `[pkg]` section exists) the latest + upstream version. Absent sources are omitted but the rest are still compared; + colours match `--list` (green = newest, magenta = built behind, yellow = all + match). With no nvchecker section the upstream check is skipped and a hint to + run `mkhint -C`/`-n <pkg>` is printed. + ## [1.4.0] - 2026-07-10 ### Added |
