shaal / DrupalPod

Start Drupal contributions with 1 click.
https://shaal.github.io/DrupalPod
MIT License
163 stars 54 forks source link

Drupal 11 Compatibility #133

Closed shaal closed 1 year ago

shaal commented 1 year ago

Summary by CodeRabbit

codesandbox[bot] commented 1 year ago

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

coderabbitai[bot] commented 1 year ago

Walkthrough

This pull request introduces a reorganization of the Drupal setup scripts, improving modularity and maintainability. It adds support for composer-drupal-lenient based on Drupal core version, refactors module installation, and enhances environment setup for headless Gitpod.

Changes

File Path Summary
.gitpod/drupal/drupalpod-setup/... Introduced new file structure for drupalpod-setup.sh, dividing it into logical sections. Added sourcing of setup_env.sh, install_modules.sh, and drupal_version_specifics.sh.
.gitpod/drupal/drupalpod-setup/setup_env.sh Added script to set up default configurations for a prebuild process.
.gitpod/drupal/drupalpod-setup/install_modules.sh Added script to set environment variables for Drupal modules.
.gitpod/drupal/drupalpod-setup/drupal_version_specifics.sh Added support for composer-drupal-lenient package based on Drupal core version.
.gitpod.yml Updated file path for drupalpod-setup.sh due to reorganization of file structure.
.gitpod/drupal/install-essential-packages.sh Improved robustness and error handling by adding variable initialization and modifying conditionals.

🐇💻

"In the land of code where the shadows lie, A rabbit hopped forth under the cloudless sky. With each line of code, it danced and twirled, Celebrating changes that bettered the world. Now with scripts so modular, clean, and neat, The rabbit rejoiced, its mission complete!"

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume. - Additionally, enter `@coderabbitai pause` to halt the bot's ongoing reviews as any issue or review comment. To resume reviews, enter `@coderabbitai resume` as any issue or review comment.
ghost commented 1 year ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/shaal/DrupalPod/133/86061ae8/089584643c69798f423217c2cc1365f50c200b24.svg)](https://app.codesee.io/r/reviews?pr=133&src=https%3A%2F%2Fgithub.com%2Fshaal%2FDrupalPod) #### Legend CodeSee Map legend