Issue #1402
closedRPM and SRPM uploaded units have client specified checksum and checksumtype field in unit_metadata when docs specify it should be unit_key
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
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
Updated by ttereshc about 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
Updated by ttereshc about 8 years ago
- Status changed from ASSIGNED to NEW
- Assignee deleted (
ttereshc)
Updated by bmbouter about 5 years ago
- Status changed from NEW to CLOSED - WONTFIX