Task #5454
closedStory #5443: [Epic] Remove leading _ from pulpcore model fields
rename _type to pulp_type
100%
Description
All models that inherit from MasterModel have a field called '_type'. This field used to be called 'type', but we added the leading underscore to distinguish it from plugin fields called 'type'. Since this field represents the type of Pulp resource the model represents, it is more appropriate for the field to be called 'pulp_type'.
Related issues
Updated by dkliban@redhat.com over 5 years ago
- Tracker changed from Issue to Task
- % Done set to 0
Updated by dkliban@redhat.com over 5 years ago
- Related to Issue #5093: Autogenerated pulp rpm bindings raise an error on import added
Updated by fao89 about 5 years ago
- Subject changed from rename _type to resource_type to rename _type to pulp_type
- Sprint/Milestone set to 3.0.0
- Sprint set to Sprint 60
Updated by fao89 about 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
Updated by fao89 about 5 years ago
- Related to Task #5550: Remove "_type" / "pulp_type" as a public-facing field, and MasterModelSerializer added
Updated by fao89 about 5 years ago
- Status changed from CLOSED - WONTFIX to POST
pulpcore: https://github.com/pulp/pulpcore/pull/317
pulp_docker: https://github.com/pulp/pulp_docker/pull/424
Added by Fabricio Aguiar about 5 years ago
Updated by Anonymous about 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|14fe4837a83d9a5ac27a5760836fe14baee027ed.
Added by Fabricio Aguiar about 5 years ago
Revision b669eb5f | View on GitHub
Renaming _type to pulp_type
Added by Fabricio Aguiar about 5 years ago
Revision b669eb5f | View on GitHub
Renaming _type to pulp_type
Added by Fabricio Aguiar about 5 years ago
Revision b669eb5f | View on GitHub
Renaming _type to pulp_type
Added by Fabricio Aguiar about 5 years ago
Revision b669eb5f | View on GitHub
Renaming _type to pulp_type
Updated by bmbouter about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Renaming _type to pulp_type
closes #5454 https://pulp.plan.io/issues/5454
Required PR: https://github.com/pulp/pulp_file/pull/284 Required PR: https://github.com/pulp/pulpcore-plugin/pull/137 Required PR: https://github.com/PulpQE/pulp-smash/pull/1220 Required PR: https://github.com/pulp/pulp-certguard/pull/31