-
Notifications
You must be signed in to change notification settings - Fork 295
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 #38048 - Add rolling content views #11240
base: master
Are you sure you want to change the base?
Conversation
Here is a question to @jeremylenz I guess. |
A content view environment should be created for each rolling content view. The label would be I would expect that rabl to work "for free" - so |
I went and double checked. We are currently doing this by calling
I am getting |
Co-authored-by: Markus Bucher <bucher@atix.de> Co-authored-by: Nadja Heitmann <nadjah@atix.de> Co-authored-by: Quirin Pamp <pamp@atix.de> Co-authored-by: Bernhard Suttner <suttner@atix.de>
* Fix sanitize content_view repository_ids param Refs OR-5274
We have decided to split out the top commit on this PR into a separate PR and issue:
The reasons for doing so are as follows:
|
We believe this PR is now "ready for review". To summarize:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great!
Tested and working pretty much as expected.
Tested with
- host assigned to multiple content view environments
- attempting to disable RH repo included in rolling CV
- attempting to remove repo from product included in rolling CV
- hammer content-view-environment list
Some outstanding UI things:
On the Red Hat Repositories page when you go to disable a repository, there's a tooltip that says "cannot be disabled because it is a part of a published content view." Should that be updated to say something like "..part of a content view" or "..part of a published or rolling content view"?
I like the icon you chose to denote rolling type (vs. CV/CCV). That should also be updated
- in new All Hosts page (ForemanColumnExtensions)
- on host details ContentViewDetails card
Some more wording (cc @maximiliankolb) and other suggestions below
id="component" | ||
title={__('Content view')} | ||
onClick={() => { setComponent(true); setComposite(false); }} | ||
title={__('Regular content view')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it will be too confusing for downstream customers to introduce a new term "Regular." We've had extensive discussion in the past about composite vs. non-composite, and what to call components of a composite content view. In the end we settled on just "Content view."
title={__('Regular content view')} | |
title={__('Content view')} |
isSelected={component} | ||
> | ||
{__('Single content view consisting of e.g. repositories')} | ||
{__('Contains a set of versioned and optionally filtered repositories')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(From the user perspective*) it's not the repositories that are versioned, but the content view itself. Perhaps
Contains repositories. Each version is a snapshot which must be published and may optionally be filtered.
* I know Pulp has repository versions but who knows what those are ;)
isSelected={composite} | ||
> | ||
{__('Consisting of multiple content views')} | ||
{__('Contains a set of regular content views')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{__('Contains a set of regular content views')} | |
{__('Contains a set of content views')} |
Issue: https://projects.theforeman.org/issues/38048
Community discussion: https://community.theforeman.org/t/transparent-content-view-for-limiting-repository-access-in-katello/39389
Hammer changes to go with this feature: Katello/hammer-cli-katello#974