-
Notifications
You must be signed in to change notification settings - Fork 289
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
Fixes #30224 - Add module filtering #8822
Conversation
Issues: #30224 |
After brief chat with Partha, this is the right feature set to test with : https://gitlab.com/2020-summit-labs/hands-on-with-satellite-6.7/-/blob/master/workshop/content/content-view-filters.adoc .. Working on testing and implementing missing pieces. |
Updated to include changes for include/exclude all moduled without errata and errata based filtering. Should be ready to test for modular/package filters.. |
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.
I think modular rpms are being filtered out where they shouldn't be. My test:
- Sync modules-rpms (https://partha.fedorapeople.org/test-repos/separated/modules-rpms/) and rpm-deps (https://partha.fedorapeople.org/test-repos/separated/rpm-deps/)
- Stick them both in a CV
- Make a package filter and exclude
*
- See that all content is filtered out. Only the non-modular RPMs should get filtered out.
-> Results in the CVV should be:walrus-0.71
andwalrus-5.21
, their module streams (2 total), and theWALRUS-2013:0002
erratum.
Side note: On the filter, if you select "Show matching content", only the non-modular RPMs show up, but more are actually filtered out.
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.
The include filter has been working, but I'm having troubles with the exclude filter. If I exclude certain versions of postgresql or nodejs from the RHEL 8 AppStream repo, all of the module streams disappear. My content view also has the needed-errata, modules-rpms, and rpm-deps repos.
Think I addressed the issues in the comments. Looking at the conflicts here. We need pulp_rpm 3.5 for this and 3.5 pulp_rpm gem with this. |
I'm hitting an error when filtering the RHEL 8 AppStream repo. I don't think it's directly related to your PR, but rather the upgrade to Pulp RPM 3.5.0. Stack trace:
|
e28d4ff
to
79fb1dd
Compare
(cherry picked from commit e28d4ff)
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.
Everything seems to be working now! I just need to test with Pulp 2 to check for regressions before ACKing.
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.
Works for me!
Thanks @parthaa for documenting the expected flow with Pulp here: https://partha.fedorapeople.org/CVModuleFilters/
Goal of this PR is achieve feature parity in Pulp3.