Project

Profile

Help

Issue #3242

closed

copying a tag does not preserve its pulp_user_metadata

Added by mihai.ibanescu@gmail.com over 6 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version - Docker:
Platform Release:
2.15.1
Target Release - Docker:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

As a user, if I copy a tag from one repo to another, I expect its pulp_user_metadata to be copied as well.

I believe that is what happens when other units that have repo_id in the unit key fields are being copied (i.e. package_group).

The code in the yum importer for copying groups and other metadata-only units:

https://github.com/pulp/pulp_rpm/blob/master/plugins/pulp_rpm/plugins/importers/yum/associate.py#L412

The code in pulp_docker for copying tags:

https://github.com/pulp/pulp_docker/blob/master/plugins/pulp_docker/plugins/importers/importer.py#L270

Also available in: Atom PDF