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

CONTRIBUTE: More formally specify the commit description #10478

Closed
wants to merge 1 commit into from

Conversation

dfandrich
Copy link
Contributor

This codifies what people have actually used in git commits over the
past 6 years. I've left off some lesser-used headers that appear to
duplicate others and tried to describe a consistent use for several
others that were used more arbitrarily.

This makes it easier for new committers to find out the kinds of things
we want to acknowledge, makes it easier to perform statistical analysis
on commits, and opens the possibility of performing lint checks on
descriptions before submission.

QUESTIONS:

The number of endorsed header types could be reduced and simplified, e.g.:

  • Use Reported-by: instead of Found-by:
  • Use Assisted-by: instead of Tested-by:
  • Use Acked-by: instead of Approved-by:
  • or use Reviewed-by: instead of Acked-by: and Approved-by:
  • Use Authored-by: for each author instead of Co-Authored-by:

Endorsing them all does allow slightly more fine-grained information at the
price of slightly higher cognitive load reading them.

@jay
Copy link
Member

jay commented Feb 12, 2023

I don't think we need every instance of -by to be explained, we already know and state whatever-else-by: is an attribution. Some of the more common terms could be suggested on a single line like "Some common attribution terms are Reviewed-by, Signed-off-by, etc". Acked-by and tested-by aren't used like ever AFAICT.

@dfandrich
Copy link
Contributor Author

Jay's suggestion makes the text considerably smaller and more approachable so I've done that.

This codifies what people have actually used in git commits over the
past 6 years. I've left off some lesser-used headers that appear to
duplicate others and tried to describe a consistent use for several
others that were used more arbitrarily.

This makes it easier for new committers to find out the kinds of things
we want to acknowledge, makes it easier to perform statistical analysis
on commits, and opens the possibility of performing lint checks on
descriptions before submission.

Reviewed-by: Daniel Stenberg
Reviewed-by: Jay Satiro

Closes #10478
@dfandrich dfandrich closed this in 1807eb5 Feb 13, 2023
@dfandrich dfandrich deleted the dfandrich/contrib branch February 13, 2023 20:16
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
This codifies what people have actually used in git commits over the
past 6 years. I've left off some lesser-used headers that appear to
duplicate others and tried to describe a consistent use for several
others that were used more arbitrarily.

This makes it easier for new committers to find out the kinds of things
we want to acknowledge, makes it easier to perform statistical analysis
on commits, and opens the possibility of performing lint checks on
descriptions before submission.

Reviewed-by: Daniel Stenberg
Reviewed-by: Jay Satiro

Closes curl#10478
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants