diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-03 13:15:49 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-03 13:15:49 +0200 |
| commit | 21aabc67cb9e8e76c6fab6727690a3a9c02a98da (patch) | |
| tree | 8f80dd92386be5055a12b9cd68dbba5c71d1ad92 /docs/superpowers | |
| parent | 5fdb01eaaa88146e31a611423b269678074085f3 (diff) | |
| download | mkhintfile-21aabc67cb9e8e76c6fab6727690a3a9c02a98da.tar.gz mkhintfile-21aabc67cb9e8e76c6fab6727690a3a9c02a98da.zip | |
feat: treat dashed upstream version as equivalent to packaged underscore form
SlackBuild versions cannot contain '-' (it breaks PRGNAM parsing), so an
upstream date like 2026-06-02 is packaged as 2026_06_02. mkhint was
comparing them byte-for-byte and offering a spurious upgrade/downgrade.
Add _normalize_version ('-' -> '_') and apply it to the upstream version
in --check and --hintfile (no -v) before comparing and before storing, so
equivalent versions compare equal and accepted updates are written in the
underscore form. nvtake still uses nvchecker's raw keyfile value.
Tests T48/T49 cover equivalence and normalized storage (105 passing).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'docs/superpowers')
0 files changed, 0 insertions, 0 deletions
