Project

Profile

Help

Issue #4119

Trying to download already existing artifacts without prior knowlegde of their digest fail

Added by mdellweg 12 months ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Category:
API
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

The stages api should be able to download a file even without knowledge of its digest and attach the DeclarativeContent to an existing artifact in case of a matching digest.

Associated revisions

Revision 3f5cc8f8 View on GitHub
Added by dkliban@redhat.com 11 months ago

Problem: Artifact Saver fails to associate existing Artifacts

Solution: Update Declarative Artifacts with Artifacts returned by bulk_get_or_create()

The Content unit saver did not account for duplicate units at all. This patch also addresses
that problem.

[noissue]

History

#1 Updated by CodeHeeler 11 months ago

  • Triaged changed from No to Yes

#2 Updated by mdellweg 8 months ago

I think, this was solved by

https://github.com/pulp/pulp/pull/3764/

#3 Updated by bmbouter 8 months ago

  • Status changed from NEW to MODIFIED
  • Assignee set to dkliban@redhat.com
  • Tags Pulp 3 added

#4 Updated by bmbouter 8 months ago

I manually associated the commit here in Redmine and moved it to MODIFIED

#5 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#6 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF