diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-10 18:50:12 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-10 18:50:12 +0200 |
| commit | 0187a394d5c289d556d412a11bfcda2e665601c9 (patch) | |
| tree | 5f47df16019873f9a55031905924835556fc1e3a /TODO.md | |
| parent | d69d5537e79cb53b5c91894cbccb3bbdd37c616e (diff) | |
| download | mkhintfile-0187a394d5c289d556d412a11bfcda2e665601c9.tar.gz mkhintfile-0187a394d5c289d556d412a11bfcda2e665601c9.zip | |
release: v1.4.0 — RepoVer --list columnv1.4.0
Add a RepoVer column to --list showing the newest version built in
PACKAGES_DIR (repo_version / repo_has_packages helpers). The column is
auto opt-in: shown only when at least one package is built, hidden
otherwise. It turns magenta when the built version lags the newer of
the hint/.info version, a colour kept distinct from the green
newer-source cell so the two comparisons don't blur. In a matched
(yellow) row the RepoVer cell keeps its own colour. Tests T70-T74.
Bump MKHINT_VERSION to 1.4.0 and cut the CHANGELOG section (also
covering install.sh and the expanded dependency docs shipped since
v1.3.1).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'TODO.md')
| -rw-r--r-- | TODO.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ - [ ] add a `--special` flag to add a package to the bundled list, asking for a link to it's upstream deps list file - [~] split `mkhint` into multiple files — **deferred (2026-07-08).** 1568 lines / 46 functions with clear section markers is under the threshold where a split pays off, and bash has no module system: "split" means `source lib/*.sh`, which complicates the single-binary VM deploy (`scp mkhint` → copy a dir + fixed libdir, or a concatenate build step) and means auditing shared globals (`REPO_DIR`, `VERSION`, `FORCE`, config-source order) crossing file boundaries. Revisit trigger: file grows toward ~2500+ lines, OR a change to one area starts breaking an unrelated one, OR you can't find where something lives. When that happens, extract ONLY the self-contained bundled-dep block (`# ── bundled-dep manifest handling ──` … `# ── end`, already has begin/end markers and its own T-BM tests) as a single `lib/bundle.sh` — do not do a full teardown. - [x] **(this session):** add a NoDL column to `--list` (✓ when `NODOWNLOAD=yes`), same `_pad_glyph` treatment as DelReq. Tests T68/T69. - - [ ] add a `RepoVer` column to `--list`: the latest version we actually ship for the package in `PACKAGES_DIR` (parse from the built `*.txz` name, glob `PACKAGES_DIR/*/<pkg>/<pkg>-*.txz` like `pkg_in_repo`). Color: reuse the SBo-vs-hint `sort -V` green-the-newer-cell logic, but the comparison is between the **newest of {hint, SBo}** and the repo (built) version, so you see at a glance whether what's shipped is behind the newest source-side version. No repo package → blank/plain cell (same as absent SBOVer). Needs a helper to extract the version from the txz basename (strip `<pkg>-` prefix and the `-<arch>-<build>.txz` suffix). + - [x] add a `RepoVer` column to `--list`: newest version built in `PACKAGES_DIR` (glob `PACKAGES_DIR/*/<pkg>/<pkg>-*.txz`, `repo_version` helper strips the `<pkg>-` prefix and `-<arch>-<build>.txz` suffix). Auto opt-in via `repo_has_packages` (column hidden when no packages built). Coloured **magenta** when the built version lags the newer of {hint, SBo} (its own colour, kept distinct from the green newer-source cell to avoid ambiguity), plain when level. Tests T70–T74. - [x] **v1.2.4:** suppress `prompt_continuation_urls` for manifest-listed packages (Phase 2 already corrects those lines; avoids the double-touch during the primary bump) - [x] **v1.2.5: expand nvchecker source autodetection.** `_detect_nvchecker_source` maps github/gitlab/bitbucket/gitea/codeberg/pagure (owner/repo) plus pypi/npm/gems/cratesio/cpan/hackage/packagist/cran registries in `add_nvchecker_section` (single global emitter, used by `--new` and `--check` populate). github → `use_latest_release` + commented `use_max_tag`/`prefix` fallbacks; other forges → `use_max_tag` + commented `# prefix = "v"`; registries → name from URL via `_registry_name_from_url`, fall back to PRGNAM. Unrecognised → `# TODO` stub. - [x] **v1.2.5:** `--new`/`-n` echoes the managed nvchecker stanza fenced on stdout (added or already-present, via `_extract_nvchecker_section`). |
