doomemacs/core
Henrik Lissner 4bae9ffa47
refactor(ci): generalize commit linter api
Continues from 47d1b82 as part of an effort to generalize Doom's CI for
use outside this repo:

- 'doom ci ...' commands now:
  - Run in the context of the local repo where they're run, rather than
    from Doom's install directory ($EMACSDIR).
  - Load the first of $REPO_ROOT/.github/ci.el, $DOOMDIR/cli.el, or
    $DOOMDIR/cli.el, before executing CI commands. This allows for
    per-project configuration, for example:
    - https://github.com/doomemacs/doomemacs/blob/master/.github/ci.el
    - https://github.com/doomemacs/themes/blob/master/.github/ci.el
    (Details may change post-3.0)
- Scopeless commit types are now enforced in `doom-cli-commit-scopes`,
  rather than `doom-cli-commit-rules`. This lets you specify exceptions,
  like 0597466261.
- `doom-cli-commit-scopes` now supports sub-lists, as an easy way to
  permit type-local scopes. E.g. To allow 'install' and 'faq' scopes
  only for 'docs:' commits.

    (add-to-list 'doom-cli-commit-scopes '(docs "install" "faq"))

  These sublists accepts predicates too.
- Fixed the link to git conventions in the linter's failure/warning
  output, to point to our Discourse post.

Ref: https://github.com/doomemacs/doomemacs/blob/master/.github/ci.el
Ref: https://github.com/doomemacs/themes/blob/master/.github/ci.el
Ref: 0597466261
Amend: 47d1b82382
2022-05-05 15:32:35 +02:00
..
autoload fix(lib): unused :map property in doom-files-in 2022-05-05 15:20:07 +02:00
cli refactor(ci): generalize commit linter api 2022-05-05 15:32:35 +02:00
templates docs: reformat & revise {init,config}.el templates 2022-02-16 16:11:22 +01:00
test core-cli: backport more refactors from rewrite 2020-08-24 23:00:32 -04:00
core-cli.el refactor: minor refactors & nit picks across core 2021-10-10 18:36:46 +02:00
core-editor.el bump: :core 2022-02-23 15:23:14 +01:00
core-keybinds.el fix: wrong-type-arg error on startup 2021-10-20 22:06:25 +02:00
core-lib.el tweak(lib): always suppress doom-log output 2022-03-31 19:25:50 +02:00
core-modules.el fix: :load-path throwing error in org-src blocks 2022-04-08 02:51:50 +02:00
core-packages.el fix: user/system git config breaking straight installer 2022-05-02 02:12:59 +02:00
core-projects.el refactor: minor refactors & nit picks across core 2021-10-10 18:36:46 +02:00
core-ui.el fix: set face :font instead of frame font parameter 2022-04-21 22:36:36 +02:00
core.el release(modules): 22.05.0-dev 2022-05-02 01:39:15 +02:00
packages.el bump: :core 2022-03-30 17:49:35 +02:00