Skip to content
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

Document how to write commits #2578

Merged
merged 1 commit into from Mar 22, 2024

Conversation

tcharding
Copy link
Member

Reviewers often find themselves linking to blog posts to encourage newer devs to improve their commit logs, we can save everyones time by putting the links in the contributing docs, then we can just point devs there.

@github-actions github-actions bot added the doc label Mar 12, 2024
@tcharding
Copy link
Member Author

Review the rendered version of these changes here: https://github.com/tcharding/rust-bitcoin/blob/03-13-commit-tips/CONTRIBUTING.md#preparing-prs

@coveralls
Copy link

coveralls commented Mar 12, 2024

Pull Request Test Coverage Report for Build 8274539858

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 84.144%

Totals Coverage Status
Change from base Build 8269012797: 0.0%
Covered Lines: 19667
Relevant Lines: 23373

💛 - Coveralls

sanket1729
sanket1729 previously approved these changes Mar 12, 2024
Copy link
Member

@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 370a294

CONTRIBUTING.md Outdated
@@ -118,6 +118,12 @@ NB: reviewers may run more complex test/CI scripts, thus, satisfying all the
requirements above is just a preliminary, but not necessary sufficient step for
getting the PR accepted as a valid candidate PR for the `master` branch.

High quality commits help us review and merge you contributions, we attempt to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In 370a294:

This , should be a period, and capital We.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks.

@dpc
Copy link
Contributor

dpc commented Mar 13, 2024

BTW. Instead of/along with writing it in a document, you might want to set up a git commit template and some simple hook to install it.

Example from Fedimint:

image

as you see it's slightly different, but we could put anything there really. A link for new contributors, or to a bigger guide, or even a wallet of text verbatim.

Reviewers often find themselves linking to blog posts to encourage newer
devs to improve their commit logs, we can save everyones time by putting
the links in the contributing docs, then we can just point devs there.
@tcharding
Copy link
Member Author

Fixed grammar as suggested.

@tcharding tcharding added this to the 0.32.0 milestone Mar 14, 2024
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 8bd0394

@tcharding
Copy link
Member Author

This is docs only, could go in with a single ack.

@apoelstra apoelstra merged commit 08ff359 into rust-bitcoin:master Mar 22, 2024
187 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants