1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-12-15 18:22:30 +03:00
Commit Graph

315 Commits

Author SHA1 Message Date
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
orhun
71b88466eb
chore(docker): rename the GHCR package due to legacy reasons 2021-09-25 23:18:28 +03:00
orhun
dff2e62edc
chore(docker): extend the tags for docker meta 2021-09-25 23:18:01 +03:00
orhun
ece0481e73
fix(docker): remove tags from the base image names 2021-09-25 23:09:23 +03:00
orhun
081b2d257b
chore(docker): use docker meta for tagging for GHCR 2021-09-25 23:06:40 +03:00
orhun
d3140ed988
chore(docker): use cache for docker builds 2021-09-25 22:00:48 +03:00
orhun
5069594f18
chore(workflow): update the runner to ubuntu-20.04 2021-09-25 21:43:24 +03:00
orhun
b323e60996
chore(workflow): set a version for the checkout action 2021-09-25 21:36:22 +03:00
orhun
9022af533d
docs(readme): mention the signing key for binary releases (#17) 2021-09-22 00:32:24 +03:00
orhun
5409e06e4c
docs(readme): add packaging status badge to installation section 2021-09-21 16:43:18 +03:00
orhun
f64459dd9f
docs(readme): add raw/rendered output for scoped-sorted example 2021-09-21 16:40:47 +03:00
orhun
428d407df5
style(config): fix the newline issues in scoped-sorted example 2021-09-21 16:38:37 +03:00
Matt Foxx
05584b614a
docs(config): Add scope-sorted example (#16)
* Same as basic example but sorts commit by sorted scope
* Defaults to "No Category" if no scope found on commit
* Adds a nested bullet for breaking change description
2021-09-21 16:17:39 +03:00
orhun
ba3f1cac50
fix(ci): update lychee arguments to skip checking files 2021-09-10 22:27:21 +03:00
orhun
7f8e252560
chore(release): prepare for v0.3.0 2021-09-10 21:54:10 +03:00
orhun
39dd563f57
chore(deps): upgrade dependencies 2021-09-10 21:53:15 +03:00
orhun
0bb7c910b4
feat(changelog): support generating a changelog scoped to a directory (#11) 2021-09-09 00:34:25 +03:00
orhun
0d793ad9db
docs(config): update the default regex in scoped config example 2021-09-08 21:58:29 +03:00
orhun
f420a5ac6c
docs(readme): update example regexes 2021-09-08 21:58:02 +03:00
Steven L
8a18e4d48d
fix(config): fix default regexes and references in docs (#7)
* Fix default regexes and references in docs

* correction: I didn't realize the colon was necessary

* change more tomls, fmt

* rebase fixes
2021-09-08 21:40:29 +03:00