From 41c7bf5f14dab7f763c4c5498c0bfec8312a2ac8 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 10 Jul 2026 11:52:00 +0200 Subject: fix: defer nvtake to slackrepo confirm nvchecker's oldver is now synced (nvtake) only when the slackrepo prompt is confirmed, per package, just before slackrepo runs. Moved out of the hint-rewrite step in --check and the version-accept step in --hintfile (both now route through run_slackrepo). Confirming slackrepo acknowledges the versions; a stopped/failed slackrepo can be rerun without nvchecker re-reporting already-committed versions. Fixes the stuck state where interrupting a run between hint-rewrite and slackrepo left oldver behind the hint, so nvchecker logged a phantom 'updated' line every subsequent --check. Tests T20/T23 answer Y to slackrepo so nvtake fires. Dead check_nvchecker_take flag removed. Co-Authored-By: Claude Opus 4.8 --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index eb416bd..6b9add7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,19 @@ 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/). +## [Unreleased] + +### Changed +- `nvtake` timing: nvchecker's `oldver` is now synced (via `nvtake`) only when + you confirm the slackrepo prompt, per package, just before slackrepo runs — + moved out of the hint-rewrite step in `--check` and out of the version-accept + step in `--hintfile`. Confirming slackrepo acknowledges the versions; if + slackrepo is then stopped or fails, rerun it without nvchecker re-reporting + already-committed versions. Declining slackrepo leaves the hint bumped but the + update re-reported next run. Fixes the stuck state where interrupting a run + between hint-rewrite and slackrepo left `oldver` behind the hint, so nvchecker + logged a phantom "updated" line every subsequent `--check`. + ## [1.3.0] - 2026-07-10 ### Added -- cgit v1.2.3