-
Notifications
You must be signed in to change notification settings - Fork 91
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
feat(search): update search pattern matching rules #1257
feat(search): update search pattern matching rules #1257
Conversation
96d3763
to
73edc8e
Compare
Codecov Report
@@ Coverage Diff @@
## main #1257 +/- ##
=======================================
Coverage 90.38% 90.39%
=======================================
Files 96 96
Lines 21324 21332 +8
=======================================
+ Hits 19273 19282 +9
+ Misses 1537 1536 -1
Partials 514 514
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
73edc8e
to
f1c2ad8
Compare
f1c2ad8
to
5eac34a
Compare
7047a4e
to
7f2911a
Compare
So what is the overall logic for ranking? image:tag first, repo names, and any wildcards? We should eventually also allow searching within annotations. This use case is coming up often. |
We did not decide on any wildcard, or annotation searches to my knowledge. What would be a good example of a string the user sends as an annotation search? How would the servers know that is an annotation search, not a repo or a tag search? Actually I am not convinced searches by annotations are a good idea: which annotations?, on the manifest itself?, on an index?, on descriptors inside a manifest or index?, by annotation key? by annotation value?, by an annotation value on a specific key? Why would I want to search on an annotation anyway? What is the use case? |
7f2911a
to
6ce6541
Compare
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.
Looks good, please rebase.
83b5d7c
to
b217fb9
Compare
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.
It's good to see we removed score
from the graphql api, as we had no benefit in exposing it.
b217fb9
to
4ca6437
Compare
19d65d5
to
2b482ca
Compare
Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
2b482ca
to
5c403e0
Compare
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.
lgtm
What type of PR is this?
Which issue does this PR fix:
#909
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:
Automation added to e2e:
Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.