-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Remove 90% of the last-minute effort required to backport PHP changes to wordpress-develop #40548
Comments
For changes to existing features that exist in Core this makes sense but I'm not sure how it would work for new or experimental features. For example, if I open a Gutenberg PR that changes something about the Navigation screen, I can't open a corresponding Core PR because the Navigation screen doesn't exist in Core. |
It could work for new code as well, if we want that new code to land in the next version you could open the PR that adds the code in the correct core place. |
In my opinion, the solution proposed by @adamziel is totally valid. We had the same process on one of the open-source projects I was involved in. Speaking of WordPress, there must be a requirement to backport changes from Core to Gutenberg too. |
Yes but you would have to keep track of all previous |
But these are experimental in gutenberg not in core. They land in core once, and that's when the core PR should be done. |
I really like this proposal ! As the Editor Tech Co-lead for 6.1 together with @ockham we'll keep a close eye on it 🙂 |
@michalczaplinski feel free to take the lead here - as the release lead you are well positioned for that! |
Thanks @adamziel. And, yes, that's what I meant to say 😄 We'll keep a close eye on the problems you mentioned and based on what we'll encounter I hope we can champion this proposal! |
What problem does this issue want to solve?
Releasing WordPress requires investigating all the Gutenberg PHP changes made since the last release.
Me and @gziolo led that effort for the 6.0 release. It was hard, time consuming, and the mistakes turned into stressful last-minute fixes. And I mean not for just us, but also for the authors of the related PHP changes.
We believe there's a way to make this process faster, more reliable, and less stressful for everyone involved.
What effect does this issue want to achieve?
Here's what the process looked like for us. Let's find a way to remove or simplify as many steps as possible:
What solution does this issue proposes?
One solution would be to require creating a backport PR before merging any PHP changes into the Gutenberg repository. Note I mean specifically creating the backport PR, not merging it. It could just sit there, reviewed, and wait for the release.
Why? It will never be easier:
Conflicts will happen, but that's okay. Resolving conflicts later on is much easier than executing the entire backporting process.
But it would create a speed bump for merging Gutenberg changes
That speedbump is already there, it's just invisible until the release. Requiring a backport early would actually make that speed bump smaller – it wouldn't have any time to grow.
How? A CI check could be a good start. It would be red when no backport is mentioned in the PR description, or green when there is one. It's not a watertight system for sure, but perhaps it would suffice.
If there's a better solution, let's discuss that! I also remember @gziolo also had an alternative idea.
cc @peterwilsoncc @annezazu @priethor @noisysocks @mtias @Mamaduka @paaljoachim @hellofromtonya @oandregal @youknowriad @mcsf @scruffian @draganescu @getdave @desrosj @ndiego @costdev
The text was updated successfully, but these errors were encountered: