-
Notifications
You must be signed in to change notification settings - Fork 107
Add a Vale rule to report usage of downstream branded terms #4472
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
base: master
Are you sure you want to change the base?
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR automates enforcement of downstream branded terminology by adding a Vale substitution rule and streamlines the contributing guide by removing the branded-terms table in favor of a single attribute reference. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
|
The PR preview for 93297cb is available at theforeman-foreman-documentation-preview-pr-4472.surge.sh No diff compared to the current base |
maximiliankolb
left a comment
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.
That's a great idea! I don't know how to run this locally yet, but I assume that you've tested it and it works.
When running the check on the whole repo, the rule currently reports a few cases...
This is OK for me because we do not enforce a green Vale check yet. If we did, we might have to extend this rule, add some exceptions, and fix the issues. Not a blocker in my eyes.
Thanks Anet!
What changes are you introducing?
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
To automate the reviews of these errors and to make the contributing guidelines a little bit shorter.
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
The rule reports only downstream terms by design. In some cases, using "Foreman" is actually appropriate. Additionally, most of the cases I've seen as a reviewer were about PR authors (myself included) accidentally using "Satellite", which is what the rule is designed to report.
When running the check on the whole repo, the rule currently reports a few cases of "Satellite" being used, for example
foreman-documentation/guides/common/modules/proc_migrating-a-host-from-red-hat-network.adoc
Line 4 in 92fbccf
Contributor checklists
Please cherry-pick my commits into:
Summary by Sourcery
Enforce use of AsciiDoc attributes instead of branded downstream terms by adding a Vale substitution rule and simplifying the contributing guidelines to remove the detailed terminology table.
New Features:
Documentation:
{Project}attribute instead