-
Notifications
You must be signed in to change notification settings - Fork 105
Removing firewall config snippets #4253
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
Removing firewall config snippets #4253
Conversation
|
The PR preview for 0452b61 is available at theforeman-foreman-documentation-preview-pr-4253.surge.sh No diff compared to the current base |
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.
style-wise LGTM, but as with #4252: I do not fully agree with the notion that the snippets are useless. Is there another reason to drop them? I am OK either way.
Snippets are not useless! These snippets are. 😄 Very short snippets where the wording does not make much difference to the end user, as long as the content is correct (notes, single procedure steps) require additional maintenance, which is not justified by their limited use. IMO, snippets are best suited for complex content where the wording matters, like configuration files or legal notices. We use a snippet for a policy.rego file that we have to publish in more than one doc. The complexity of the file justifies the maintenance of a snippet. |
|
Oops, merged that prematurely. Meant to wait to EOD. |
I suggest to revert this merge because I'm implementing this change as part of a larger review of our procedures to open ports in #4210 |
That's fair. I think it's easiest if you revert this commit on your branch and then keep your existing changes. If you keep the revert directly on top of HEAD of "master", you won't have to resolve any merge conflicts. Does this work for you @aneta-petrova ? |
|
@maximiliankolb I'm not sure that would work because my PR needs to be eventually cherry-picked to an earlier version as well (it's part of the installation guide changes) while this PR was merged only to master. @apinnick Please consider taking one of these two actions: cherry-pick this PR also to 3.16, or revert. |
After merging two or more commits based on your PR, you could omit cherry-picking the first commit on your branch to 3.16 (and below if necessary). It could work, but I also understand the desire to fix it first/on a different PR. |
|
While I could resolve the conflict in my PR, I also think that when this is a result of a recent commit that was merged without adhering to our contribution guidelines, the best path forward is for the person who merged the commit to contribute to a solution. I've hinted at two possible solutions above, but I'm open to any other ideas that @apinnick might have. |
|
I will revert merge. Well, I would revert the merge if the linkchecker did not block me from doing so.... Update: Merged! |
What changes are you introducing?
Removing snip_make-firewall-settings-persistent.adoc and snip_verify-firewall-settings.adoc
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
Snippets that contain a single step are problematic because they introduce potential problems with step numbering. They are also unlikely to be re-used unless a writer is aware of their existence.
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
Tech review and testing not required
Contributor checklists
Please cherry-pick my commits into:
Review checklists
Tech review (performed by an Engineer who did not author the PR; can be skipped if tech review is unnecessary):
Style review (by a Technical Writer who did not author the PR):