-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement custom plugin indexes #566
Comments
I'm scratching off these two for now as I see no work necessary there.
"install" already works (correct me if I'm wrong), and "remove" has no notion of indexes (as it does not need to). |
There was a small change required for install that was taken care of here. As for uninstall, that might still be pending. If we want to support |
I think what @chriskim06 is referring to is that plugins installed via On the other hand, the uninstall question is still pending so let's not tick it off :) |
Sorry I should have been more explicit (also when I click the link I added it doesn't take me to the line that I linked, I have to scroll up a bit for some reason), I was referring more to how a plugin is loaded when its being installed: But this is pretty minor, tbh I don't even remember adding those 2 to this list 😅 so I think its totally fine to not include the install one on the list. |
I'm editing the list above as we go. :) |
@chriskim06 I've checked off a few recently completed items above. Please take a look if we're up to date. |
So I linked your most recent PR to this bullet:
Does that seem reasonable to check off since that was merged or did you have something else in mind? Besides that the list looks up to date to me! |
@ahmetb for this bullet:
did you mean something like the verify-receipts-upgrade-migration.sh step of the ci workflow or just like standard cmd line integration tests? |
Yeah similar to that script. We'd install old krew, install a couple of plugins, and then run the binary compiled as part of the build. Upon doing so, we verify (1) .krew/index/default/ exists (2) "krew index list" cmd works. Don't spend too much effort, as these are temporary. (Btw if we removed receipsmigration, we should remove that test, too) |
Sounds good. I'll try to get to that soon. And ya I removed that script and the step in the ci |
/close |
@ahmetb: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Great work @chriskim06! Thanks for pushing |
Chris has been taking on a pretty active role in Krew over the past 6 months. He was the primary driver of implementing decentralized plugin repositories in krew ([meta-issue](kubernetes-sigs/krew#566), [issues & PRs](https://github.com/kubernetes-sigs/krew/issues?q=label%3Aarea%2Fmulti-index+author%3Achriskim06+)). Since the successful launch of this feature he continued his work on krew through PR reviews and [fixes](https://github.com/kubernetes-sigs/krew/issues?q=author%3Achriskim06+created%3A%3E%3D2020-08-19+). Chris should therefore have maintainer rights for krew, so that he can continue his work more efficiently. @chriskim06 @ahmetb
Here's a list of some of the remaining work regarding support for multiple indexes:
krew list
to work with multi-index (cmd: refactorlist
to work with custom indexes #560)krew info
to work with multi-index (cmd/info: Support for multiple indexes #563)krew search
to work with multi-index (cmd: make krew search work with multiple indexes #574)krew upgrade
to work with multi-index (cmd: modify upgrade to work with multiple indexes #594)krew update
to work with multi-index (cmd: Update each index instead of just default #588)update(no work needed?)krew install
to work with multi-indexkrew remove
to work with multi-index (Krew uninstall behavior for multi-index #579)krew index add|remove|list
commands (Add index list command #537, Add index add command #545, cmd: Add 'index remove' command #552)--help
messages to ensure examples reflect index/ syntax where applicable (Update help messages to reflect custom index syntax #597)receiptsmigration
) to ensure index migration happens v0.3.4 -> x (Index migration ci test #621)Proposal issue: #483
Proposal doc: link
/area multi-index
The text was updated successfully, but these errors were encountered: