Commit b70ce06
committed
fix: deduplicate tap formulae from CLI list on snapshot import
When importing a snapshot, formulae provided by a third-party tap
(e.g. argoproj/tap/kubectl-argo-rollouts) appeared both in TAPS and
CLI sections because the same package existed in both
snapshot.packages.formulae and snapshot.packages.taps.
Filter out formulae whose name matches the last segment of a
three-segment tap entry, keeping only the more specific tap version.1 parent 5ee1a89 commit b70ce06
1 file changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
59 | 72 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
64 | 79 | | |
65 | 80 | | |
66 | 81 | | |
| |||
0 commit comments