Project

Profile

Help

Issue #1402

closed

RPM and SRPM uploaded units have client specified checksum and checksumtype field in unit_metadata when docs specify it should be unit_key

Added by bmbouter over 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

The platform docs[0] specify that when uploading you can specify unit_key and unit_metadata. These section correspond with importers across the docs including the importer that handles ingestion of RPM and SRPM content. Both the RPM[1] and SRPM[2] docs identify these fields as part of the unit_key which means when uploading they are expected to be in the unit_key field of the upload call.

Currently the platform code will not work if you put checksum and checksumtype in unit_key, and will only work if you put them in unit_metadata. Given what the docs say, the current behavior is wrong. This is a bug for the API, the related bug is to update pulp-admin to have pulp-admin send the data correctly.

[0]: http://pulp.readthedocs.org/en/2.7-release/dev-guide/integration/rest-api/content/upload.html#import-into-a-repository
[1]: http://pulp-rpm.readthedocs.org/en/2.7-release/tech-reference/yum-plugins.html#unit-key
[2]: http://pulp-rpm.readthedocs.org/en/2.7-release/tech-reference/yum-plugins.html#id1


Related issues

Blocks RPM Support - Issue #1403: Update pulp-admin upload for RPM to have client specified checksum and checksumtype fields sent with unit_keyCLOSED - WONTFIXActions
Actions #1

Updated by bmbouter over 8 years ago

  • Blocks Issue #1403: Update pulp-admin upload for RPM to have client specified checksum and checksumtype fields sent with unit_key added
Actions #2

Updated by mhrivnak over 8 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by ttereshc about 8 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc
Actions #4

Updated by ttereshc about 8 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (ttereshc)
Actions #5

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #6

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF