Project

Profile

Help

Story #6922

As a user I can exclude tags

Added by ipanova@redhat.com over 1 year ago. Updated about 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 79
Quarter:

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

Related to Docker Support - Story #6933: As a user I can opt out of mirorring source containers.NEW

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

History

#1 Updated by ipanova@redhat.com over 1 year ago

  • Project changed from Pulp to Container Support

#2 Updated by ipanova@redhat.com over 1 year ago

  • Description updated (diff)

#3 Updated by ipanova@redhat.com over 1 year ago

  • Related to Story #6933: As a user I can opt out of mirorring source containers. added

#4 Updated by ipanova@redhat.com about 1 year 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.

#5 Updated by ipanova@redhat.com about 1 year 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

#6 Updated by ipanova@redhat.com about 1 year ago

  • Sprint/Milestone set to 2.0.0

#7 Updated by ipanova@redhat.com about 1 year ago

  • Description updated (diff)

#8 Updated by ipanova@redhat.com about 1 year ago

  • Subject changed from As a user I can opt out of mirorring source containers. to As a user I can exclude tags

#9 Updated by ipanova@redhat.com about 1 year ago

  • Description updated (diff)

#10 Updated by rchan about 1 year ago

  • Sprint changed from Sprint 78 to Sprint 79

#11 Updated by pulpbot about 1 year ago

  • Status changed from ASSIGNED to POST

#12 Updated by mdellweg about 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#13 Updated by pulpbot about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF