Project

Profile

Help

Task #5454

closed

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

rename _type to pulp_type

Added by dkliban@redhat.com about 5 years ago. Updated almost 5 years 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 - CURRENTRELEASEfao89Actions
Related to Pulp - Task #5550: Remove "_type" / "pulp_type" as a public-facing field, and MasterModelSerializerCLOSED - CURRENTRELEASEfao89

Actions
Actions #1

Updated by dkliban@redhat.com about 5 years ago

  • Tracker changed from Issue to Task
  • % Done set to 0
Actions #2

Updated by dkliban@redhat.com about 5 years ago

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

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
Actions #4

Updated by dkliban@redhat.com about 5 years ago

  • Description updated (diff)
Actions #5

Updated by fao89 about 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
Actions #6

Updated by fao89 about 5 years ago

  • Status changed from ASSIGNED to POST
Actions #7

Updated by fao89 about 5 years ago

  • Status changed from POST to CLOSED - WONTFIX
Actions #8

Updated by fao89 about 5 years ago

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

Updated by fao89 about 5 years ago

  • Status changed from CLOSED - WONTFIX to POST
Actions #10

Updated by Anonymous about 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #11

Updated by fao89 about 5 years ago

  • Status changed from MODIFIED to POST

Added by Fabricio Aguiar about 5 years ago

Revision b669eb5f | View on GitHub

Renaming _type to pulp_type

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

Added by Fabricio Aguiar about 5 years ago

Revision b669eb5f | View on GitHub

Renaming _type to pulp_type

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

Added by Fabricio Aguiar about 5 years ago

Revision b669eb5f | View on GitHub

Renaming _type to pulp_type

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

Added by Fabricio Aguiar about 5 years ago

Revision b669eb5f | View on GitHub

Renaming _type to pulp_type

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

Actions #12

Updated by fao89 about 5 years ago

  • Status changed from POST to MODIFIED
Actions #13

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF