Skip to content
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 #24188 - Filter by OSTree on RH Repos #7545

Merged
merged 1 commit into from Jul 20, 2018
Merged

Conversation

parthaa
Copy link
Contributor

@parthaa parthaa commented Jul 19, 2018

This commit corrects the 'scope search' parameter
used by the "Filter by" dropdown on the RH Repos page
to search OSTree and other content types.

@theforeman-bot
Copy link

Issues: #24188

Copy link
Member

@akofink akofink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works MUCH better! Just one small comment.

debugRpm: 'name ~ debug rpm',
kickstart: 'name ~ kickstart',
ostree: 'name ~ ostree',
rpm: '(name ~ rpms) and (name !~ source rpm) and (name !~ debug rpm) and (content_type = yum)',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we remove (name ~ rpms) here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove (name ~ rpms) and add (name !~ kickstart)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh wait, kickstart is a content type, yes remove this piece

Copy link
Contributor

@waldenraines waldenraines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one minor question.

ostree: 'name ~ ostree',
rpm: '(name ~ rpms) and (name !~ source rpm) and (name !~ debug rpm) and (content_type = yum)',
sourceRpm: '(name ~ source rpm) and (content_type = yum)',
debugRpm: '(name ~ debug rpm) and (content_type = yum)',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we don't have a content_type for source/debug rpms?

Copy link
Member

@akofink akofink Jul 20, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The content_type is yum, just like rpms. I think this value comes from Pulp.

This commit corrects the 'scope search' parameter
used by the "Filter by" dropdown on the RH Repos page
to search OSTree and other content types.
@parthaa
Copy link
Contributor Author

parthaa commented Jul 20, 2018

@akofink @jlsherrill @waldenraines updated

Copy link
Member

@akofink akofink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APJ! Thanks @parthaa

@parthaa parthaa merged commit 5443704 into Katello:master Jul 20, 2018
@parthaa parthaa deleted the 24188 branch July 20, 2018 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants