Project

Profile

Help

Issue #3242

copying a tag does not preserve its pulp_user_metadata

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

Associated revisions

Revision c7a5775b View on GitHub
Added by Mihai Ibanescu almost 4 years ago

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

Revision c7a5775b View on GitHub
Added by Mihai Ibanescu almost 4 years ago

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

Revision c7a5775b View on GitHub
Added by Mihai Ibanescu almost 4 years ago

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

Revision c7a5775b View on GitHub
Added by Mihai Ibanescu almost 4 years ago

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

Revision e06af592 View on GitHub
Added by Mihai Ibanescu almost 4 years ago

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)

Revision e06af592 View on GitHub
Added by Mihai Ibanescu almost 4 years ago

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)

History

#1 Updated by dalley almost 4 years ago

  • Triaged changed from No to Yes

#3 Updated by mihai.ibanescu@gmail.com almost 4 years ago

  • Status changed from NEW to POST

#4 Updated by Anonymous almost 4 years ago

  • Status changed from POST to MODIFIED

#5 Updated by pcreech almost 4 years ago

  • Platform Release set to 2.15.1

#6 Updated by Anonymous almost 4 years ago

#7 Updated by pcreech almost 4 years ago

  • Status changed from MODIFIED to 5

#8 Updated by pcreech over 3 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#9 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF