Repository navigation
Commit 56bffb2
Fix review findings in NuGet other-version discovery
- Vendored: the feed's single nupkg names the patched version, so it is
the only ref, even when no lock entry is at it (keeping the ledger's
vendored_claim live); other locked versions are reported in the
unattested detail, never as refs pointing at nupkgs that don't exist.
- Each ref's other-version check excludes its own version: the detail
and file name the lock holding the OTHER version, listed in NuGet
precedence (13.0.9 before 13.0.10), and say "also lock" only when the
ref's version is locked.
- Trim `resolved` before normalizing; an empty one is diagnosed and
counts as another version (the writers would refuse it).
- The contentHash-conflict diagnostic names the locks and spellings.
- Only Socket-mapped ids are indexed; one push_ref helper marks refs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 9c8b7ea commit 56bffb2
2 files changed
Lines changed: 410 additions & 204 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| |||
0 commit comments