adoroszlai commented on PR #8881:
URL: https://github.com/apache/ozone/pull/8881#issuecomment-3166753694

   > whether any committer / PMC has the privilege to push directly to master
   
   Yes.
   
   > a way to prevent these sort of issues entirely
   
   Not completely, but here's a basic sanity check to be run locally before 
merge:
   
   ```
   git fetch origin
   gh pr checkout 8881
   git merge --no-commit origin/master \
     && mvn -DskipRecon -DskipShade -DskipTests clean verify \
     && ./hadoop-ozone/dev-support/checks/checkstyle.sh \
     && ./hadoop-ozone/dev-support/checks/pmd.sh
   ```
   
   (It uses GitHub CLI, but can also be done using few more lower level 
commands.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to