-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Catch misuses of the Var component #51081
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ptgott
added
backport/branch/v15
backport/branch/v16
backport/branch/v17
no-changelog
Indicates that a PR does not require a changelog entry
labels
Jan 15, 2025
github-actions
bot
requested review from
greedy52,
hugoShaka,
Joerger,
kimlisa,
mmcallister,
probakowski,
r0mant,
ravicious,
rosstimothy,
strideynet,
tigrato,
timothyb89,
xinding33 and
zmb3
January 15, 2025 20:17
Amplify deployment status
|
tigrato
approved these changes
Jan 16, 2025
strideynet
approved these changes
Jan 16, 2025
public-teleport-github-review-bot
bot
removed request for
ravicious,
r0mant,
timothyb89,
probakowski,
mmcallister and
zmb3
January 16, 2025 11:17
public-teleport-github-review-bot
bot
removed request for
greedy52,
hugoShaka,
Joerger,
xinding33,
rosstimothy and
kimlisa
January 16, 2025 11:17
ptgott
force-pushed
the
paul.gottschling/29905-var-misuses
branch
from
January 16, 2025 18:26
2eda189
to
dc7d6c1
Compare
Closes #29905 Add a Vale style rule to catch docs pages in which there is a single instance of a Var. This ensures that Vars reuse information as intended. Also fix single-instance Vars that violate the rule. For the most part, this means either: - Instructing the user to assign the Var, meaning that there are no easy-to-miss Vars hiding in a configuration snippet - Removing unnecessary Vars, e.g., if an example command is meant to illustrate a possibility and is not mean to be copied and pasted - Fixing mistakes in Var usage, e.g., a Proxy Service address variable that has two possible names, `teleport.example.com` and `example.teleport.sh`.
ptgott
force-pushed
the
paul.gottschling/29905-var-misuses
branch
from
January 16, 2025 18:27
dc7d6c1
to
8e60f3f
Compare
auto-merge was automatically disabled
January 16, 2025 18:47
Pull Request is not mergeable
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Jan 16, 2025
ptgott
added a commit
that referenced
this pull request
Jan 17, 2025
Backports #51081 Closes #29905 Add a Vale style rule to catch docs pages in which there is a single instance of a Var. This ensures that Vars reuse information as intended. Also fix single-instance Vars that violate the rule. For the most part, this means either: - Instructing the user to assign the Var, meaning that there are no easy-to-miss Vars hiding in a configuration snippet - Removing unnecessary Vars, e.g., if an example command is meant to illustrate a possibility and is not mean to be copied and pasted - Fixing mistakes in Var usage, e.g., a Proxy Service address variable that has two possible names, `teleport.example.com` and `example.teleport.sh`.
ptgott
added a commit
that referenced
this pull request
Jan 17, 2025
Backports #51081 Closes #29905 Add a Vale style rule to catch docs pages in which there is a single instance of a Var. This ensures that Vars reuse information as intended. Also fix single-instance Vars that violate the rule. For the most part, this means either: - Instructing the user to assign the Var, meaning that there are no easy-to-miss Vars hiding in a configuration snippet - Removing unnecessary Vars, e.g., if an example command is meant to illustrate a possibility and is not mean to be copied and pasted - Fixing mistakes in Var usage, e.g., a Proxy Service address variable that has two possible names, `teleport.example.com` and `example.teleport.sh`.
mvbrock
pushed a commit
that referenced
this pull request
Jan 18, 2025
Closes #29905 Add a Vale style rule to catch docs pages in which there is a single instance of a Var. This ensures that Vars reuse information as intended. Also fix single-instance Vars that violate the rule. For the most part, this means either: - Instructing the user to assign the Var, meaning that there are no easy-to-miss Vars hiding in a configuration snippet - Removing unnecessary Vars, e.g., if an example command is meant to illustrate a possibility and is not mean to be copied and pasted - Fixing mistakes in Var usage, e.g., a Proxy Service address variable that has two possible names, `teleport.example.com` and `example.teleport.sh`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport/branch/v15
backport/branch/v16
backport/branch/v17
documentation
no-changelog
Indicates that a PR does not require a changelog entry
size/sm
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #29905
Add a Vale style rule to catch docs pages in which there is a single instance of a Var. This ensures that Vars reuse information as intended.
Also fix single-instance Vars that violate the rule. For the most part, this means either:
teleport.example.com
andexample.teleport.sh
.