dev commands help OSS contributors test Drupal contrib changes against a local site. They require a local sitectl context because they edit the checked-out project tree.
ISLE contexts can use these commands through the Drupal plugin because the ISLE plugin includes Drupal.
checkout-pr
Checkout a module or theme branch and bind-mount it into the Drupal container:drupal-projects/, detects the extension from its .info.yml, updates docker-compose.override.yml, and runs docker compose up drupal -d. Use --skip-up when you only want the file changes.
patch-pr
Add a GitHub pull request patch tocomposer.json:
extra.patches and then runs docker compose build drupal followed by docker compose up drupal -d. Use --skip-run to edit composer.json without rebuilding.
overwrite-starter-site
Overwrite the active context’s Drupal root from an upstream GitHub archive:islandora-devops/islandora-starter-site@main. The command removes upstream development metadata such as .github, .git, ci, and renovate.json5, preserves assets/patches/default_settings.txt when present, and ensures custom module and theme directories remain tracked.
create-starter-site-pr
Prepare or create a pull request for upstream root updates:--force, the command stages changes and prints the status for review. With --force, or inside GitHub Actions, it creates the branch, commits, pushes, and runs gh pr create.
