-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Merge 17.8 beta 2 into develop #16878
Conversation
This fixes a bug where self-hosted sites that weren’t connected to Jetpack weren’t able to enter the Jetpack Install/Connect flow.
…tall-flow Stats: Fix enable stats module flow
Comments: fix moderation options on Atomic sites
…g-author Only extract author info on a new Post / Page if the user can query for authors.
You can trigger an installable build for these changes by visiting CircleCI here. |
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
Generated by 🚫 dangerJS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mokagio I am confused about the commit message for 699c48f. Previous commit 647a60a is equal to the current release/17.8
which is what I'd expect. However, I'd then expect a merge from origin/develop
into the branch whereas the commit message is Merge branch 'release/17.8' into merge/release-17.8-beta-2-into-develop
.
I tried creating a branch from release/17.8
and merged origin/develop
into it and that branch is equal to this one, so I am approving the PR. However, it might be worth closing this PR and opening one with the correct message. (assuming it's incorrect in the first place)
Also, it looks like release/17.8
can be cleanly merged into develop
, so I don't think the extra commit is even necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
List of commits and changes match the list of PRs included in this beta as per the PR description, so 👍
I'm a bit surprised to see the release notes source have been updated for WP but I don't see a jetpack release notes equivalent in this diff… was this missed? On the other end I don't see a default
nor en-US
folder in jetpack_metadata either 🤔 maybe you have implemented some kind of auto-fallback to WP implemented in tooling for cases like if they are the same for both hence only updating the WP metadata here?
Approving anyway because this is not a blocker and release notes will be downloaded from GP again later on finalize_release anyway, but just wanted to raise this in advance to be sure.
@oguzkocer I might be wrong but when I saw this commit I interpreted it as "Gio created the intermediate branch but then added new commits to the release branch later like the metadata stuff, so he merged release/17.8 into the intermediate branch again to make it include those too"; which honestly could have just been a fast-forward if that's the case rather than a merge commit, but as long as it contains the expected commits and the end result is the same, is ok too 🙂 (Which means I agree with you that the intermediate branch was probably not strictly necessary) But maybe I misread that commit and you're right in your suspicion, so worth waiting for Gio to validate before merging 🙃 |
@AliSoftware I thought about that too, but then I checked the commits and 647a60a is clearly equal to |
Ah, good catch! Yeah I agree, I prefer doing it the other way around too (= cut intermediate from release then merge develop in it rather than the opposite) like you suggest, exactly for that reason; even if the end result ends up the same, it conveys our intent better indeed 👍 |
@oguzkocer @AliSoftware: thank you for your reviews. I've seen your comments, I'm at my EOD and EOW and don't have time to give them thoughtful reply they deserve. I'm going to merge this now (because you both approved it) to integrate the bug fixes and avoid conflicts against |
Also, I'm not sure about the Jetpack failure in CI on that commit but:
|
Got the same Jetpack build failure on CI on this other PR though 🤔 so maybe not just a fluke? |
Sharp as usual @AliSoftware. That's actually a bug in my setup. During the 17.7 submission, I noticed that the English (US) "What's new" field was empty for Jetpack, but I'm still to address that. |
@oguzkocer @AliSoftware: I both created the intermediate branch and did if from My rationale for using intermediate branch is that, while there were no conflicts at the time of opening the PR between I'm curious to understand why the branching approach I use doesn't communicate the intent clearly? Where I'm coming from is that we want the changes from the release branch to go into To be clear: I'm not opposed to either of the other options: doing a straightforward Keen to hear from you 😊 Thanks. (I'll be biting my nails worried I missed some Git 101 all this time till I hear back 🤣) |
@mokagio Think of it this way, if you wanted to merge This scenario is not any different - the only reason we want to create the intermediate branch is because we don't want to merge I don't think I've ever create a branch from Does that make sense? |
@mokagio Here is one more thing to consider: When you start from the base branch and merge the release branch into it, you create 96f3f4b which is basically the whole PR because that's what applied all the changes. Even the commit list in the PR is a bit misleading, because the commits that show up are actually from the merge commit and they were not directly applied. Here is the same merge commit when I start from the release branch and merge |
Thanks @oguzkocer. Your explanation makes sense to me.
I always rebase when I can. I wish there was a way from GitHub to resolve the conflicts without having to pull the base branch into the PR branch. The only way to achieve it achieve it woulb be doing the merge locally and pushing it, but that's obviously not an option in a large team.
I find it useful to see that commit list, in particular the merge commits for the PRs that went into the release branch. It helps me understand what went into that beta PR. Thank you for taking the time 😄 🙇 |
Nevermind that. I used your WordPress-Android 17.8 beta 3 PR as an experiment to check this opening a PR with the branching strategy I used here. I can see what you meant regarding the commits. In that PR, your merge commit of While I like the fact that the merge commit shows all the changes that went in with it in Thanks again. I think I'll have to P2 / Field Guide about this soon to make sure 1) I assimilate it, 2) future devs (and forgetful me) will have a documented rationale for this approach. |
@mokagio I see that we are mostly on the same page now. Just wanted to clarify one thing. The misleading part about the commit list is that in that scenario, we'd actually have one merge commit which brings in a bunch of other commits. The fact that Github lists them is a good thing, it just can be interpreted as if those commits are applied to the branch directly which is not the case when we start from develop/trunk. Basically, starting from release branch and develop/trunk will list the same commits and while the former would have commits applied directly and the latter would bring the commits from the merge. Hope that clarifies the last point!
Exactly! Not doing a merge commit is even better (if possible), because it shows there were no conflicts which makes the PR easier to review. |
Includes:
Nothing to test, if CI Shows green, we're good.
Regression Notes
Potential unintended areas of impact
N.A.
What I did to test those areas of impact (or what existing automated tests I relied on)
N.A.
What automated tests I added (or what prevented me from doing so)
N.A.
RELEASE-NOTES.txt
if necessary. N.A.