Project

Profile

Help

Refactor #2139

closed

Migrate repositories collection to the repository table.

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

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

0%

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

Description

The data in the repos collection needs to be migrated into the repository table in postgres.

For each field in the repository document:

repos               =>  repository
____________________|____________________________
                    => id (generated)
repo_id             => name
display_name        => (omitted: redundant with name or description and don't think anyone is using this)
description         => description
notes               => notes (by Notes relation)
scratchpad          => scratchpad (by Scratchpad relation)
content_unit_counts => (omitted: calculated by content_summary())
last_unit_added     => last_content_added
last_unit_removed   => last_content_removed
_ns                 => (omitted)

Related issues

Related to Pulp - Refactor #2089: create django models for repos/importers/distributorsCLOSED - CURRENTRELEASEjortel@redhat.com

Actions
Copied to Pulp - Refactor #2183: Migrate repo_groups collection to the repository_group table.CLOSED - WONTFIX

Actions

Also available in: Atom PDF