Repository navigation
Commit 74bbef1
committed
fix(presets): stop advertising a bare-id install as a guaranteed fix
Addresses review feedback on #4250.
The per-dependency line labelled `specify extension add <id>` as "Fix with",
while the closing note said an archive URL is required -- the remedy and the
note contradicted each other, and for every extension motivating this feature
the bare-id command is refused outright, since all three are listed only in
the discovery-only community catalog.
Label the remedy by the action it performs rather than asserting it fixes the
problem: "Install with", "Reinstall with", "Enable with", and "Needs" for a
version constraint, which was never a command in the first place.
Replace the contradictory note with what actually happens. The discovery-only
rejection prints the exact `--from <archive-url>` invocation to use, so the
bare command is a signpost rather than a dead end, and saying so is both
accurate and useful. Determining which catalog an extension came from would
require a catalog fetch on an install path that touches no network, so the
note stays unconditional and is now only emitted when a suggested command
actually resolves through the catalogs.
Assisted-by: Claude Code (model: Claude Opus 5, autonomous)1 parent b61050e commit 74bbef1
2 files changed
Lines changed: 36 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | | - | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| 86 | + | |
83 | 87 | | |
| 88 | + | |
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| 94 | + | |
89 | 95 | | |
| 96 | + | |
90 | 97 | | |
91 | 98 | | |
92 | | - | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| 106 | + | |
99 | 107 | | |
100 | | - | |
101 | | - | |
| 108 | + | |
| 109 | + | |
102 | 110 | | |
103 | | - | |
| 111 | + | |
| 112 | + | |
104 | 113 | | |
105 | 114 | | |
106 | 115 | | |
| |||
121 | 130 | | |
122 | 131 | | |
123 | 132 | | |
124 | | - | |
| 133 | + | |
125 | 134 | | |
126 | | - | |
127 | | - | |
128 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
129 | 142 | | |
130 | | - | |
131 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
132 | 146 | | |
133 | 147 | | |
134 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1304 | 1304 | | |
1305 | 1305 | | |
1306 | 1306 | | |
1307 | | - | |
1308 | | - | |
| 1307 | + | |
| 1308 | + | |
1309 | 1309 | | |
1310 | 1310 | | |
1311 | 1311 | | |
| |||
1421 | 1421 | | |
1422 | 1422 | | |
1423 | 1423 | | |
| 1424 | + | |
1424 | 1425 | | |
1425 | 1426 | | |
1426 | 1427 | | |
| |||
1448 | 1449 | | |
1449 | 1450 | | |
1450 | 1451 | | |
1451 | | - | |
1452 | | - | |
1453 | | - | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
1454 | 1458 | | |
| 1459 | + | |
1455 | 1460 | | |
1456 | 1461 | | |
1457 | 1462 | | |
| |||
1516 | 1521 | | |
1517 | 1522 | | |
1518 | 1523 | | |
1519 | | - | |
| 1524 | + | |
1520 | 1525 | | |
1521 | 1526 | | |
1522 | 1527 | | |
| |||
0 commit comments