Task #1346
closedImprove field names for RPM subclasses of ContentUnit
0%
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.
Updated by mhrivnak over 8 years ago
- Related to Refactor #2159: Convert unit models to django added
Updated by amacdona@redhat.com about 7 years ago
- Related to deleted (Refactor #2159: Convert unit models to django)
Updated by bmbouter over 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.