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 #36492 - duplicate content warning for composite CVs for non-docker repos #10741

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

sjha4
Copy link
Member

@sjha4 sjha4 commented Sep 15, 2023

What are the changes introduced in this pull request?

Adds a notice to composite CVs publish screen if component CV versions have the same repositories added.
Screenshot from 2023-09-18 13-37-43

Considerations taken when implementing this change?

What are the testing steps for this pull request?

1, Create 2 CV versions with same repo
2.Add both to a composite CV
3. Publish. You should see a notice explaining duplicate content will be merged into the Composite CV version. The text is copied from earlier: https://github.com/Katello/katello/pull/8198/files

@theforeman-bot
Copy link

Issues: #36492

@sjha4
Copy link
Member Author

sjha4 commented Sep 15, 2023

Test failures expected. Will update those.

@sjha4
Copy link
Member Author

sjha4 commented Sep 18, 2023

Updated tests..Should be green..

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.

We don't use the term "component content views" any more..

webpack/scenes/ContentViews/Publish/CVPublishForm.js Outdated Show resolved Hide resolved
webpack/scenes/ContentViews/Publish/CVPublishForm.js Outdated Show resolved Hide resolved
@sjha4 sjha4 force-pushed the dup_rep_warning_composite_cv branch from 7bb76f2 to d689532 Compare October 5, 2023 20:28
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.

Works as expected 👍

APJ

@sjha4 sjha4 merged commit a485b37 into Katello:master Oct 5, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants