Repository navigation
Commit 22c510b
committed
Fix: Allow MVS-raised replace pins in golang discovery
In a workspace, MVS can select a version higher than any member's direct
require due to dependencies. Previously, replaced_purl rejected any replace
where v != r, even when the replace matched the MVS-selected version.
This fix only treats lower pins as definitively inert (stale pins after
upgrade), allowing higher pins through to be validated by the caller's
graph.select() check, which properly accounts for full MVS selection.1 parent 678f90e commit 22c510b
1 file changed
Lines changed: 15 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
597 | 603 | | |
598 | 604 | | |
599 | 605 | | |
| |||
0 commit comments