Skip to content

Add a core-version command. #133

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andrewbelcher
Copy link

The Issue

Streamline to process of switching branch by adding a command.

How This PR Solves The Issue

Adds the command.

Manual Testing Instructions

ddev add-on get https://github.com/<user>/<repo>/tarball/<branch>
ddev restart
ddev core-version ^10.5

Automated Testing Overview

No tests added yet.

Release/Deployment Notes

Addition of a new core-version command to update the version configuration and code via a single command, e.g.:

ddev core-version ^11.2

@weitzman
Copy link
Collaborator

I think we should change our documentation from recommending a config.local.yaml file to a new .env.contrib file. Those get read by DDEV during startup. Best of all, we can use the https://ddev.readthedocs.io/en/stable/users/usage/commands/#dotenv-set command to set the value there. This way we dont have to use regex to change values.

@weitzman
Copy link
Collaborator

This will need a test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants