Project

Profile

Help

Issue #3242

closed

copying a tag does not preserve its pulp_user_metadata

Added by mihai.ibanescu@gmail.com about 6 years ago. Updated almost 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

Actions #1

Updated by dalley about 6 years ago

  • Triaged changed from No to Yes
Actions #3

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

  • Status changed from NEW to POST

Added by Mihai Ibanescu about 6 years ago

Revision c7a5775b | View on GitHub

Allow setting pulp_user_metadata at upload time, and copy it too.

closes #3251 closes #3242 https://pulp.plan.io/issues/3251 https://pulp.plan.io/issues/3242

Added by Mihai Ibanescu about 6 years ago

Revision c7a5775b | View on GitHub

Allow setting pulp_user_metadata at upload time, and copy it too.

closes #3251 closes #3242 https://pulp.plan.io/issues/3251 https://pulp.plan.io/issues/3242

Added by Mihai Ibanescu about 6 years ago

Revision c7a5775b | View on GitHub

Allow setting pulp_user_metadata at upload time, and copy it too.

closes #3251 closes #3242 https://pulp.plan.io/issues/3251 https://pulp.plan.io/issues/3242

Added by Mihai Ibanescu about 6 years ago

Revision c7a5775b | View on GitHub

Allow setting pulp_user_metadata at upload time, and copy it too.

closes #3251 closes #3242 https://pulp.plan.io/issues/3251 https://pulp.plan.io/issues/3242

Actions #4

Updated by Anonymous about 6 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by pcreech about 6 years ago

  • Platform Release set to 2.15.1

Added by Mihai Ibanescu about 6 years ago

Revision e06af592 | View on GitHub

Allow setting pulp_user_metadata at upload time, and copy it too.

closes #3251 closes #3242 https://pulp.plan.io/issues/3251 https://pulp.plan.io/issues/3242

(cherry picked from commit c7a5775b98af04b36c0c9d813708786b2e9661ce)

Added by Mihai Ibanescu about 6 years ago

Revision e06af592 | View on GitHub

Allow setting pulp_user_metadata at upload time, and copy it too.

closes #3251 closes #3242 https://pulp.plan.io/issues/3251 https://pulp.plan.io/issues/3242

(cherry picked from commit c7a5775b98af04b36c0c9d813708786b2e9661ce)

Actions #6

Updated by Anonymous about 6 years ago

Actions #7

Updated by pcreech about 6 years ago

  • Status changed from MODIFIED to 5
Actions #8

Updated by pcreech about 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF