Project

Profile

Help

Refactor #2139

Migrate repositories collection to the repository table.

Added by jortel@redhat.com about 3 years ago. Updated 4 months ago.

Status:
NEW
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 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/distributors MODIFIED Actions
Copied to Pulp - Refactor #2183: Migrate repo_groups collection to the repository_group table. CLOSED - WONTFIX Actions

History

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

  • Description updated (diff)

#2 Updated by jortel@redhat.com about 3 years ago

  • Tags Pulp 3 Prefactor added

#3 Updated by jortel@redhat.com about 3 years ago

  • Parent task deleted (#2089)

#4 Updated by jortel@redhat.com about 3 years ago

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

#5 Updated by jortel@redhat.com about 3 years ago

  • Description updated (diff)

#6 Updated by jortel@redhat.com about 3 years ago

  • Parent task set to #2116

#7 Updated by jortel@redhat.com about 3 years ago

  • Description updated (diff)

#8 Updated by jortel@redhat.com about 3 years ago

  • Description updated (diff)

#9 Updated by jortel@redhat.com about 3 years ago

  • Tags Pulp 3 added
  • Tags deleted (Pulp 3 Prefactor)

#10 Updated by jortel@redhat.com about 3 years ago

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

#11 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

#12 Updated by dkliban@redhat.com 4 months ago

  • Parent task deleted (#2116)

Please register to edit this issue

Also available in: Atom PDF