-
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
refactor: move pkg/extensions/search/common/oci_layout.go un… #1325
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1325 +/- ##
==========================================
+ Coverage 90.37% 90.47% +0.09%
==========================================
Files 97 97
Lines 21336 21142 -194
==========================================
- Hits 19283 19128 -155
+ Misses 1539 1504 -35
+ Partials 514 510 -4
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
4e84293
to
3033e81
Compare
The ZAP scan failure is unrelated. |
Thank you |
aa34dfd
to
3e56e80
Compare
@nicoldr why do we need pkg/search/common/ anymore now? |
We have here the logic for tags and labels, also the functions to get all kinds of details contained in these labels and tags |
"common" with what? typically represents some shared code with other parts of the codebase. If this is confined to search/ alone, would just move it up to under pkg/search/ itself. |
Hello, Ram. I tried today the scenario in which we move all the code inside common directly under search, but import problems appeared. I had a meeting with Andrei and a new issue was created, and there you can see propositions to move for all the parts that are under search/common right now. Can you take a look at the issue and see if the suggested changes seem alright to you? New issue: #1342 Since it will be quite a work to do there, that PR would be independent from this one and can be reviewed separately |
…est/ Signed-off-by: Nicol Draghici <idraghic@cisco.com>
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
Ok let this be first part of the changes
…der pkg/test/
What type of PR is this?
Which issue does this PR fix:
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.