aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-20 11:22:48 +0200
committerDanilo M. <danix@danix.xyz>2026-10-20 11:22:48 +0200
commitd548e6c7f9d6cdc84f0f019c27b3abeb7419e042 (patch)
tree37859659a413746a2edf777cc856605f2ca87f96 /docs/superpowers
parentcc8ea76af30a9e285d3784d5de51f6d1a85afbd5 (diff)
downloadsb-builder-d548e6c7f9d6cdc84f0f019c27b3abeb7419e042.tar.gz
sb-builder-d548e6c7f9d6cdc84f0f019c27b3abeb7419e042.zip
Upstream versions with '-' as '_', as mkhint stored them
'-' is illegal in a SlackBuild version, so dated tags like exploitdb's 2026-10-14 are packaged 2026_10_14 and showed as outdated forever. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/superpowers')
-rw-r--r--docs/superpowers/specs/2026-10-20-sb-builder-phase4-design.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/superpowers/specs/2026-10-20-sb-builder-phase4-design.md b/docs/superpowers/specs/2026-10-20-sb-builder-phase4-design.md
index c45c720..775b0c4 100644
--- a/docs/superpowers/specs/2026-10-20-sb-builder-phase4-design.md
+++ b/docs/superpowers/specs/2026-10-20-sb-builder-phase4-design.md
@@ -97,6 +97,9 @@ editing, migration of `NODOWNLOAD=yes` lines (none exist).
- Result: `{pkg: version}` and `{pkg: error}` from the JSON log. A package
without a result, or a failed run (exit status, stderr), shows as
`nvchecker error` with the reason in the tooltip.
+- Upstream versions are stored with `-` as `_` (mkhint's `_normalize_version`):
+ `-` is illegal in a SlackBuild version, so upstream `2026-10-14` is
+ packaged `2026_10_14`. The comparison and `hint-update` use that form.
- A package is outdated when its upstream version differs from the hint
`VERSION`, or from the `.info` `VERSION` when the hint has none. Versions
are compared as strings; no ordering is attempted.