Hello NetBeans devs,

PR reviews and merges:

In the last weeks we had: a new "noreply" mail merged (first time contributor), at least two merges to delivery from outside of the release team and a PR merged where CI didn't run. This was noticed when master failed which had to be fixed afterwards.

This all could have been avoided with a quick look at the pre-merge check list before pressing the button. (the author/email validation can be hopefully automated, see below)

I would also like to update the reviewer guide with another note: reviewers should not change the PR target without also leaving a comment on the PR. We had at least one situation where the committer who merged did likely not notice that the target changed! Further: retarget will almost always also require rebaseing of the branch + new CI run after rebase + new manual testing (review!) in case of delivery integration - so this _can't_ be simply changed without communication.

here the links to the relevant wiki pages as reminder:

https://cwiki.apache.org/confluence/display/NETBEANS/PRs+and+You+-+A+reviewer+Guide

https://cwiki.apache.org/confluence/display/NETBEANS/Pull+requests+for+delivery (guide does also link to this page)


commit header validation during CI:

I re-tested and updated yesterday an old PR which is an attempt to implement basic commit header validation. We talked about this on several occasions (usually after something happened, directly in the PR comments or ASF slack), it will fail the "paperwork" job on github-typical "noreply" mails, single-word author names (indicator for github account name) and empty or single word commit messages (indicator for unsquashed PR accidents about to happen).

This is only there to prevent the most common accidents/mistakes, it will not actually validate emails or anything like that.

This is imperfect of course and will cause the paperwork job to fail more often (which is fine), esp when the PR is still in development. This is why the paperwork job will now no longer prevent CI workspace cleanup from taking place on failure.

https://github.com/apache/netbeans/pull/6630


planning to merge the PR soon - if possible - but there is still time for feedback,

please take another look at the reviewer guide and delivery merge rules for those who haven't in a while,

best regards,

michael



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to