-
Notifications
You must be signed in to change notification settings - Fork 303
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
Adopt angular convention for git commit messages #518
Comments
(just edited the first post) |
Good idea, I propose to add a file at the root of the repo, similar as this one https://gist.github.com/adeekshith/cd4c95a064977cdc6c50. By doing |
Or, as a first step, we could start by amending https://github.com/iTowns/itowns/blob/master/CONTRIBUTING.md. I'm all to have a commit template file in the repo, and have the |
+1 to the commit template, -1 to installing it automatically. Would it be possible to have a check in Travis for PRs targeting the master branch? (`$TRAVIS_BRANCH == "master") or possibly for all PRs. Similar to https://github.com/angular/angular.js/blob/master/scripts/travis/build.sh#L22-L28 Also why not maybe add config for http://commitizen.github.io/cz-cli/ (note: I, for one, am not a fan of that convention, though I actually never practiced it; but if we put it in place, then better make it as easy as possible to follow it, and enforce it at CI level) |
So this seems to have been acted, so I added it in CONTRIBUTING.md: https://github.com/iTowns/itowns/blob/master/CONTRIBUTING.md#pull-request-guidelines |
As we adopted a code style for the js code, I'd like to explicitely adopt a style for git messages.
IMHO the style proposed at https://github.com/bcoe/conventional-changelog-standard/blob/master/convention.md is good and has an extra benefit: it allows to simplify changelog generation.
The important bits are:
Last but not least, we should choose a set of allowed scopes to allow grouping of relevant changes in the changelog.
Here's a first proposalSecond version:
process (or update) (when modifiying TileNodeProcessing..)providersThe text was updated successfully, but these errors were encountered: