PULL_REQUESTS_ETIQUETTE.md
These guidelines ensure high-quality commits in MinIO’s GitHub repositories, maintaining a clear, valuable commit history for our open-source projects. They apply to all contributors, fostering efficient reviews and robust code.
Pull Requests (PRs) drive quality in MinIO’s codebase by:
A poor commit lasts forever, even if code is refactored.
A strong MinIO PR:
[S3] Fix bucket policy parsing #1234) and a summary with context, referencing issues (e.g., #1234).PRs must flow smoothly through review to reach production. Large PRs should be split into smaller, manageable ones.
Title and Summary:
[Subsystem] Action Description #Issue (e.g., [IAM] Add role-based access control #567).[WIP] for in-progress PRs to avoid premature merging or choose GitHub draft PRs.Commits:
git rebase -i main to squash typos or reword messages), unless multiple contributors worked on the branch.Testing:
make test).Before Submitting:
make verify to check formatting, linting, and tests.@mentions if urgent or complex.Reviewers ensure MinIO’s commit history remains a clear, reliable record. Responsibilities include:
Commit Quality:
Code Quality:
Flow:
@username please take over).Shared Responsibility:
No Self-Edits:
Testing:
git rebase -i to refine history before submitting.By following these guidelines, we ensure MinIO’s codebase remains high-quality, maintainable, and a joy to contribute to. Happy coding!