-
-
Notifications
You must be signed in to change notification settings - Fork 37
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 discussion: rename the default branch ? #160
Comments
I'm in favor of moving away from I'd say, for now, lets just move to We can always move to something more elaborate when needed. My 2️⃣🪙 |
Places that need editing for this rename:
composer-installer/CONTRIBUTING.md Line 10 in 8ab9bb5
composer-installer/CONTRIBUTING.md Line 134 in 8ab9bb5
|
@jrfnl Do we want to make this change as well for the v1 release? |
If we make this change, then, yes, the 1.0 release would be a good time to do so. I suggest doing it just before the 1.0 release. |
Another vote +1 for |
Resolved by #201 |
Eh... consider me one of those people whose workflow was broken without notification. I thought you might be able to prevent breakage by adding a branch alias, but it seems like that's not possible: composer/composer#11301 |
@danepowell Out of curiosity: why were you using the |
We needed #167 which was only in |
@danepowell Interesting. That bug was never reported by anyone, but clearly people (you) did run into it. Thanks for letting me know. The good news is, of course, that the bug fix is included in the 1.0.0 release, so you should be able to switch back to versioned updates now. |
Hey 👋🏼 A project I work on has also just been caught out by this change One of the packages we use pushed a fix yesterday changing from Whilst we work to resolve these issues on our project, we'll create upstream updates for the packages we use and hoping they're maintained and can push new releases soon as this will be tricky for packages that are not so well maintained A quick GitHub search shows 14 of the first 50 search results (3481 total results) use Unsure of a workable solution, though a solution from Composer would be ideal, I've subscribed to composer/composer#11301 and will be interested in replies there... Edit: Whilst we run our build script using the
|
@jrfnl Should we Apparently I just created one (I was fiddling around with the UI and apparent filling something in already creates the branch) |
@Potherca I don't think so. Yes, the change is inconvenient for people, however:
It's also a one-time only change (at least that's the intention) and we executed it in the most considerate way possible:
I'd recommend for people who choose to use |
The official suggestion from composer in composer/composer#11301 is that you should create a 1.x branch alias for main and projects should use that instead of dev-master or dev-main. That means not keeping a duplicate branch. |
Oh, this could be why I've not encounted this previously. GitHub redirects renamed branches, but only if they were renamed |
In a way a "bit late to the party", but should the default branch be renamed away from
master
?And if so, what would be the preferred new name ?
Some options:
main
. For a "one branch" repo, that would be an obvious choice.stable
branch as a release branch and have adevelop
branch as the default PR branch. For a new releasedevelop
would then be merged intostable
.Opinions ?
The text was updated successfully, but these errors were encountered: