Project

Profile

Help

Refactor #2184

Refactor #2116: Migrate mongo collections to postgres tables.

Migrate repo_group_distributors collection to group_distributor table.

Added by jortel@redhat.com over 3 years ago. Updated 20 days ago.

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

0%

Platform Release:
Blocks Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Complexity:
Verified:
No
Verification Required:
No
Sprint:

Description

The data in the repo_group_distributors collection needs to be migrated into the group_distributor table in postgres.

For each field in the repo_group_distributors document:

repo_group_distributors   =>  group_distributor
__________________________|____________________________
                          => id (generated)
distributor_id            => name
distributor_type_id       => type
last_publish              => last_published
                          => last_updated (auto-now)
repo_id                   => repository_id (by Foreign Key relation)
scratchpad                => scratchpad (by Scratchpad relation)
config                    => (omitted)

Notes:
  • The configuration has been modeled as first class attributes of the distributor. The config sub-document no longer exists. Using the master-detail pattern, plugins will extend the configuration by contributing a new model:
    class MyDistributor(GroupDistributor):
        setting1 = models.TextField()
        setting2 = models.TextField()
        ...
    
        class Meta:
            unique_together = ()
    

Related issues

Copied from Pulp - Refactor #2140: Migrate repo_distributors collection to repository_distributor table. NEW Actions

History

#1 Updated by jortel@redhat.com over 3 years ago

  • Copied from Refactor #2140: Migrate repo_distributors collection to repository_distributor table. added

#2 Updated by amacdona@redhat.com 12 months ago

  • Status changed from NEW to CLOSED - WONTFIX

Repo groups will not be included in pulp 3.Status

#3 Updated by daviddavis 7 months ago

  • Sprint/Milestone set to 3.0

#4 Updated by bmbouter 7 months ago

  • Tags deleted (Pulp 3)

#5 Updated by souls 20 days ago

Yes! I understand. happy wheels

Please register to edit this issue

Also available in: Atom PDF