-
-
Notifications
You must be signed in to change notification settings - Fork 28
Updated maintenance docs to split in 3 parts. #2271
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
Conversation
WalkthroughThe PR reorganizes maintenance documentation by consolidating script and test guidelines into an expanded template maintenance page, introducing a new installer documentation file, restructuring the contributing sidebar with explicit document ordering, and adding redirects. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In @.vortex/docs/content/contributing/maintenance/installer.mdx:
- Around line 105-110: Change the phrase "a hundred plus installation
permutations" to the hyphenated compound modifier "a hundred-plus installation
permutations" in the sentence that begins "For every test permutation, the
installer initiates a fresh project..." so the compound modifier is correctly
hyphenated.
In @.vortex/docs/content/contributing/maintenance/template.mdx:
- Around line 61-83: Fix typos and wording in the requirements list: change
"early exist" to "early exit" in item 7, normalize "I.e.," occurrences to
"i.e.," for examples (items 13 and 15), change "3-rd" to "3rd" in item 14, and
ensure punctuation and spacing are consistent around code examples (e.g., a
space after commas and before i.e./e.g. where used); update any affected phrases
that reference examples like VORTEX_NOTIFY_REF, command -v curl, info, pass,
VORTEX_ prefix, and VORTEX_NOTIFY_ to match those corrected words.
| For every test permutation, the installer *initiates a fresh project* from the | ||
| Vortex template with a specific combination of user selections and runs | ||
| assertions against the resulting files. Because a single template change can | ||
| affect a hundred plus installation permutations, snapshot testing makes it easy to | ||
| **review the impact of a change across all scenarios as diffs** — ensuring that | ||
| regressions are caught before they reach consumers. |
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.
Hyphenate the compound modifier “hundred-plus.”
Minor grammar polish.
✅ Proposed fix
- affect a hundred plus installation permutations, snapshot testing makes it easy to
+ affect a hundred-plus installation permutations, snapshot testing makes it easy to📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| For every test permutation, the installer *initiates a fresh project* from the | |
| Vortex template with a specific combination of user selections and runs | |
| assertions against the resulting files. Because a single template change can | |
| affect a hundred plus installation permutations, snapshot testing makes it easy to | |
| **review the impact of a change across all scenarios as diffs** — ensuring that | |
| regressions are caught before they reach consumers. | |
| For every test permutation, the installer *initiates a fresh project* from the | |
| Vortex template with a specific combination of user selections and runs | |
| assertions against the resulting files. Because a single template change can | |
| affect a hundred-plus installation permutations, snapshot testing makes it easy to | |
| **review the impact of a change across all scenarios as diffs** — ensuring that | |
| regressions are caught before they reach consumers. |
🧰 Tools
🪛 LanguageTool
[grammar] ~108-~108: Use a hyphen to join words.
Context: ...gle template change can affect a hundred plus installation permutations, snapshot...
(QB_NEW_EN_HYPHEN)
🤖 Prompt for AI Agents
In @.vortex/docs/content/contributing/maintenance/installer.mdx around lines 105
- 110, Change the phrase "a hundred plus installation permutations" to the
hyphenated compound modifier "a hundred-plus installation permutations" in the
sentence that begins "For every test permutation, the installer initiates a
fresh project..." so the compound modifier is correctly hyphenated.
| 7. SHOULD include variable values checks with errors and early exist, i.e.: | ||
| ```shell | ||
| [ -z "${VORTEX_NOTIFY_REF}" ] && fail "Missing required value for VORTEX_NOTIFY_REF" && exit 1 | ||
| ``` | ||
| 8. SHOULD include binaries checks if the script relies on them, i.e.: | ||
| ```shell | ||
| command -v curl > /dev/null || ( fail "curl command is not available." && exit 1 ) | ||
| ``` | ||
| 9. MUST contain an `info` message about the start of the script body, e.g.: | ||
| ```shell | ||
| info "Started GitHub notification for operation ${VORTEX_NOTIFY_EVENT}" | ||
| ``` | ||
| 10. MUST contain an `pass` message about the finish of the script body, e.g.: | ||
| ```shell | ||
| pass "Finished GitHub notification for operation ${VORTEX_NOTIFY_EVENT}" | ||
| ``` | ||
| 11. MUST use uppercase global variables | ||
| 12. MUST use lowercase local variables. | ||
| 13. MUST use long options instead of short options for readability. I.e., `drush cache:rebuild` instead of `drush cr`. | ||
| 14. MUST use `VORTEX_` prefix for variables, unless it is a known 3-rd party | ||
| variable like `PACKAGE_TOKEN` or `COMPOSER`. | ||
| 15. MUST use script-specific prefix. I.e., for `notify.sh`, the variable to skip | ||
| notifications should start with `VORTEX_NOTIFY_`. |
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.
Fix a few typos in the requirements list.
Small wording corrections to avoid reader confusion.
✅ Proposed fix
-7. SHOULD include variable values checks with errors and early exist, i.e.:
+7. SHOULD include variable value checks with errors and early exit, i.e.:
-10. MUST contain an `pass` message about the finish of the script body, e.g.:
+10. MUST contain a `pass` message about the finish of the script body, e.g.:
-14. MUST use `VORTEX_` prefix for variables, unless it is a known 3-rd party
+14. MUST use `VORTEX_` prefix for variables, unless it is a known 3rd-party📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| 7. SHOULD include variable values checks with errors and early exist, i.e.: | |
| ```shell | |
| [ -z "${VORTEX_NOTIFY_REF}" ] && fail "Missing required value for VORTEX_NOTIFY_REF" && exit 1 | |
| ``` | |
| 8. SHOULD include binaries checks if the script relies on them, i.e.: | |
| ```shell | |
| command -v curl > /dev/null || ( fail "curl command is not available." && exit 1 ) | |
| ``` | |
| 9. MUST contain an `info` message about the start of the script body, e.g.: | |
| ```shell | |
| info "Started GitHub notification for operation ${VORTEX_NOTIFY_EVENT}" | |
| ``` | |
| 10. MUST contain an `pass` message about the finish of the script body, e.g.: | |
| ```shell | |
| pass "Finished GitHub notification for operation ${VORTEX_NOTIFY_EVENT}" | |
| ``` | |
| 11. MUST use uppercase global variables | |
| 12. MUST use lowercase local variables. | |
| 13. MUST use long options instead of short options for readability. I.e., `drush cache:rebuild` instead of `drush cr`. | |
| 14. MUST use `VORTEX_` prefix for variables, unless it is a known 3-rd party | |
| variable like `PACKAGE_TOKEN` or `COMPOSER`. | |
| 15. MUST use script-specific prefix. I.e., for `notify.sh`, the variable to skip | |
| notifications should start with `VORTEX_NOTIFY_`. | |
| 7. SHOULD include variable value checks with errors and early exit, i.e.: |
🤖 Prompt for AI Agents
In @.vortex/docs/content/contributing/maintenance/template.mdx around lines 61 -
83, Fix typos and wording in the requirements list: change "early exist" to
"early exit" in item 7, normalize "I.e.," occurrences to "i.e.," for examples
(items 13 and 15), change "3-rd" to "3rd" in item 14, and ensure punctuation and
spacing are consistent around code examples (e.g., a space after commas and
before i.e./e.g. where used); update any affected phrases that reference
examples like VORTEX_NOTIFY_REF, command -v curl, info, pass, VORTEX_ prefix,
and VORTEX_NOTIFY_ to match those corrected words.
|
|
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2271 +/- ##
==========================================
- Coverage 77.07% 76.46% -0.61%
==========================================
Files 114 107 -7
Lines 5993 5834 -159
Branches 44 0 -44
==========================================
- Hits 4619 4461 -158
+ Misses 1374 1373 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary by CodeRabbit
New Features
Documentation