1
1
mirror of https://github.com/orhun/git-cliff.git synced 2025-01-08 11:39:10 +03:00
Commit Graph

133 Commits

Author SHA1 Message Date
Orhun Parmaksız
0d4e689115
feat(config): add a custom configuration file for the repository 2023-04-27 00:39:55 +03:00
Orhun Parmaksız
54f735ab1a
docs(github): update the pull request template about GitHub labels 2023-04-27 00:06:24 +03:00
Orhun Parmaksız
2d721259ca
refactor(ci): test the website deployment with a different job 2023-04-15 20:32:18 +03:00
Orhun Parmaksız
6f8a2f96da
test(deploy): test the website deployment for pull requests 2023-04-09 18:49:51 +03:00
Orhun Parmaksız
020b02d3e3
fix(deploy): set the node cache dependency path 2023-04-09 18:29:11 +03:00
Orhun Parmaksız
f550458414
chore(website): add workflow file for deploying the website 2023-04-09 18:25:29 +03:00
Orhun Parmaksız
5644d10365
chore(website): move website to website folder
This reverts commit b6e52e128e.
2023-04-09 18:16:31 +03:00
Orhun Parmaksız
b6e52e128e
chore(website): move website to docs for GitHub pages deployment 2023-04-09 18:13:52 +03:00
Orhun Parmaksız
56d3544454
docs(website): move documentation to the website (#153)
https://git-cliff.org
2023-04-09 17:08:59 +02:00
Orhun Parmaksız
d54f72aff4
chore(ci): switch to dtolnay/rust-toolchain action 2023-04-07 21:34:14 +03:00
Orhun Parmaksız
c02538f85c
chore(docker): bump the action versions in docker workflow 2023-04-06 22:34:25 +03:00
Orhun Parmaksız
c261fad137
docs(github): update pull request template 2023-04-04 23:03:29 +03:00
Orhun Parmaksız
6a076cabeb
docs(github): update issue templates 2023-04-04 23:01:51 +03:00
Orhun Parmaksız
6e35834236
docs(github): update funding options 2023-04-04 22:47:36 +03:00
Orhun Parmaksız
07e7938b6e
chore(ci): update runner images 2023-04-04 22:42:06 +03:00
Orhun Parmaksız
0c84ed8eea
chore(docker): bump build-push-action to v4 2023-04-04 20:18:34 +03:00
Orhun Parmaksız
2ef259e8cc
feat(docker): generate SBOM/provenance for the Docker image 2023-04-03 23:08:16 +03:00
Orhun Parmaksız
98c9e00aef
fix(ci): use MUSL build of cargo-tarpaulin 2023-01-25 18:14:02 +03:00
Orhun Parmaksız
3019eff869
fix(ci): update cargo-tarpaulin installation command for CI 2023-01-25 17:51:53 +03:00
Orhun Parmaksız
24c8e3e4cf
chore(cd): parallelize releasing on crates.io 2023-01-09 19:23:58 +03:00
Orhun Parmaksız
ce1d468f0b
fix(npm): rename the NPM binary package for Windows
Apparently, NPM doesn't like numbers in package names and recognizes them as spam.
2023-01-09 19:05:57 +03:00
Orhun Parmaksız
e2e124ed4b
chore(cd): add README.md to the base NPM package 2023-01-09 18:46:31 +03:00
Orhun Parmaksız
b7dd592653
chore(npm): package git-cliff for npm (#133)
* chore: scaffold a typescript node project

* feat: execute git cliff binary using nodejs

* fix: process doesnt return status code

* fix: optional dependencies are not added to git-cliff

* chore(npm): move NPM package to npm folder

* chore(docker): add NPM package to .dockerignore

* feat(cd): publish NPM package via continuous deployment workflow

* docs: add npm instructions to README

* chore(npm): update package keywords

* chore(cd): publish the NPM package publicly

* style(readme): update NPM section in README.md

Co-authored-by: Burak Güner <burak.guner@callstack.com>
Co-authored-by: Burak Güner <md.burak.guner@gmail.com>
2023-01-09 15:12:22 +01:00
Orhun Parmaksız
03cf3a7028
refactor(cd): use the git-cliff-action output for GitHub release body 2023-01-07 20:01:24 +03:00
Orhun Parmaksız
ce1b7c3d7b
chore(cd): publish binaries for more platforms/architectures 2023-01-05 21:32:38 +03:00
Orhun Parmaksız
1b3cba8dca
chore(cd): bump git-cliff-action to v2 2022-12-25 23:14:05 +03:00
Orhun Parmaksız
efd827f59f
feat(cd): publish Debian package via release workflow (#113) 2022-12-22 22:31:20 +03:00
Orhun Parmaksız
8f77caf86a
chore(config): comment out custom commit preprocessor (#112) 2022-12-22 18:17:53 +03:00
Orhun Parmaksız
9a070b248d
feat(cd): include completions and mangen in binary releases (#115) 2022-12-22 16:11:00 +03:00
Orhun Parmaksız
6c37611e16
chore(ci): update actions/checkout to v3 2022-12-22 15:56:03 +03:00
Orhun Parmaksız
5187f029ec
chore(cd): remove deprecated set-output usage 2022-12-22 15:53:13 +03:00
Orhun Parmaksız
29b3dd1598
fix(fixtures): fix test fixture failures 2022-12-16 21:08:31 +03:00
Orhun Parmaksız
53c1c50a1e
chore(fixtures): run all test fixtures 2022-12-16 20:48:02 +03:00
Orhun Parmaksız
77731ec7ae
feat(changelog, config)!: replace --date-order by --topo-order 2022-12-16 18:43:13 +01:00
Florian Fromm
0c7769b52f
feat(config): changelog for the last n commits (#116)
* feat(config): changelog for the last n commits

Adds a additional configuration variable `limit_commits` to the
configuration struct.
`limit_commits` can be set to a positive integer number to limit the
commits contained in the generated changelog.

Also adjusts the default config file to contain `limit_commits` as a
commented out line.

Extends documentation in README.md to also cover the introduced
configuration value.

issue: https://github.com/orhun/git-cliff/issues/102

* test(fixture): add test fixture for limiting commits

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-10-06 13:10:37 +02:00
Sebastian Müller
1c98995454
feat(changelog): do not skip breaking changes if configured (#114)
* feat(changelog): breaking changes are never skipped

Fixes #106

* test(fixture): add test fixture for skipping breaking changes

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-10-04 20:21:49 +00:00
Orhun Parmaksız
17f3a0994d
chore(ci): switch to cargo-tarpaulin for measuring code coverage (#110) 2022-09-24 21:19:46 +02:00
Orhun Parmaksız
1b5dcc1051
refactor(clippy): run clippy for tests 2022-08-12 11:51:38 +02:00
Aaron Friel
e3eae33abc
feat(changelog): support splitting commits by lines (#101)
* feat: support splitting commits by lines

* refactor(config): update the description for split_commits

* style(fmt): apply formatting via rustfmt

* refactor(test): create helper method for split_commits test

* fix(changelog): change the default behaviour for split_commits when it is not provided

* test(fixture): add test fixture for splitting commits

* docs(readme): update table of contents

* docs(readme): add warning about split_commits flag

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-08-12 04:59:06 +03:00
Orhun Parmaksız
f3fada723d
chore(funding): add GitHub Sponsors option for funding
https://github.com/sponsors/orhun
2022-07-31 14:28:50 +02:00
Orhun Parmaksız
cd1306cffd
chore(docker): disable updating the description on Docker Hub
This reverts commit 9c0e7a2ab8.

See https://github.com/peter-evans/dockerhub-description/issues/69
2022-07-27 14:40:24 +02:00
Orhun Parmaksız
9c0e7a2ab8
chore(docker): update the description on Docker Hub on push 2022-07-27 14:31:21 +02:00
Orhun Parmaksız
f2968cdf6c
chore(docker): enable building arm64 docker images
This reverts commit 175f7d7055.
2022-07-21 20:57:03 +02:00
Orhun Parmaksız
8621a59d47
chore(cd): update windows runners to windows-2022 2022-07-12 18:12:28 +02:00
Orhun Parmaksız
4b2ded0cf1
fix(cd): set fail-fast strategy to false 2022-07-12 18:01:50 +02:00
Orhun Parmaksız
a5aaca1a01
fix(ci): update lychee arguments to skip checking protonmail 2022-07-12 15:11:08 +02:00
Eliza Weisman
0bf499ec94
feat(commit)!: pass footer token and separator to template (#97)
* fix(commit): pass footer token and separator to template

Currently, when a conventional commit has footers, only the footers'
values (the part after the separator token, such as `:`) are passed to
the template. This means that when multiple footers, such as
`Signed-off-by:` and `Co-authored-by:` are present, it isn't currently
possible for the template to determine the name of the footer. This
makes actually using data from footers in templates impractical in most
cases.

This commit fixes this by changing the `Serialize` impl for `Commit` to
pass the commit's footers as a structured object rather than a string.
The structured `Footer` type includes the footer's token (which is what
`git_conventional` calls the name preceding the separator token), the
separator, and the value.

I didn't make the new `Footer` type and `Commit::footers` method public,
because it isn't strictly necessary to add them to the `git-cliff-core`
public API to fix this issue. However, we can make them public in a
follow-up PR if this is considered useful.

Fixes #96

BREAKING CHANGE:

This changes type of the `commit.footers` array exposed to templates.
Currently, when a template uses `commit.footers`, it can treat the
values as strings. After this change, the footer object will need to
have its fields unpacked in order to use them.

However, the impact of this breakage is probably not that severe, since
it's not really practical to use footers in templates with the current
system.

* docs(README): discuss footers in README

Signed-off-by: Eliza Weisman <eliza@buoyant.io>

* docs(examples): Add footers to `detailed.toml`

Signed-off-by: Eliza Weisman <eliza@buoyant.io>

* refac(commit): address review feedback

Signed-off-by: Eliza Weisman <eliza@buoyant.io>

* docs(README): address README review feedback

Signed-off-by: Eliza Weisman <eliza@buoyant.io>

* refactor(example): update detailed example about newline issues

* test(fixture): add test fixture for commit footers

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-07-12 15:38:16 +03:00
Orhun Parmaksız
175f7d7055
chore(docker): disable building arm64 docker images temporarily
This reverts commit 8475e1fd63.
Reference: https://github.com/LukeMathWalker/cargo-chef/issues/107#issuecomment-1149901337
2022-06-23 22:21:27 +02:00
Ömer Faruk Şahin
e22076843b
feat(config): support changing commit scope with commit_parsers (#94)
* fix: issue #50

* chore: Check some lints and styles

* docs: add scope example

* chore: fix some typos in cargo docs

* style: rerun cargo fmt and cargo lint

* style(config): update wording in the comment

* test(config): add tests about specifying the scope

* test(fixture): add test fixture for custom scope

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-06-23 02:44:13 +03:00
Orhun Parmaksız
8475e1fd63
chore(docker): build Docker images for arm64 2022-04-24 14:12:29 +03:00