Skip to content

fix(cli): update rows give each file's line, and show a pinned digest only when it is the change - #332

Merged
sweepies merged 2 commits into
mainfrom
fix/cli-update-places
Nov 15, 2026
Merged

sweepies merged 2 commits into
mainfrom
fix/cli-update-places

Conversation

@sweepies

@sweepies sweepies commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

In the update tables of patchula lookup, run and apply, and in the TUI detail pane:

  • Each file gets a line. The file column now gives the first line the dependency is on, plus how many more times the file names it, e.g. .github/workflows/ci.yml:96 (+6). Rows for the same action in several workflows now read as different places, not duplicates. The lines come from the locations the report already records.
  • The digest shows only when it's the whole change. An action pinned by commit used to read v5.2.4 → v5.2.8@d5574b52816a; it now reads v5.2.4 → v5.2.8. The edit still pins the new commit. A digest-only refresh, where the version stays the same, still shows value@digest. The TUI's detail line and --json keep the full digest.

View guided diff Turn on auto-fix

… only when it is the change

A dependency listed in several workflows read as duplicate rows, and every
action pinned by commit showed the new commit's short hash beside its version.
Rows now name the first line and how many more occurrences the file holds
(ci.yml:96 (+6)), and the digest shows only when the version stays the same.
@sweepies
sweepies merged commit e260ab2 into main Nov 15, 2026
12 checks passed
@sweepies
sweepies deleted the fix/cli-update-places branch November 15, 2026 02:49
This was referenced Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant