Project

Profile

Help

Task #5454

Story #5443: [Epic] Remove leading _ from pulpcore model fields

rename _type to pulp_type

Added by dkliban@redhat.com about 1 month ago. Updated 9 days ago.

Status:
MODIFIED
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 60

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

Related to RPM Support - Issue #5093: Autogenerated pulp rpm bindings raise an error on import MODIFIED Actions
Related to Pulp - Task #5550: Remove "_type" / "pulp_type" as a public-facing field, and MasterModelSerializer MODIFIED Actions

Associated revisions

Revision b669eb5f View on GitHub
Added by Fabricio Aguiar 9 days ago

Renaming _type to pulp_type

ref #5454
https://pulp.plan.io/issues/5454

Revision b669eb5f View on GitHub
Added by Fabricio Aguiar 9 days ago

Renaming _type to pulp_type

ref #5454
https://pulp.plan.io/issues/5454

History

#1 Updated by dkliban@redhat.com about 1 month ago

  • Tracker changed from Issue to Task
  • % Done set to 0

#2 Updated by dkliban@redhat.com about 1 month ago

  • Related to Issue #5093: Autogenerated pulp rpm bindings raise an error on import added

#3 Updated by fabricio.aguiar 18 days ago

  • Subject changed from rename _type to resource_type to rename _type to pulp_type
  • Sprint/Milestone set to 3.0
  • Sprint set to Sprint 60

#4 Updated by dkliban@redhat.com 18 days ago

  • Description updated (diff)

#5 Updated by fabricio.aguiar 18 days ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fabricio.aguiar

#6 Updated by fabricio.aguiar 17 days ago

  • Status changed from ASSIGNED to POST

#7 Updated by fabricio.aguiar 12 days ago

  • Status changed from POST to CLOSED - WONTFIX

#8 Updated by fabricio.aguiar 12 days ago

  • Related to Task #5550: Remove "_type" / "pulp_type" as a public-facing field, and MasterModelSerializer added

#9 Updated by fabricio.aguiar 12 days ago

  • Status changed from CLOSED - WONTFIX to POST

#10 Updated by Anonymous 10 days ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#11 Updated by fabricio.aguiar 10 days ago

  • Status changed from MODIFIED to POST

#12 Updated by fabricio.aguiar 9 days ago

  • Status changed from POST to MODIFIED

Please register to edit this issue

Also available in: Atom PDF