Project

Profile

Help

Test #4299

Remove duplicate tags from repository during sync

Added by bherring about 1 year ago. Updated 2 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Platform Release:
Tags:
Sprint:

Description

The docker plugin has repository version uniqueness constraints for Tags. For example the Tag with name "latest" points to a Manifest List. Another Tag with name "latest" (pointing to another Manifest List) cannot be added to the repository version while the first "latest" tag remains. Note: This repository version could have a "latest" that points to a manifest instead of a manifest list.

At this point, we don't think this uniqueness constraint can exist in the db, so we need to enforce the constraint at sync time (and later during add/remove.

During sync, before the new tags are added to the repository version, corresponding tags that are already in the repository version should be removed.

Heres an example:
RepositoryVersion1 contains a tag, "latest" which points to ManifestList1. A sync retrieves a new Tag "latest" that points to ManifestList2. Before "latest"-> ManifestList2 is added to the repository version, "latest"->ManifestList1 must be removed.

For implementation, this probably should be a new Stage, which could be the last item in the pipeline. (Add/remove stages are added outside of the plugin-defined pipeline.)


Related issues

Copied from Container Support - Story #4172: Remove duplicate tags from repository during sync CLOSED - CURRENTRELEASE Actions

History

#1 Updated by bherring about 1 year ago

  • Copied from Story #4172: Remove duplicate tags from repository during sync added

#2 Updated by bmbouter 9 months ago

  • Tags deleted (Pulp 3)

#3 Updated by ipanova@redhat.com 2 months ago

  • Project changed from Docker Support to Container Support

#4 Updated by veronicasegura 2 months ago

Your site may be stunning and furthermore require incredible open on your blog bit of paper. Tolerable introduction keep inscription.I totally adored the manner in which you reviewed this put. The substance are written positively and every one of the wordings are straightforward. This blog is one in my top choice. Continue sharing extra supportive and instructive posts. https://www.essayjaguar.com/

Please register to edit this issue

Also available in: Atom PDF