Skip to content

Pluralize content view to view(s) #3801

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

bangelic
Copy link
Contributor

What changes are you introducing?

Adding (s) to content view to say content view(s).

Why are you introducing these changes? (Explanation, links to references, issues, etc.)

Link to doc bug Jira: https://issues.redhat.com/browse/SAT-33205

Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)

Checklists

  • I am okay with my commits getting squashed when you merge this PR.
  • I am familiar with the contributing guidelines.

Please cherry-pick my commits into:

  • Foreman 3.14/Katello 4.16
  • Foreman 3.13/Katello 4.15 (EL9 only)
  • Foreman 3.12/Katello 4.14 (Satellite 6.16)
  • Foreman 3.11/Katello 4.13 (orcharhino 6.11 on EL8 only; orcharhino 7.0 on EL8+EL9; orcharhino 7.1 with Leapp)
  • Foreman 3.10/Katello 4.12
  • Foreman 3.9/Katello 4.11 (Satellite 6.15; orcharhino 6.8/6.9/6.10)
  • Foreman 3.8/Katello 4.10
  • Foreman 3.7/Katello 4.9 (Satellite 6.14)
  • We do not accept PRs for Foreman older than 3.7.

@github-actions github-actions bot added Needs tech review Requires a review from the technical perspective Needs style review Requires a review from docs style/grammar perspective Needs testing Requires functional testing labels Apr 23, 2025
Copy link
Contributor

@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.

Clarifying what's needed here. Comments below, but there probably will be more changes needed.

@pr-processor pr-processor bot added Waiting on contributor Requires an action from the author Needs re-review and removed Not yet reviewed Waiting on contributor Requires an action from the author labels Apr 23, 2025
@jeremylenz
Copy link
Contributor

jeremylenz commented Apr 23, 2025

Found some more places that need updating:

image

image

image

image

image

@jeremylenz
Copy link
Contributor

These two are more than just simple word changes:

image
^ Here we should add a section right before 'Composite content views' about multiple content view environments. Something like "Assign hosts to multiple content view environments to give them access to content from more than one content view."

image
Here, we should mention MultiCV, e.g, add at the end "Or, assign hosts to multiple content view environments instead."

@jeremylenz
Copy link
Contributor

image

This sentence needs a rewrite. It's tricky because hostgroups don't support multiCV yet, but AKs do.

When the host is registered, the content view environment(s) from the activation key overwrite the original content view from the host group or host settings. Then Foreman uses the content view environment(s) from the activation key for every future task, for example, rebuilding a host.

@pr-processor pr-processor bot added Waiting on contributor Requires an action from the author Needs re-review and removed Needs re-review Waiting on contributor Requires an action from the author labels Apr 23, 2025
@bangelic
Copy link
Contributor Author

@jeremylenz Upon further research, the IBM Style guide doesn't allow for using s in a parentheses as (s). IBM Style Guide has two options, either content view environments or one or more content view environments. I recommend we go with one or more content view environments. Your thoughts?

@jeremylenz
Copy link
Contributor

IBM Style Guide has two options, either content view environments or one or more content view environments. I recommend we go with one or more content view environments. Your thoughts?

I think content view environments will suffice in most places. e.g. the host's assigned content view environments.

@bangelic bangelic force-pushed the bangelic-SAT-33205-Docs-still-reference-single-content-view-and-lifecycle-view-environments branch from 1afd7ff to c1318b6 Compare April 29, 2025 19:47
@@ -4,7 +4,7 @@
* Content views that bundle content, such as {client-os} and additional software like `Apache-2.4` or `PostgreSQL-16.2`, are easier to maintain.
Content views that are too small require more maintenance.
* If you require daily updated content, use the content view `Default Organization View`, which contains the latest synchronized content from all repositories and is available in the Library lifecycle environment.
* Restrict composite content views to situations that require greater flexibility, for example, if you update one content view on a weekly basis and another content view on a monthly basis.
* Restrict composite content views to situations that require greater flexibility, for example, if you update one content view weekly, another monthly, or assign hosts to multiple content view environments.
Copy link
Contributor

Choose a reason for hiding this comment

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

Assigning multiple content view environments is an alternative to using composite content views. It should be its own item.

Suggested change
* Restrict composite content views to situations that require greater flexibility, for example, if you update one content view weekly, another monthly, or assign hosts to multiple content view environments.
* To give hosts access to content from multiple content views, for example, if you update one content view on a weekly basis and another content view on a monthly basis, you have two options:
- Assign hosts to multiple content view environments. For more info see xxxxx
- Assign hosts to composite content views. For more info see xxxxx

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't have a section on assigning composite content views to hosts. I can reference the concept module Comparison of content view environments and composite content views.

Copy link
Contributor

Choose a reason for hiding this comment

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

sounds good! 👍

@bangelic bangelic force-pushed the bangelic-SAT-33205-Docs-still-reference-single-content-view-and-lifecycle-view-environments branch from c1318b6 to 5f42723 Compare April 30, 2025 20:07
Copy link
Contributor

@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.

I think that's it for my comments!

@maximiliankolb maximiliankolb added tech review done No issues from the technical perspective and removed Needs tech review Requires a review from the technical perspective labels May 2, 2025
Copy link
Contributor

@maximiliankolb maximiliankolb left a comment

Choose a reason for hiding this comment

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

Thanks Brian. One tiny suggestion about nested lists, rest LGTM.

@@ -4,7 +4,11 @@
* Content views that bundle content, such as {client-os} and additional software like `Apache-2.4` or `PostgreSQL-16.2`, are easier to maintain.
Content views that are too small require more maintenance.
* If you require daily updated content, use the content view `Default Organization View`, which contains the latest synchronized content from all repositories and is available in the Library lifecycle environment.
* Restrict composite content views to situations that require greater flexibility, for example, if you update one content view on a weekly basis and another content view on a monthly basis.
* To give hosts access to content from multiple content views, such as when you update one content view weekly and another monthly, you have two options:
- Assign multiple content view environments to hosts.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- Assign multiple content view environments to hosts.
** Assign multiple content view environments to hosts.

* To give hosts access to content from multiple content views, such as when you update one content view weekly and another monthly, you have two options:
- Assign multiple content view environments to hosts.
For more information, see xref:assigning-content-view-environments-to-hosts[].
- Assign composite content views to hosts.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- Assign composite content views to hosts.
** Assign composite content views to hosts.

Copy link
Contributor

@Lennonka Lennonka left a comment

Choose a reason for hiding this comment

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

Just one thing. The rest looks good. Also, please, address Maximilian's comments.

@@ -35,6 +35,10 @@ For more information about adding content overrides to hosts, see {ManagingHosts
+
For more information about adding content overrides to activation keys, see xref:enabling-and-disabling-repositories-on-activation-key_{context}[].

Multiple content view environments::
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Multiple content view environments::
Content view environments::

This should suffice.

@pr-processor pr-processor bot added the Waiting on contributor Requires an action from the author label May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs style review Requires a review from docs style/grammar perspective Needs testing Requires functional testing tech review done No issues from the technical perspective Waiting on contributor Requires an action from the author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants