Conversation
* changed to videos/ * use mss style on rtfd
Bumps [benc-uk/workflow-dispatch](https://github.com/benc-uk/workflow-dispatch) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/benc-uk/workflow-dispatch/releases) - [Commits](benc-uk/workflow-dispatch@v1.2.3...v1.2.4) --- updated-dependencies: - dependency-name: benc-uk/workflow-dispatch dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
validate xml content
|
My understanding was that these kinds of PRs should be merged using a real merge, not by squashing them. |
|
dammit, my bad. shall I revert this? |
|
We can revert by MR or by force push. probably should use the revert feature? |
|
I think force pushing would be a bad idea since it is the public develop branch, not some feature branch. At least one of the GSoC students has already pulled the squash commit, so force pushing would necessitate some cleanup. Revert seems better, but ultimately I would defer that decision to @ReimarBauer. |
|
I think also revert is better. Please prepare that. We learn also. |
|
Yes, we should rediscuss this. This squashing/non-squashing is always an issue. gitlab handles this much better IMO. |
|
FWIW, if we used a backports-based workflow as suggested in #2206 then this kind of accident would become impossible. Every PR merge would always be a squash. Also, there would be no confusion as to which branch to target with PRs, as (almost) all changes would go to develop first. I don't see how GitLab would handle this differently, as long as there are different kinds of PRs that need to be treated differently there will be a potential for these mistakes. |
|
The downside of the approach is that I think it fits good to EffVer and I have doubts that we will do the right changes for a released version having SemVer. |
|
Gitlab allows to determine the kind of merge upon creating the Merge Request via checkboxes. I.e. the creator can set them properly and the reviewer can check. 4-eye-principle. Whereas github forces the sole responsibility on the button-presser. |
OK, I didn't know that. That indeed would make the situation somewhat better, but the result would be the equivalent of what we have with targeting stable vs develop for each PR: the creator of the PR must know what to choose, and the reviewer must check it. We have seen that this review is also easy to forget with the target branch. A backports-based workflow would completely eliminate these potential pitfalls: essentially every new change goes to develop, every PR is squashed. Every merged or un-merged PR can be labeled as to-be-backported at any point in time, even long after it was merged, and as long as there are no conflicts an automated process can create a backport PR targeting stable. If there are conflicts the backport must be done manually. But then again, this would be a situation in which, right now, we would get semantic conflicts in the "merge stable to develop" PRs, which can be hard to spot when these PRs combine a bunch of unrelated changes into one and aren't even reviewed for semantic correctness of the changes. I think there is a reason that many major open source projects supporting more than their develop version use this kind of workflow.
Yes please. |
Purpose of PR?:
get recent fixes into develop