Project

Profile

Help

Refactor #779

closed

Refactor #765: Convert Pulp to use MongoEngine

Convert the 'repo_content_units' collection to a mongoengine model

Added by bmbouter almost 10 years ago. Updated over 5 years ago.

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

100%

Estimated time:
Platform Release:
2.7.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
April 2015
Quarter:

Description

Deliverables:


Related issues

Blocks Pulp - Refactor #870: Create a generic serializer for RepositoryContentUnit/ContentUnitCLOSED - WONTFIX

Actions
Actions #1

Updated by bcourt over 9 years ago

  • Tags Sprint Candidate added

Do not change the id fields, we will not use MongoEngine to automatically look up the referenced docs
Create a migration to perform the following actions

  • Ensure no duplicates of repo_id, unit_id.
  • Remove the owner_type and owner_id fields
  • The owner_type and owner_id fields should not be included in the model. Those fields are no longer used for permissions and should be removed from our code base. Release notes will have to be udpated as those fields were being leaked into repo unit queries.

https://fedorahosted.org/pulp/wiki/ConvertingUnitsToMongoengine

Actions #2

Updated by mhrivnak over 9 years ago

  • Tags Groomed added
Actions #3

Updated by bcourt over 9 years ago

  • Blocks Refactor #870: Create a generic serializer for RepositoryContentUnit/ContentUnit added
Actions #4

Updated by bcourt over 9 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bcourt
Actions #5

Updated by bcourt over 9 years ago

  • Status changed from ASSIGNED to MODIFIED
  • Sprint/Milestone set to 15
  • % Done changed from 0 to 100
Actions #6

Updated by bcourt over 9 years ago

  • Platform Release set to 2.7.0
Actions #7

Updated by bmbouter over 9 years ago

  • Groomed set to Yes
  • Tags deleted (Groomed)
Actions #8

Updated by bmbouter over 9 years ago

  • Sprint Candidate set to Yes
  • Tags deleted (Sprint Candidate)
Actions #9

Updated by dkliban@redhat.com over 9 years ago

  • Status changed from MODIFIED to 5
Actions #10

Updated by rbarlow almost 9 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #11

Updated by bmbouter almost 7 years ago

  • Sprint set to April 2015
Actions #12

Updated by bmbouter almost 7 years ago

  • Sprint/Milestone deleted (15)
Actions #13

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF