Project

Profile

Help

Issue #8626

closed

Migrate relationship between repo and importer to Pulp 3

Added by dalley over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

The relationship between Pulp 3 remotes and repositories is currently stored in the Pulp2Repositories table, but this is only temporary and will eventually be deleted from installations. Pulp 3 has an equivalent relationship already, the "remote" field on the Repository model, and it would be ideal if we could go ahead and migrate that information.

Actions #1

Updated by quba42 over 3 years ago

Note: As I remarked on the PR, using the remote field on the Repository model only works for plugins that have added the relevant remote types to the REMOTE_TYPES list (otherwise an error is thrown).

For pulp_deb this is not the case for any released version (though it has been merged to main: https://github.com/pulp/pulp_deb/pull/261). I don't know about other plugins.

Added by dalley over 3 years ago

Revision 3462b2c2 | View on GitHub

Migrate relationship between repo and importer to Pulp 3

Populate the "remote" field on the Pulp 3 repository model with the information stored in the Pulp2Repositories table, so that it can survive post-migration.

closes: #8626 https://pulp.plan.io/issues/8626

Added by dalley over 3 years ago

Revision 3462b2c2 | View on GitHub

Migrate relationship between repo and importer to Pulp 3

Populate the "remote" field on the Pulp 3 repository model with the information stored in the Pulp2Repositories table, so that it can survive post-migration.

closes: #8626 https://pulp.plan.io/issues/8626

Added by dalley over 3 years ago

Revision 3462b2c2 | View on GitHub

Migrate relationship between repo and importer to Pulp 3

Populate the "remote" field on the Pulp 3 repository model with the information stored in the Pulp2Repositories table, so that it can survive post-migration.

closes: #8626 https://pulp.plan.io/issues/8626

Actions #2

Updated by dalley over 3 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #3

Updated by pulpbot over 3 years ago

  • Sprint/Milestone set to 0.12.0
Actions #4

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF