-
Notifications
You must be signed in to change notification settings - Fork 368
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
Support krew search
plugins by name and description
#799
Support krew search
plugins by name and description
#799
Conversation
8114b7f
to
2c7c284
Compare
/ping @ahmetb |
Thanks, I'll try to find some time, play with this hands-on and review. |
OK, thanks. |
/ping @ahmetb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly cosmetic comments.
/approve
2c7c284
to
8cc498c
Compare
8cc498c
to
2875ef9
Compare
2875ef9
to
bdb1f3c
Compare
Sorry, the linter seems to be extra-aggressive about not preallocating slices, it seems. This wasn't the case in the past, hence my comment about making them simpler. |
bdb1f3c
to
bf1b4c0
Compare
Got it, updated. |
/ping @ahmetb |
1 similar comment
/ping @ahmetb |
@ahmetb Could you please give a lgtm label to make it merged, thanks. |
Sorry for the latency here. I did a review again. I think if you refactor the tests to clearly show something like "name matches are shown first, then the description matches" it would help us maintainers reason about the code/tests later on. Thanks. |
bf3eece
to
b2fef6c
Compare
Updated, PTAL thanks. |
b2fef6c
to
eb497a5
Compare
eb497a5
to
4f0c2e8
Compare
ping @ahmetb |
ping @ahmetb |
1 similar comment
ping @ahmetb |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahmetb, astraw99 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #798
Support fuzzy search plugins by name and description, like this:
Also added test case to make it correct, and checked all the other search test cases.