Closed maximiliankolb closed 1 week ago
The PR preview for 40397d652c11a31f1a018cfa9e59745e60df446d is available at theforeman-foreman-documentation-preview-pr-3353.surge.sh
The following output files are affected by this PR:
Do we want to keep
--request GET
for curl commands?
I'd suggest to keep it for clarity because some endpoints can be accessed by using multiple methods and it's more descriptive to be explicit about the method in use even if it's the default one.
Do we want to use single or double quotes for quotes commands?
I'm assuming you mean inside the Python and Ruby code. Assuming they won't change the functionality (if they are semantically same), we might go with " (double quotes) because it looks like they are used more frequently in the code and are better for readability.
However, this requires a more in-depth research as to the semantics of the code IMHO. Perhaps even developer review.
Rebased to "master", resolved a merge conflict, and reverted a change "MB -> MiB".
Merged to "master" and cherry-picked to "3.13": 17f6cb784d..d657a19a31 3.13 -> 3.13
Thanks to everyone for their input. @apinnick @Lennonka @asteflova If you want to propose any follow-up changes, esp. to procedures about "applying errata" (we have a lot of these!), ping me. I could also open an upstream issue and look into this myself soon.
What changes are you introducing?
guides/common/modules
related to the Foreman API guideapi-
prefix similar to thecli-
prefix for CLI procedures. I consider this to have value on its own; and allow for a smoother transition in case we ever decide that we want to also show the API procedure as part of "normal aka. WebUI-based" workflows.Why are you introducing these changes? (Explanation, links to references, issues, etc.)
mostly to improve maintainability by splitting content into smaller modules. to align with existing content; help downstream integration; to prepare for the eventual merge with WebUI related procedures.
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
--request GET
for curl commands? It's the default HTTP method and the command would also work without.Checklists
Please cherry-pick my commits into: