1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-12-17 02:48:13 +03:00
Commit Graph

534 Commits

Author SHA1 Message Date
Orhun Parmaksız
dce09d71a0
docs(readme): update template contexts about link_parsers 2022-01-17 00:21:37 +03:00
Orhun Parmaksız
dcb3141ac9
style(readme): update the styling 2022-01-17 00:17:54 +03:00
Orhun Parmaksız
7d766d7e34
fix(ci): run clippy from nightly toolchain 2021-12-31 21:33:39 +03:00
Orhun Parmaksız
cd018e90a1
refactor(clippy): apply clippy suggestions 2021-12-31 21:27:52 +03:00
Pascal Bach
b88e7d30be
feat(changelog): add link_parsers for parsing/extracting links (#42)
* feat(core): add link parsing

Searches for patterns in commite messages and allows to convert them into
links via regular expression replacement.

This allows to include links to issue trackers and other tools in the resulting
changelog.

Closes #41

* fix(ci): update lychee arguments

* docs(readme): fix typos

* docs(readme): fix typos

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2021-12-31 21:10:37 +03:00
Orhun Parmaksız
943c23fd35
fix(changelog): only drop previous releases if skipped (#44) 2021-12-31 19:43:12 +03:00
Orhun Parmaksız
d23cf22d49
chore(release): prepare for v0.5.0 2021-12-16 00:28:09 +03:00
Orhun Parmaksız
47d124add2
docs(readme): update --with-commit example in README.md 2021-12-11 19:19:42 +03:00
Orhun Parmaksız
e4c60b20be
feat(args): add --with-commit argument for including custom commit messages in changelog 2021-12-11 19:14:49 +03:00
Orhun Parmaksız
316c11b607
chore(config): indicate the breaking changes via default config 2021-12-11 15:20:29 +03:00
Orhun Parmaksız
8445313b13
feat(changelog): support having both conventional and unconventional commits in the changelog 2021-12-11 15:07:10 +03:00
Orhun Parmaksız
1a9c3e310f
feat(template): use more explanatory error messages about templates 2021-12-08 23:12:13 +03:00
Orhun Parmaksız
7f867ae647
fix(changelog): drop the skipped releases from 'previous' field 2021-12-08 22:07:51 +03:00
Orhun Parmaksız
d7e8ce2528
fix(fixtures): strip the carriage return on fixtures while comparing 2021-12-07 23:48:46 +03:00
Orhun Parmaksız
c8d288c4c8
fix(fixtures): update the multi line docker command 2021-12-07 23:33:02 +03:00
Orhun Parmaksız
bbc58d7bd0
fix(fixtures): use the defined configuration file for fixtures 2021-12-07 23:31:02 +03:00
Orhun Parmaksız
cb412a905f
fix(fixtures): checkout the repository before running fixtures 2021-12-07 23:23:52 +03:00
Orhun Parmaksız
dea65f235e
chore(fixtures): run test fixtures on ubuntu-latest 2021-12-07 23:22:11 +03:00
Orhun Parmaksız
92a54d67b8
chore(fixtures): improve the workflow for test fixtures 2021-12-07 23:15:13 +03:00
Kenji Miyake
de11ccecac
feat(config): add ignore_tags option (#40)
* feat: add ignore_tags option

Resolves (#36)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* test: add a test using GitHub Actions

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* docs: fix style

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* chore: add ignore_tags to example config files

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* style: refactor test-fixtures workflow

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
2021-12-07 21:49:37 +03:00
Orhun Parmaksız
ef63727b5f
fix(args): override the sort related config if args are present (#39) 2021-12-03 22:57:07 +03:00
Orhun Parmaksız
02a6187a58
feat(args): add --current flag for processing the current tag (#37) 2021-12-02 10:01:10 +03:00
Orhun Parmaksız
7b000ad43e
style(args)!: rename --commit-path argument to --include-path 2021-12-01 22:58:49 +03:00
Orhun Parmaksız
9d213f5713
fix(tests): update log test about exclude path 2021-12-01 22:52:22 +03:00
Orhun Parmaksız
25a1d49c09
feat(args): add --exclude-path argument for excluding related commits 2021-12-01 22:50:12 +03:00
Orhun Parmaksız
edb343a10e
feat(args): support multiple values for --commit-path argument 2021-11-30 16:31:19 +03:00
Orhun Parmaksız
ad11cbf6c5
feat(args): accept glob patterns for --commit-path argument 2021-11-30 16:05:29 +03:00
Orhun Parmaksız
6cec37d1ec
refactor(config): rename the config value for commit order 2021-11-25 22:52:10 +03:00
Orhun Parmaksız
4eb334da06
feat(config): support specifying the sorting methods in config (#31) 2021-11-25 22:45:44 +03:00
Orhun Parmaksız
cc09d637ff
feat(changelog): add --topo-order flag for sorting tags (#29) 2021-10-30 01:02:00 +03:00
Orhun Parmaksız
dc7e91b191
chore(release): prepare for v0.4.2 2021-10-22 17:59:12 +03:00
Orhun Parmaksız
2cee3bf9ec
fix(cd): install the Rust toolchain explicitly for crates.io releases 2021-10-22 17:57:05 +03:00
Orhun Parmaksız
c427eed757
chore(release): prepare for v0.4.1 2021-10-22 17:30:05 +03:00
Orhun Parmaksız
fc33efde85
chore(docker): bump the Rust version in Dockerfile 2021-10-22 17:26:40 +03:00
Orhun Parmaksız
0000000ef0
chore(project): migrate to Rust 2021 edition 2021-10-22 17:17:50 +03:00
Orhun Parmaksız
6080ebbd46
chore(deps): upgrade dependencies 2021-10-22 16:57:11 +03:00
Orhun Parmaksız
481713cbb7
chore(project): remove unnecessary Cargo.lock entry from .gitignore 2021-10-22 16:49:59 +03:00
pataar
10771f43c0
fix(changelog): add support for special characters in scopes (#26)
* fix: add support for special characters in scopes

Fixes #25

* test: fix newlines of non-scoped commits

* style(tests): update formatting

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2021-10-19 21:45:36 +03:00
Orhun Parmaksız
2925340368
docs(readme): update GitLab CI/CD section 2021-10-19 21:17:18 +03:00
alteregoart
90a87c5874
docs(readme): add GitLab CI/CD section to README.md (#24)
Co-authored-by: Arthur Dion <dion@eurecom.fr>
2021-10-19 21:12:57 +03:00
Orhun Parmaksız
f447cc2e73
refactor(git): use a better error message for invalid repo path 2021-10-15 21:27:22 +03:00
Orhun Parmaksız
627d4eff7f
chore(ci): run CI workflows periodically 2021-10-15 21:25:15 +03:00
Orhun Parmaksız
a8b53789e4
chore(release): prepare for v0.4.0 2021-10-02 00:50:33 +03:00
Orhun Parmaksız
f2c1ba411f
chore(deps): upgrade dependencies 2021-10-02 00:34:31 +03:00
Orhun Parmaksız
7756266b17
chore(docker): use docker.yml workflow for CI/CD 2021-10-02 00:08:08 +03:00
Taylan Dogan
2950a412c2
feat(changelog): add --sort argument for sorting commits (#15)
* refactor(changelog): sort commits by newest in CHANGELOG

Previously, cliff was sorting the commits by oldest first.
Like:

```
 - Support parsing the missing scopes with `default_scope` (#8)
 - Support generating a changelog scoped to a directory (#11)
```

As the PR numbers indicate, the first bullet point is definitely
older than the latter.

With this update, it will look like this:
```
 - Support generating a changelog scoped to a directory (#11)
 - Support parsing the missing scopes with `default_scope` (#8)
```

Signed-off-by: Taylan Dogan <git@taylandogan.info>

* refactor: add sorting flag

I don't expect any other sorting types will be added
so the logic consist of checking whether it is
`newest` or not.

One could argue with why wouldn't I make this a boolean.
My answer would be, in my opinion, it lose its meaning
because this is not something we want to enable or disable
but something that we want to decide which pattern
we want to use. So it is more like a semantic choice.

Signed-off-by: Taylan Dogan <git@taylandogan.info>

* docs(readme): move the explanation of sort flag to README.md

Co-authored-by: orhun <orhunparmaksiz@gmail.com>
2021-09-28 22:58:05 +03:00
orhun
777375f677
chore(docker): use explicit image name for docker automated builds 2021-09-28 22:02:05 +03:00
orhun
b193f42e25
docs(readme): add "build from source" section to README.md 2021-09-28 01:27:09 +03:00
orhun
e444615c02
fix(config): remove only the leading "v" from tags (#18) 2021-09-28 01:10:05 +03:00
orhun
6bafc5d1a1
chore(docker): specify the latest tag explicitly 2021-09-25 23:22:21 +03:00