From e94e3fe6e1d30a856913992aafb35bc7dfa2912d Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 9 Jul 2026 17:22:55 +0200 Subject: feat: --info version-compare row; fix -i completion; release v1.2.6 --info/-i now prints a version-compare row between the header and the README: SBo .info version vs the hint's, greening the higher side (< / >), yellow on equal (=), '(no hint)' when no hint carries a version, skipped when the .info has no version. Header stays pinned, version row scrolls with the README. Completion: -i now completes package names (was flag-only); package-name completion for -n/-i drops the broken -maxdepth 2 .info scan for a param-expansion sweep of REPO_DIR/*/*/ dirs, ~7s -> ~60ms. Co-Authored-By: Claude Opus 4.8 --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 26b4cbf..382f247 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,24 @@ 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/). +## [1.2.6] - 2026-07-09 + +### Added +- `--info` / `-i `: adds a version-compare row between the header and the + README, comparing the SBo `.info` VERSION against the hint's VERSION. Shows + `SBo: x < Hint: y` (or `>`) greening the higher side, `SBo: x = Hint: y` in + yellow when equal, or `SBo: x (no hint)` when no hint carries a version. + Skipped when the `.info` has no VERSION. Header stays pinned; the version row + scrolls with the README. + +### Fixed +- Bash completion: `--info`/`-i` now completes package names from the repo + (previously fell through to flag completion). Package-name completion for + `--new`/`-n` and `-i` no longer relies on a `-maxdepth 2` `.info` scan that + matched nothing on the real `category/pkg/pkg.info` layout; it enumerates the + `REPO_DIR/*/*/` package dirs with pure param-expansion (no per-dir `basename` + fork), cutting completion time from ~7s to ~60ms on a full repo. + ## [1.2.5] - 2026-07-09 ### Added -- cgit v1.2.3