-
Notifications
You must be signed in to change notification settings - Fork 24
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
Latest force pushes #228
Comments
Yeah, that's my bad... The thing that caused it was the bad (rushed?) commit messages of the recent PRs, thinking of it now I probably should have just asked you to fix them... Maybe we should enable the PR approval option for the branch protection? I myself always like to have another pair of eyes look at my changes before commiting, so we could enforce that to avoid bad commits. |
PR approval seems to be good, but looking at history I guess it can be just changed any time. But why merge commits to master are disabled and rebase enabled? In other words: rebase on master keeps master extremely clean but enforcing linear history makes contributions way more complicated when there's multiple branches and especially if there's conflicts. |
Squashing is the preferred method, I only left rebase enabled for situations like #224, where it was better to merge as multiple commits. The main goal is to keep the commit history clean and understandable, and avoid extra merge commits.
Well yes, but we can (and should) still try to stick to it as much as possible. |
True that squash is fine for most especially small changes, I am however including tests as much as possible and tests should be separated from actual code in almost all cases. I can still agree using rebase over merges as probably rebase vs merge wont be big thing currently, there's not that much outside contributions currently. It might be enough to look for possible forks and be bit more careful when it seems that someone is working outside of this repo in their own branches. That said it is good to remember that rebasing outside of private branches makes contributions harder and deters outside contributors. |
Lately there's been a lot of force pushing to master branch, this is usually harmful for projects.
As branch protection rules are joke I've just removed those for now, if administrators disagree with rules then I think that's fine but requires some discussion.
What I do disagree with is force pushing over commits made by anyone else without asking first, so to express this I've now rewritten history of my latest commits that were rewritten without first telling about possible problems.
I do also think that protection rules would be good and would improve working and testing, for this we do need some solution everyone can agree with.
If it is to allow rewriting anyone's commits and remove branch protections then fine for me but in that case I just want to hear that everyone else is okay with that.
This issue would actually belong to community meta board but mt-mods does not have such thing yet.
The text was updated successfully, but these errors were encountered: