Point developers to devcontainer-reset-db in README - #60
Merged
Conversation
Recommend `uceap devcontainer-reset-db` as the default way to reset a local database, and clarify when `uceap refresh-content` is still needed (current DEV content, the files directory, or LIVE data). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
devcontainer-reset-db runs drush deploy by default, so the recipe needs --skip-deploy to leave the database at its seed state and let the developer run the composer install / drush deploy dance themselves. The qa checkout is dropped: the seed database is already at the deployed state, so switching branches before the reset accomplishes nothing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This reverts commit b76e0a7.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the Tips and tricks section to lead with
uceap devcontainer-reset-dbinstead ofuceap refresh-content.devcontainer-reset-db: it recreates the mariadb container from the seed data baked into its image and runsdrush deploy, with no Pantheon download.devcontainer-reset-db, withcomposer installadded before it — unlikerefresh-content, reset-db doesn't install dependencies, and its trailingdrush deployruns against whatever code is checked out.refresh-contentis still the right tool: the baked seed data is a point-in-time DEV snapshot and excludesweb/sites/default/files.TERMINUS_ENV=live uceap refresh-contenttip unchanged — reset-db can't pull LIVE data.🤖 Generated with Claude Code