Commit e847964
Bump: skip local source-dep candidates for cross-family deps
When a consumer references the same logical product under multiple family
versions (e.g. Metalama.Vsx 2026.1 references Metalama 2026.1 and Metalama
2026.0 with alias "Metalama20260"), both iterations resolved to the same
local source-dep path because the candidate paths use only dependency.Name
without a version qualifier. Whichever branch ..\Metalama happened to be
on was used by both iterations, so the cross-family value was wrong.
Fix: when dependency.ProductFamily.Version differs from the consumer's
family version, skip the local candidates entirely and download from the
dep's release branch via VcsRepository.TryDownloadTextFile. Same-family
deps still prefer local checkouts.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent e6424f7 commit e847964
1 file changed
Lines changed: 20 additions & 11 deletions
Lines changed: 20 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
137 | 146 | | |
138 | 147 | | |
139 | 148 | | |
| |||
0 commit comments