1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-09-11 06:55:38 +03:00
Commit Graph

124 Commits

Author SHA1 Message Date
Orhun Parmaksız
d53b905184
docs(readme): add social media badges 2024-04-13 23:14:11 +03:00
Tomas Bjerre
d65b4433ce
docs(readme): mention git-changelog-command-line tool (#589) 2024-04-03 13:15:09 +03:00
Orhun Parmaksız
668a95774c
docs(readme): mention RustLab 2023 talk
https://www.youtube.com/watch?v=RWh8qbiLRts
2024-02-17 16:42:33 +03:00
Orhun Parmaksız
edc6bc0adb
chore(project): update copyright years 2024-01-06 16:29:52 +03:00
Orhun Parmaksız
34593dd46f
chore(website): fix broken anchors 2024-01-06 15:08:35 +03:00
Orhun Parmaksız
2c524b8e64
docs(readme): use the raw link for the animation 2023-12-23 00:27:40 +03:00
Orhun Parmaksız
05611245d9
docs(website): add git-cliff animation to the website (#404) 2023-12-22 22:25:38 +01:00
Orhun Parmaksız
91c0cda9dc
docs(image): use images from the repository 2023-10-29 00:16:08 +02:00
Jean SIMARD
88c34abe2c
feat(ci): add 'typos' check (#317)
* docs(docker): fix typos

* docs(readme): fix typos

* docs(template): fix typos

* ci(typos): add 'typos' check

resolves #311

* ci(typos): 'typos' moved to its own job

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-19 15:34:17 +02:00
liuyinz
fa471c7178
docs(readme): add link to emacs package support git-cliff (#307) 2023-10-09 18:05:43 +02:00
Orhun Parmaksız
cd563444de
docs(license): re-license under the MIT + Apache 2.0 license (#303)
* docs(license): re-license under the MIT + Apache 2.0 license

* chore(rpm): install MIT license for RPM package

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-09-30 15:48:24 +02:00
Orhun Parmaksız
3c9ced0b05
docs(readme): add contributors graph 2023-08-23 20:51:26 +03:00
Orhun Parmaksız
c41bbe05a2
style(readme): update the style for project name 2023-04-10 05:34:17 +03:00
Orhun Parmaksız
56240fd11f
docs(readme): update README.md about documentation website 2023-04-09 19:01:29 +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
Tonye Jack
2520dd2fda
docs(readme): add tj-actions/git-cliff to the list of actions (#152) 2023-04-09 03:42:51 +02:00
Orhun Parmaksız
9fa5dd44c1
docs(readme): add discord badge
https://discord.gg/W3mAwMDWH4
2023-04-07 22:33:57 +03:00
Marco Ieni
f781e299ca
docs(readme): add release-plz to related projects (#151)
https://github.com/MarcoIeni/release-plz
2023-04-07 03:33:34 +02:00
Orhun Parmaksız
a4290c7be8
style(readme): apply formatting 2023-04-04 22:56:49 +03:00
Orhun Parmaksız
db43437151
docs(examples): move examples to separate file 2023-04-04 22:54:12 +03:00
Orhun Parmaksız
7767ace8f8
feat(parser): support using regex group values (#145) 2023-04-02 21:17:32 +03:00
Radu Suciu
fe5e5b841a
feat(config): support placing configuration inside pyproject.toml (#147) 2023-03-31 21:49:47 +02:00
Orhun Parmaksız
38943e8bac
docs(readme): fix typos in README.md 2023-01-25 19:42:34 +03:00
Jan Katins
6f1459bcc0
docs(readme): remove unneeded word in README.md (#141) 2023-01-25 15:26:01 +01:00
Orhun Parmaksız
d057390b14
docs(readme): add link to the Console #141 interview about git-cliff
https://console.substack.com/p/console-141
2023-01-22 21:28:16 +03:00
Orhun Parmaksız
e0177c25e1
docs(readme): update README.md about the NPM package 2023-01-09 21:06:02 +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
8b17a1f026
feat(git): support generating changelog for multiple git repositories (#13) 2023-01-07 19:17:54 +03:00
Orhun Parmaksız
261ee4f146
docs(readme): update copyright years 2023-01-01 20:08:09 +03:00
Orhun Parmaksız
6e8c7edd3a
docs(readme): disable Liquid parsing in README.md by using raw blocks 2022-12-26 19:10:41 +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
acf2d52602
docs(readme): fix GitHub badges in README.md
See https://github.com/badges/shields/issues/8671
2022-12-25 21:04:57 +03:00
Orhun Parmaksız
47a7345167
style(readme): update README.md about the styling of footer field 2022-12-22 20:35:52 +03:00
Orhun Parmaksız
6c37611e16
chore(ci): update actions/checkout to v3 2022-12-22 15:56:03 +03:00
Orhun Parmaksız
77731ec7ae
feat(changelog, config)!: replace --date-order by --topo-order 2022-12-16 18:43:13 +01:00
Orhun Parmaksız
a8fa7f9fb5
docs(readme): update badge URL for Docker builds 2022-11-19 21:53:29 +03:00
Orhun Parmaksız
5913e24596
feat(args): add a short variant -d for specifying --date-order flag 2022-11-19 21:06:16 +03: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
Herby Gillot
f9d4b88a33
docs(readme): add MacPorts install info (#111)
https://ports.macports.org/port/git-cliff/
2022-09-24 23:24:11 +02:00
Orhun Parmaksız
4fc2217868
fix(docker): configure git safe.directory for Docker image (#108) 2022-09-20 17:53:30 +02:00
Orhun Parmaksız
82473017ca
style(readme): update styling for with-commit example 2022-08-16 21:08:05 +02:00
Orhun Parmaksız
b55e678a4e
chore(project): update MSRV to 1.60.0 2022-08-16 20:29:04 +02:00
Orhun Parmaksız
da484a3364
docs(readme): add test repository link to README.md 2022-08-16 01:08:56 +02:00
Orhun Parmaksız
940065b575
feat(commit): add commit author and committer to the context (#100) 2022-08-16 01:04:56 +02:00
Orhun Parmaksız
d453d4cbeb
feat(changelog): support setting commit SHA while using --with-commit 2022-08-12 20:47:51 +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
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
Cassandra McCarthy
22891992a2
docs(readme): switch chronological and topological (#99) 2022-07-04 13:58:07 +03: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