Project

Profile

Help

Refactor #2139

closed

Migrate repositories collection to the repository table.

Added by jortel@redhat.com over 8 years ago. Updated over 4 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
Actions #1

Updated by jortel@redhat.com over 8 years ago

  • Description updated (diff)
Actions #2

Updated by jortel@redhat.com over 8 years ago

  • Tags Pulp 3 Prefactor added
Actions #3

Updated by jortel@redhat.com over 8 years ago

  • Parent issue deleted (#2089)
Actions #4

Updated by jortel@redhat.com over 8 years ago

  • Related to Refactor #2089: create django models for repos/importers/distributors added
Actions #5

Updated by jortel@redhat.com over 8 years ago

  • Description updated (diff)
Actions #6

Updated by jortel@redhat.com over 8 years ago

  • Parent issue set to #2116
Actions #7

Updated by jortel@redhat.com over 8 years ago

  • Description updated (diff)
Actions #8

Updated by jortel@redhat.com over 8 years ago

  • Description updated (diff)
Actions #9

Updated by jortel@redhat.com over 8 years ago

  • Tags Pulp 3 added
  • Tags deleted (Pulp 3 Prefactor)
Actions #10

Updated by jortel@redhat.com over 8 years ago

  • Copied to Refactor #2183: Migrate repo_groups collection to the repository_group table. added
Actions #11

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #12

Updated by dkliban@redhat.com over 5 years ago

  • Parent issue deleted (#2116)
Actions #13

Updated by ttereshc over 4 years ago

  • Project changed from Pulp to Migration Plugin
  • Status changed from NEW to CLOSED - DUPLICATE

Done as a part of the initial migration plugin release.

Also available in: Atom PDF