Skip to content

docs: add conventional commit guide and PR title examples #15638

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

THEAYUSHIMISHRA
Copy link

@THEAYUSHIMISHRA THEAYUSHIMISHRA commented Apr 8, 2025

Summary

Added a new section under Conventional Commits & Labeling PRs that provides:

  • A table of common commit prefixes and their purposes
  • Example PR titles for clarity
  • A link to the official Conventional Commits specification

Purpose

This addition is intended to assist new contributors in formatting their commit messages and PR titles effectively. It helps maintain consistency, improves changelog automation, and aligns with the contribution guidelines.

Which issue does this PR close?

  • This PR does not close any existing issue. It's a small improvement to the contributing guide.

Rationale for this change

This change enhances contributor experience by providing clear, practical examples and formatting guidance. It supports the maintainers’ existing structure and promotes better practices for contribution labeling.

What changes are included in this PR?

1)Added a commit prefix table
2)Included example PR titles
3)Added a helpful external reference link

Are these changes tested?

As this is a documentation update, testing is not applicable.

Are there any user-facing changes?

Yes, this improves the documentation for all contributors, particularly newcomers. No functional changes are made to the project.

### Summary

Added a new section under **Conventional Commits & Labeling PRs**  that provides:
- A table of common commit prefixes and their purposes
- Example PR titles for clarity
- A link to the official Conventional Commits specification

### Purpose

This change aims to help new contributors understand how to format commit messages and pull request titles effectively, improving changelog automation and project consistency.
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 8, 2025
@THEAYUSHIMISHRA
Copy link
Author

THEAYUSHIMISHRA commented Apr 8, 2025

Hi @alamb @fintelia @zebsme !
I’ve submitted a small documentation update the documentation, aiming to improve clarity for new contributors on conventional commit formats.
Whenever you or any available reviewer gets a moment, I’d truly appreciate your feedback or suggestions. Thanks a lot for your time and for maintaining such a great project!

- `feat: add support for XYZ operator`
- `chore: update Cargo dependencies`

Using these formats helps:
Copy link
Contributor

Choose a reason for hiding this comment

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

I was thinking on github labels actually solves the problem to identify the PR flavor but changelog sounds reasonable. But just having prefixes is not enough, we need to have PR title checker like we did in Comet https://github.com/apache/datafusion-comet/blob/main/.github/workflows/pr_title_check.yml

@alamb
Copy link
Contributor

alamb commented Apr 10, 2025

Thank you for this proposal @THEAYUSHIMISHRA

I think for a PR such as this, we should get some agreement or try and summarize what currently happens in DataFusion rather than trying to change what happens in the future with documentation

I fear if we merge this PR it will just add to confusion as most PRs will not conform to the suggestions and thus people will wonder about the rest of the docs when they see stuff in there that is clearly not followed

@alamb alamb marked this pull request as draft April 10, 2025 18:50
@alamb
Copy link
Contributor

alamb commented Apr 10, 2025

Converting to draft as th CI checks are failing and I think this PR is no longer waiting for feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants