-
Notifications
You must be signed in to change notification settings - Fork 896
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
doc: change to hyphenated keys #5909
base: main
Are you sure you want to change the base?
Conversation
12b6c93
to
06556e7
Compare
06556e7
to
2ff05c7
Compare
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.
Managed to find some not picked up by the regex.
By changing the terms in the URLs, all of the links are now 404ing/broken. You'll probably want to revert those ones at least :)
For simplicity, I've not looked at the rendered preview this round, only what's presented here - but one pattern I noticed is that space-separated, capitalised terms (e.g. in headers and at the start of sentences) didn't seem to be picked up by the regex either. You might want to do a second pass to include those
I spotted a couple of GB_en spellings as well, I included those as suggestions.
You may also want to include the context around what we're standardizing on and why in the PR description - I was missing that context as I was going through, so I'm not sure if all my suggestions are actually correct. I'm also still not clear (and actually less clear now) on the difference between meta-data, instance-data, instance-metadata, and instance meta-data (some of these are still used interchangeably)
- **user data**, **vendor data**: Two words, not to be combined or hyphenated. | ||
- **datasource**: One word. | ||
- **user-data**, **vendor-data**, **cloud-config**, **instance-data**: Two | ||
words, not to be combined or hyphenated. |
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.
Description doesn't match the change
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.
It's probably worth briefly re-writing this whole paragraph to make sure that it correctly reflects what the situation is now (i.e., if all terms are to be hyphenated for consistency, does metadata need to be on a separate bullet point?)
Thanks for the review @s-makin :-)
Nice, thanks!
Thanks for spotting that! I'll re-run the script with that included and check what falls out after that change.
Will do, thanks!
I'll clarify in the docs, but the tl;dr is that metadata is a far-too-overused term that I'd like us to avoid as much as possible for a two reasons:
Users might benefit from a page full of definitions, here is a start for some of the ones that are relevant to this document (I wouldn't want to document or use, the "synonyms"):
We could (should?) probably replace all use of the word "metadata" in our docs with the word "data" simply to avoid the need for disambiguation. This PR aims to standardize the above table (in addition to vendor-data and user-data). There is obviously a lesson to be learned from this whole mess about the benefits of selecting good names for core concepts (and using them consistently!). Thanks again @s-makin for pointing out the confusing bits. Please let me know if this explanation helps - I can add this to the PR message and try to standardize the term instance-data a better in the docs. |
@TheRealFalcon could you please review my last comment? |
I think a big part of the problem is that these concepts are taken directly from ec2. "user data" is a thing. "Instance metadata" is a thing. We then layered meta-data on top of that for reasons. Now that we're supporting several more clouds, I think using our own terminology like user-data and instance-data is fine, especially since we're not simply storing all the instance metadata coming from ec2. Your proposed words there look good to me. I generally prefer "instance metadata server" to IMDS just because it's another acronym that not many people reading our docs will know. If we're saying it a ton, I think "instance metadata server (IMDS)", or maybe providing a link on first use of a page is fine, but if a random reference appears out of the blue, I would prefer using the whole "instance metadata server". |
@TheRealFalcon I adjusted the terminology to prefer "instance metadata service", and addressed the remaining comments from @s-makin. |
Fixes GH-5555
Proposed Commit Message
Additional Context
Fixes #5555
Most of this work was completed with a simple sed script. I reviewed the changes and reverted any errors.
Merge type