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

Fixes #36221 - Allow removing products with empty URL repos from ACS #10625

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

sjha4
Copy link
Member

@sjha4 sjha4 commented Jun 21, 2023

What are the changes introduced in this pull request?

Check for presence of ACSSmartProxy before planning delete task

Considerations taken when implementing this change?

What are the testing steps for this pull request?

Create a product.
Create a yum repository with URL, sync and everything you'd do normally.
Create another yum repo without a URL.

Create a simplified ACS and add the product to it.
Try removing that product from the ACS. It fails without this PR cause we don't create SmartProxyACS records for empty URL repos.

@theforeman-bot
Copy link

Issues: #36221

@sjha4 sjha4 changed the title Fixes #36221 - Allow removing products with empty URL repos Fixes #36221 - Allow removing products with empty URL repos from ACS Jun 21, 2023
Copy link
Contributor

@qcjames53 qcjames53 left a comment

Choose a reason for hiding this comment

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

Hi Samir.

I was able to test out the new functionality added in this PR and it works as advertised. The ability to manually remove products with bad URLs was a small oversight in #35358, thank you for fixing. Everything looks good to me.

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.

Approving based on @qcjames53, thanks @sjha4!

@sjha4 sjha4 merged commit 80a84ae into Katello:master Jul 6, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants