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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize Commit Message Format #83

Closed
azzamsa opened this issue Jun 29, 2024 · 3 comments
Closed

Standardize Commit Message Format #83

azzamsa opened this issue Jun 29, 2024 · 3 comments

Comments

@azzamsa
Copy link
Contributor

azzamsa commented Jun 29, 2024

Hi everyone, 馃憢馃徑

Should we start using a convention to standardize our commit messages? I propose we adopt the popular Angular Commit Message Format.

It's fine not to include the scope for now, but we should at least use the defined prefixes. This will prevent contributors from using arbitrary prefixes. Here are the prefixes we should use for each commit:

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to our CI configuration files and scripts (examples: CircleCi, SauceLabs)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • test: Adding missing tests or correcting existing tests

What do you all think?
We should add this to our CONTRIBUTING.md documentation if we agree.

@zicklag
Copy link
Collaborator

zicklag commented Jun 29, 2024

Yes, I'm good with it. I've been using conventional commits, without scopes, for a bit now.

I'm not sure we need them yet, but I've been using these CI jobs to catch unconventional commits in Bones:

I haven't bothered with merge queues or anything yet, though. I've just been squash-merging pull requests ( where I can modify the commit message before merging ), and pushing directly to mater for many of my changes, just for speed's sake.

@azzamsa
Copy link
Contributor Author

azzamsa commented Jun 29, 2024

I'm not sure we need them yet, but I've been using these CI jobs to catch unconventional commits in Bones:

I've just been squash-merging pull requests

I am okay with the current situation; I just worry the repo will contain undesired formats or prefixes. Fortunately, we are on the same page.

@azzamsa
Copy link
Contributor Author

azzamsa commented Jul 3, 2024

Closing this issue because it is currently non-actionable.

@azzamsa azzamsa closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants