-
Notifications
You must be signed in to change notification settings - Fork 93
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
Discuss and decided on branch protection policies #322
Comments
The problem is for me that I do not know all the bells and whistles of github, and I did not find an executive summary of options and their consequences/implementation. |
Here are my suggestions (for
1 Review required. Right now, for this repo, there seem to be multiple people engaged with the actual code. so I have some hope things would go relatively fast. If not, we could always disable it.
I absolutly would turn this on. even if we do not have any status hooks set up :) So the discussion would be more about which checks to enforce.
I think this is sensible, but can not judge whether or not ppl right now are signing their commits. In order to clear our PR backlog, I would opt to keep it disabled for the next few days/weeks and revisit.
👍 Otherwise temptation is just too big to "just this one commit, because I really really know what I am doing and want to be done with it." Also less of an impression of double standards.
disabled
disabled
disabled |
LGTM. Especially disallowing force-pushes is good, not even so much to guard against ill intentions, but just against honest mistakes (with potential big consequences). As for signed commits - I personally not doing signing of commits (and none of the projects I have contributed to so far have asked for it), but it probably is a good idea. |
(OTOH, I guess that commit signing might be mostly useful if there's also a whitelist of people that are allowed to sign commits so you can actually check integrity? Anyone can generate a keypair and sign commits, of course.) |
I agree with most of the things proposed by @elbenfreund here but I would not require signed commits. It makes it cumbersome to have to explain to external contributors how to setup a GPG key, etc. As for pull requests and review required, we can try it but I believe some middle ground is fine too, i.e. require pull request but let the PR submitter merge its own PR if nobody reviewed it within 14 days. Or the opposite, trust people to only push tiny/sane changes (e.g doc, typo, fixup) and let them open PR that require a review for bigger more invasive changes. |
Github provides an array of additional features to enforce quality assurance policies. While this can help increasing code quality and normalizing workflow, it can also slow things down.
This issue is intended as an entry point about what policies appeal to us as developers and finding a consensus.
The text was updated successfully, but these errors were encountered: