Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refs #36540 - Removed the unnecessary enablement migrator in master #10648

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

parthaa
Copy link
Contributor

@parthaa parthaa commented Jul 13, 2023

This commit tries to address the issues listed here

PR for Issue #36120 changed default enablement for custom repos. By default all custom repos got disabled in candlepin. However a migration task was provided to add overrides for existing custom repos.

The enablement migrator introduced in that PR is no longer necessary for 4.10 (which points to the correct master) so removing it.

Considerations taken when implementing this change?

We basically want say Default Enablement Migrator must only run for anything upto 4.9 but not after.

  • 4.9 -> 4.9.1 upgrade migration is handled here
  • 4.9 => 4.10 upgrade is a addressed by this PR.

What are the testing steps for this pull request?

  • bundle exec rake katello:upgrades:4.9:update_custom_products_enablement should not change the enablement of anything.
  • Should error with no such task :).

@theforeman-bot
Copy link

Issues: #36540

This file was only needed for upgrading from 4.7/4.8 to 4.9
It is no longer needed for future updates. So removing from master
@parthaa parthaa changed the title Refs #36540 - Removing the unnecessary enablement migrator in master Refs #36540 - Removed the unnecessary enablement migrator in master Jul 13, 2023
Copy link
Member

@jeremylenz jeremylenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APJ 👍

@parthaa parthaa merged commit ee53d52 into Katello:master Jul 14, 2023
@parthaa parthaa deleted the remove-migrator branch July 14, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants