Project

Profile

Help

Task #1346

closed

Improve field names for RPM subclasses of ContentUnit

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

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

For the DRPM unit:

'filename' -> 'file_name'
'checksumtype' -> 'checksum_type'
'oldepoch' -> 'old_epoch'
'oldversion' -> 'old_version'
'oldrelease' -> 'old_release'

For RpmBase unit:

'checksumtype' -> 'checksum_type'
'filename' -> 'file_name'
'relativepath' -> 'relative_path'
'sourcerpm' -> 'source_rpm'

For Errata unit:

'from' -> 'errata_from'

Besides changing these field names, the pulp codebase will need to be adjusted to match. Also a migration will need to be written for each content type so that the database can be modified to match.

Also available in: Atom PDF