Commit graph

15 commits

Author SHA1 Message Date
Marc Durdin
b69490ea39 fix(common/resources): allow custom commit-msg-defs 2020-05-20 12:25:58 +10:00
Marc Durdin
c60df18ee0 chore(common/resources): add documentation for scopes 2020-05-19 17:31:17 +10:00
Marc Durdin
13b44a7e30 chore(common/resources): use shared scopes definition
This starts the shared scope definition. First cab off the rank is commit-msg
2020-05-19 17:08:57 +10:00
Eberhard Beilharz
30e48ab29c
chore: Allow to override hook defs
This change allows a different project to override the definitions
by providing a local `commit-msg-defs` file while still sharing the
`commit-msg` hook. Other projects might have a different set of
scopes.
2020-05-08 11:46:35 +02:00
Eberhard Beilharz
35c6208273 refactor(common): Simplify and improve getting hook directory 2020-02-20 21:44:46 +01:00
jahorton
3c4679ae6f feat(common): Proper docs, extra tweak 2020-02-06 11:01:08 +07:00
jahorton
c81729fbe0 feat(common): creates common type/scope defn script for inclusion 2020-02-06 10:56:39 +07:00
Marc Durdin
e2b287768c chore(ci): tweak scopes 2020-02-06 10:42:58 +07:00
Marc Durdin
f4c205e9fc chore(ci): tweak commit hook 2020-02-06 10:42:54 +07:00
jahorton
714198c777 feat(common): Autogenerates commit prefixes from branch name 2020-02-04 12:42:58 +07:00
jahorton
886e7d294d feat(common): basic prepare-commit-msg setup, link 2020-02-04 10:48:17 +07:00
Eberhard Beilharz
830c31eece fix: Fix commit-msg hook
Make commit-msg hook executable. Also use bash - Ubuntu has `dash`
linked as `/bin/sh` which doesn't support some of the features we use
in the hook.
2019-10-29 13:30:03 +07:00
Marc Durdin
e5514a4c21 chore: test only keymanapp/ (for git protocol) 2019-10-29 14:01:20 +11:00
Marc Durdin
55b115f97d chore: disable debugging code 2019-10-29 12:59:24 +11:00
Marc Durdin
b35f263335 chore: Add Conventional commits Git message hook
Adds support for conventional commit style validation of all commit
messages and makes configuration against all Keyman repos
straightforward with the configure-repo.sh script.
2019-10-28 16:50:55 +11:00