Bug 1003999 - [RFE] Need ability to filter which packages get synced from source
Summary: [RFE] Need ability to filter which packages get synced from source
Status: CLOSED DUPLICATE of bug 754576
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
Depends On:
Blocks: 1004001
TreeView+ depends on / blocked
Reported: 2013-09-03 16:56 UTC by Mike McCune
Modified: 2015-12-03 15:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1004001 (view as bug list)
Last Closed: 2015-10-08 19:58:28 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Mike McCune 2013-09-03 16:56:48 UTC
Filtering in pulp currently only effects published Content Views but there is no way to apply a filtering algorithm to a yum repository feed.

There are often cases where repositories contain large sets of packages that are never used (architectures, subdirectories, etc), eg:


where the user may only want a certain subset of the large repo.

The customer should have the ability to specify on the repo a set of filters which prevent packages from being synced thus saving disk space and sync time.

Comment 1 Michael Hrivnak 2013-09-04 15:16:14 UTC
I'm interested in thoughts on how this might work. I imagine that some sort of regex matching on the "name" could get us a lot of the way. The question is, how many regexs is it going to take?

Are we interested in a scenario like the dell repo where there are tons of RPMs, but we only want a few?

Is it sufficient to do a default-none when one or more filters are present, so that the user must match the packages to get? Or do we need the ability to exclude matched packages?

Either way, this is only likely to be useful in cases where the user can make a small number of filters in a simple way to get the behavior they want. Thoughts?

Comment 2 RHEL Program Management 2013-09-17 04:16:02 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 7 Bryan Kearney 2015-10-08 19:58:28 UTC

*** This bug has been marked as a duplicate of bug 754576 ***

Note You need to log in before you can comment on or make changes to this bug.