From d548e6c7f9d6cdc84f0f019c27b3abeb7419e042 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 20 Oct 2026 11:22:48 +0200 Subject: 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 --- docs/superpowers/specs/2026-10-20-sb-builder-phase4-design.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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. -- cgit v1.2.3