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 year ago. Updated 9 months ago.

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

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 60
Quarter:

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 importCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Pulp - Task #5550: Remove "_type" / "pulp_type" as a public-facing field, and MasterModelSerializerCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision b669eb5f View on GitHub
Added by Fabricio Aguiar 12 months ago

Renaming _type to pulp_type

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

Revision b669eb5f View on GitHub
Added by Fabricio Aguiar 12 months ago

Renaming _type to pulp_type

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

Revision b669eb5f View on GitHub
Added by Fabricio Aguiar 12 months ago

Renaming _type to pulp_type

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

Revision b669eb5f View on GitHub
Added by Fabricio Aguiar 12 months ago

Renaming _type to pulp_type

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

History

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

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

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

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

#3 Updated by fao89 12 months 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

#4 Updated by dkliban@redhat.com 12 months ago

  • Description updated (diff)

#5 Updated by fao89 12 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89

#6 Updated by fao89 12 months ago

  • Status changed from ASSIGNED to POST

#7 Updated by fao89 12 months ago

  • Status changed from POST to CLOSED - WONTFIX

#8 Updated by fao89 12 months ago

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

#9 Updated by fao89 12 months ago

  • Status changed from CLOSED - WONTFIX to POST

#10 Updated by Anonymous 12 months ago

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

#11 Updated by fao89 12 months ago

  • Status changed from MODIFIED to POST

#12 Updated by fao89 12 months ago

  • Status changed from POST to MODIFIED

#13 Updated by bmbouter 9 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF