Project

Profile

Help

Issue #3604

Bugs around creating content units

Added by daviddavis about 2 years ago. Updated 12 days ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version - Python:
Platform Release:
Blocks Release:
Target Release - Python:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Sprint:
Sprint 36

Description

There are some weird things you can do when creating python packages. A couple examples:

1. I can create a content unit with multiple artifacts
2. Relative path for the artifact might not match filename. This can be problematic when serving content as I can create a package X with a relative path Y that's the same as package Y. There's no validation around relative path uniqueness in a repo version.

See https://pulp.plan.io/issues/3428 for how we solved this in pulp_file. Also, I think we may want to create a solution in pulpcore.


Related issues

Related to Pulp - Issue #3541: Core should not add/remove content to a repository or create a repository_version without plugin input CLOSED - CURRENTRELEASE Actions

Associated revisions

Revision 3f8b9a62 View on GitHub
Added by werwty about 2 years ago

Create a PythonPackageContent from an Artifact uploaded to Pulp Update content unit creation so it takes only a filename and artifact href

closes #3197, #3604

https://pulp.plan.io/issues/3197 https://pulp.plan.io/issues/3604

History

#1 Updated by daviddavis about 2 years ago

  • Subject changed from Bugs around creating content versions to Bugs around creating content units

#2 Updated by amacdona@redhat.com about 2 years ago

  • Related to Issue #3541: Core should not add/remove content to a repository or create a repository_version without plugin input added

#3 Updated by dalley about 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 36

#4 Updated by bizhang about 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bizhang

#5 Updated by bizhang about 2 years ago

  • Status changed from ASSIGNED to POST

#6 Updated by bizhang about 2 years ago

  • Sprint/Milestone set to 3.0 beta release

#7 Updated by werwty about 2 years ago

  • Status changed from POST to MODIFIED

#8 Updated by bmbouter about 1 year ago

  • Tags deleted (Pulp 3)

#9 Updated by roanporter76 12 days ago

List of best refrigerator in india with their lowest online prices. Find the best phones from this list through our advanced filters and check detailed specifications. These feature will help you to find best fridge in india or fridge price in india.

Please register to edit this issue

Also available in: Atom PDF