-
Notifications
You must be signed in to change notification settings - Fork 2
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
We need development branches! #1134
Comments
Supporting dev branches on ct: @samreid feel like it may not be too challenging to get the CT main server set up to run on branches called |
We were in the process of trying to use the development branches from last week this morning and had an extensive investigation about how to sync main back into development branches. We found three potential ways forward:
It looked like this to pull after the force push:
|
|
Running this script in chipper and perennial was a nice starting point for the next time I wanted to use development branches.
|
If the above bash script is called import child_process from 'child_process';
( async () => {
const branch = 'development';
const results = child_process.execSync( `git branch --list ${branch}`, { shell: true } );
const hasDevBranch = results.toString().trim().length > 0;
hasDevBranch && child_process.execSync( 'bash ../sandbox/sh.sh', { shell: true, stdio: 'inherit' } )
} )(); |
An alternate approach to keep main more stable:
|
Some other thoughts about working in branches in phetsims/phet-info#222. |
Other ideas written in phetsims/chipper#1345 |
@samreid and I have been working on https://github.com/orgs/phetsims/projects/94/views/6 over the past few iterations and trying to make progress on main is totally untenable. Also creating N branches per repo is more boilerplate than needed. My vote is for a consistently named branch in every repo called "development".
Note that this also bit a use in our scenery stack community. We need to stop developing on main.
Steps:
The text was updated successfully, but these errors were encountered: