Issue #4718
Module integrity is not preserved at copy time
Description
In Pulp 2.19 copying modules does not automatically copy over rpms.
Using recursive:True tries to dep solve and copies not only rpms but dependent module streams and their dependent rpms (could be a a fairly expensive operation.)
To preserve module integrity and help users not to break module content easily, all available artifacts should always be copied (without their dependencies). No error is raised if any artifacts are unavailable in a source/destination repo.
To include dependencies, one still should use --recursive or --recursive-conservative flag.
Related issues
Associated revisions
Revision 7ce210c9
View on GitHub
Always copy module with its artifacts
closes #4718 https://pulp.plan.io/issues/4718
(cherry picked from commit 37d4ac9c77c37e10c451fc80ce4e21b0ecf55831)
History
#1
Updated by daviddavis almost 2 years ago
- Version set to 2.19.0
- Tags Pulp 2 added
#2
Updated by ttereshc almost 2 years ago
- Tracker changed from Issue to Story
- Subject changed from Need a module copy --with-modular-rpms options to As a user, I can copy modules and their artifacts without dependencies
- % Done set to 0
#3
Updated by ttereshc over 1 year ago
- Related to Story #3982: As a user, I can get artifacts which belong to a specific module added
#4
Updated by ttereshc over 1 year ago
- Tracker changed from Story to Issue
- Subject changed from As a user, I can copy modules and their artifacts without dependencies to Modules integrity is not preserved at copy time
- Description updated (diff)
- Severity set to 2. Medium
- Triaged set to No
#5
Updated by ttereshc over 1 year ago
- Subject changed from Modules integrity is not preserved at copy time to Module integrity is not preserved at copy time
#6
Updated by ttereshc over 1 year ago
- Description updated (diff)
#7
Updated by ttereshc over 1 year ago
- Checklist item Always copy module artifacts when a module is copied added
- Checklist item Write a test issue to update tests inthis area added
- Checklist item Update examples in the docs for advanced copy added
#8
Updated by ipanova@redhat.com over 1 year ago
- Description updated (diff)
#9
Updated by ipanova@redhat.com over 1 year ago
- Checklist item changed from Write a test issue to update tests inthis area to Write a test issue to update tests in this area
- Checklist item Add release notes added
#10
Updated by ipanova@redhat.com over 1 year ago
This looks good to me.
#11
Updated by dkliban@redhat.com over 1 year ago
- Platform Release set to 2.19.1
#12
Updated by ipanova@redhat.com over 1 year ago
- Sprint set to Sprint 52
#13
Updated by ttereshc over 1 year ago
- Triaged changed from No to Yes
#14
Updated by dkliban@redhat.com over 1 year ago
- Sprint/Milestone set to 2.19.1
#15
Updated by ipanova@redhat.com over 1 year ago
- Groomed changed from No to Yes
#16
Updated by rchan over 1 year ago
- Sprint changed from Sprint 52 to Sprint 53
#17
Updated by ttereshc over 1 year ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
#18
Updated by ttereshc over 1 year ago
- Related to Test #4819: Update modulemd copy tests, module artifacts are always copied now added
#19
Updated by ttereshc over 1 year ago
- Checklist item Always copy module artifacts when a module is copied set to Done
- Checklist item Write a test issue to update tests in this area set to Done
#20
Updated by ttereshc over 1 year ago
- Checklist item Update examples in the docs for advanced copy set to Done
- Checklist item Add release notes set to Done
#21
Updated by ttereshc over 1 year ago
- Status changed from ASSIGNED to POST
#22
Updated by ttereshc over 1 year ago
- Status changed from POST to MODIFIED
Applied in changeset 37d4ac9c77c37e10c451fc80ce4e21b0ecf55831.
#23
Updated by ttereshc over 1 year ago
Applied in changeset 7ce210c98364feabfff13e4eb488fa07e90ffb48.
#24
Updated by dkliban@redhat.com over 1 year ago
- Status changed from MODIFIED to 5
#25
Updated by dkliban@redhat.com over 1 year ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Please register to edit this issue
Always copy module with its artifacts
closes #4718 https://pulp.plan.io/issues/4718