Maintenance: Planio will be observing a scheduled maintenance window this Tuesday, November 5, 2024 from 03:00 UTC until 06:30 UTC to perform urgent network maintenance in our primary data center. Your Planio account will be unavailable during this maintenance window.
Story #6922
closedAs a user I can exclude tags
100%
Description
For example - on the remote registry i have tags ['latest', 'latest-source', 16.1, 16.0-1, 16.0, 16.0-2, 16.2]
I want to filter out tags that have '-source'. Source containers can be big and this will impact repo size as well as sync time.
We use fnmatch module.
Add an option exclude_tags
. It will also use fnmatch module. Exclude_tags will override include_tags if same tag was mentioned in both places.
Examples:
include_tags = ['latest', '16.0*]
exclude_tags = ['latest', '*-source']
What will be mirrored is: [ 16.0-1, 16.0, 16.0-2]
Related issues
Updated by ipanova@redhat.com over 4 years ago
- Project changed from Pulp to Container Support
Updated by ipanova@redhat.com over 4 years ago
- Related to Story #6933: As a user I can opt out of mirorring source containers. added
Updated by ipanova@redhat.com about 4 years ago
As per irc discussion with x9c4 we can add a second option 'excludes' that will also support regexp to avoid complications with negation search pattern.
Updated by ipanova@redhat.com about 4 years ago
- Description updated (diff)
- Status changed from NEW to ASSIGNED
- Assignee set to mdellweg
- Groomed changed from No to Yes
- Sprint set to Sprint 78
Updated by ipanova@redhat.com about 4 years ago
- Subject changed from As a user I can opt out of mirorring source containers. to As a user I can exclude tags
Updated by pulpbot about 4 years ago
- Status changed from ASSIGNED to POST
Added by mdellweg about 4 years ago
Added by mdellweg about 4 years ago
Revision ad7ab345 | View on GitHub
Replace whitelist_tags with include/exclude_tags
fixes #6922 https://pulp.plan.io/issues/6922 fixes #7070 https://pulp.plan.io/issues/7070
Updated by mdellweg about 4 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset ad7ab3450226e4aac4f80b518531a46d96b1e4cd.
Updated by pulpbot about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Replace whitelist_tags with include/exclude_tags
fixes #6922 https://pulp.plan.io/issues/6922 fixes #7070 https://pulp.plan.io/issues/7070