Project

Profile

Help

Task #5454

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

rename _type to pulp_type

Added by dkliban@redhat.com 7 months ago. Updated 4 months ago.

Status:
CLOSED - CURRENTRELEASE
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 CLOSED - CURRENTRELEASE Actions
Related to Pulp - Task #5550: Remove "_type" / "pulp_type" as a public-facing field, and MasterModelSerializer CLOSED - CURRENTRELEASE Actions

Associated revisions

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

Renaming _type to pulp_type

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

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

Renaming _type to pulp_type

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

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

Renaming _type to pulp_type

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

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

Renaming _type to pulp_type

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

History

#1 Updated by dkliban@redhat.com 7 months ago

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

#2 Updated by dkliban@redhat.com 7 months ago

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

#3 Updated by fabricio.aguiar 6 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 6 months ago

  • Description updated (diff)

#5 Updated by fabricio.aguiar 6 months ago

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

#6 Updated by fabricio.aguiar 6 months ago

  • Status changed from ASSIGNED to POST

#7 Updated by fabricio.aguiar 6 months ago

  • Status changed from POST to CLOSED - WONTFIX

#8 Updated by fabricio.aguiar 6 months ago

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

#9 Updated by fabricio.aguiar 6 months ago

  • Status changed from CLOSED - WONTFIX to POST

#10 Updated by Anonymous 6 months ago

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

#11 Updated by fabricio.aguiar 6 months ago

  • Status changed from MODIFIED to POST

#12 Updated by fabricio.aguiar 6 months ago

  • Status changed from POST to MODIFIED

#13 Updated by bmbouter 4 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF