1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-11-29 17:23:22 +03:00
Commit Graph

101 Commits

Author SHA1 Message Date
Orhun Parmaksız
bd5e4d2217
chore(project): bump MSRV to 1.74.1 2024-02-17 15:05:36 +03:00
Óscar
0731646c26
docs(website): improve matching gitmoji tip (#486)
Emojis are hard. The pattern was not matching the recycling emoji, for some reason.

Adding the variation selector`u{FE0F}` fixes it.

Further, this makes the zero-width joiner (`u{200D}`) optional, matching emojis both with and without the ZWJ.
2024-02-14 16:05:14 +01:00
Orhun Parmaksız
30d15bbab7
feat(template): support using PR labels in the GitHub template (#467) 2024-01-28 21:03:22 +01:00
Marco Ieni
34a58e6e2b
docs(configuration): fix typo (#466) 2024-01-27 12:01:04 +01:00
Orhun Parmaksız
7ae77ff0e0
feat(args): add --no-exec flag for skipping command execution (#458)
* feat(args): add `--no-exec` flag for skipping command execution

* refactor(args): reorder arguments
2024-01-20 23:33:49 +01:00
Orhun Parmaksız
3fd9476a56
chore(website): rename the header for GitHub integration 2024-01-06 15:13:44 +03:00
Orhun Parmaksız
34593dd46f
chore(website): fix broken anchors 2024-01-06 15:08:35 +03:00
Orhun Parmaksız
82e93c26de
docs(website): add tips and tricks section 2024-01-03 12:00:33 +03:00
Orhun Parmaksız
6f32f3376e
feat(template): support using PR title in the GitHub template (#418)
* feat(template): support using PR title in the GitHub template

* refactor(test): add PR title to the tests
2023-12-31 15:34:51 +01:00
Orhun Parmaksız
faa00c6e6c
feat(changelog): improve skipping via .cliffignore and --skip-commit (#413)
* feat(changelog): support `.cliffignore` for skipping commits

* feat(args): add `--skip-commit` argument

* docs(website): add documentation about skipping commits

* refactor: support ignore file for multiple repositories
2023-12-31 15:34:01 +01:00
Orhun Parmaksız
5238326790
feat(github)!: support integration with GitHub repos (#363)
See <https://git-cliff.org/docs/integration/github>

Squashed history:
* feat(github): support integration with GitHub repos
* fix(changelog): fix generation logic
* refactor(github): use verbose logging for errors
* fix(test): update tests accordingly to the render parameters
* feat(github): support deriving upstream URL from the repo
* docs(lib): update the description of the error module
* chore(github): add disclaimer for the github feature
* chore(config): filter the contributors in the github example
* fix(github): make GitHub login field optional
* chore(github): increase the logging verbosity for remote info
* refactor(git): reduce the log level for upstream remote
* feat(github): log the request error
* feat(args): add `--github-repo` argument
* feat(github): add caching for network requests
* feat(github): add progress bar for the network requests
* refactor(github): gate the implementation behind github feature flag
* fix(github): use the local cache for HTTP requests
* feat(github): set TCP keepalive value for HTTP client
* chore(cargo): create update-informer feature
* docs(website): add documentation about available features
* docs(website): reorder installation sections
* fix(config): skip serializing secret
* docs(website): add documentation about GitHub integration
* chore(example): update the style of GitHub config
* docs(website): add github example
* test(fixture): add test fixture for GitHub integration
* test(fixture): run the GitHub integration test
* fix(changelog): print header before fetching GitHub
* feat(github): allow using remote values without fetching GitHub
* chore(example): simplify Keep a Changelog example
* feat(example): add github-keepachangelog example
* chore(example): update the examples in default config
* chore(ci): test all features
* test(github): add unit tests for GitHub integration
* chore(ci): set upstream remote for tests
* chore(ci): show the current git status for test step
* chore(ci): skip git upstream test
* chore(ci): run tests without default features
* chore(ci): skip test with full name
* docs(website): add note about github-keepachangelog format
* chore(ci): skip the faulty git test for all test steps
* refactor(error): update the error type for logger
2023-12-26 20:52:31 +01:00
Orhun Parmaksız
4bd47a69e9
docs(website): add tip about link parsers 2023-12-25 19:06:14 +03:00
Orhun Parmaksız
8e1e0d73c3
chore(example): remove limited commits example 2023-12-20 18:43:31 +03:00
Orhun Parmaksız
327512a9d5
feat(args): add -x short argument for --context 2023-12-20 14:46:43 +03:00
Orhun Parmaksız
67486ccb72
docs(website): split the configuration section 2023-12-20 14:35:31 +03:00
Orhun Parmaksız
1039f8575a
feat(parser): support using SHA1 of the commit (#385)
* feat(parser): support using SHA1 of the commit

* fix(parser): make the SHA1 matcher case insensitive
2023-12-18 23:55:44 +01:00
Orhun Parmaksız
dd27a9a404
feat(commit): add merge_commit flag to the context (#389) 2023-12-18 23:54:46 +01:00
Orhun Parmaksız
ff2881bebd
chore(website): update the titles for distro installations 2023-12-09 23:20:04 +03:00
Orhun Parmaksız
4bee628867
feat(args): support initialization with built-in templates (#370)
* feat(args): support initialization with built-in templates

* feat(embed): enable compression

* chore(fixtures): remove fixture
2023-12-06 19:05:49 +01:00
Orhun Parmaksız
0945fa806c
feat(changelog)!: support templating in the footer (#369)
* feat(changelog)!: support templating in the footer (#95)

* test(fixture): run test-footer-template fixture
2023-12-05 22:23:09 +01:00
Marco Napetti
5e01e4c775
feat(args): allow returning the bumped version (#362)
* feat: allow returning bumped version

* refactor(args): polish bumped-version implementation

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-12-04 20:09:54 +01:00
Seonghyeon Cho
b2f8091bd4
docs(website): add installation instructions for Homebrew (#357) 2023-11-24 23:06:38 +01:00
Seonghyeon Cho
04d149e124
feat(args): set CHANGELOG.md as default missing value for output option (#354)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-11-23 00:20:53 +01:00
Orhun Parmaksız
2c621f71e6
chore(config): update tag_pattern value for backwards compatibility 2023-10-29 13:53:59 +01:00
Jean SIMARD
3c2fb60726
feat(config)!: support regex in 'tag_pattern' configuration (#318)
resolves #289

BREAKING CHANGE: `tag_pattern` now takes a valid regular expression instead of a glob pattern
2023-10-29 13:05:38 +01:00
debghs
d863c9481a
docs(website): fix typos in configuration docs (#329) 2023-10-26 00:51:39 +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
Orhun Parmaksız
be87608002
docs(website): add instructions for installing the latest git version 2023-10-17 16:23:35 +03:00
Daniel Pecos Martinez
04fbcb88a5
feat(config): add field and value matchers to the commit parser (#312)
* feat(config): add field and value matchers to commit parser (#194)

* docs(config): matchers docs updated with new type of parser based on field and pattern

* test(config): tests covering new parsers

* chore(docs): fix typos in website/docs/configuration.md

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>

* chore(docs): fix more typos website/docs/configuration.md

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>

* chore(docs): update docs for git-cliff-core/src/config.rs

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>

* chore(config): code matching field name refactored

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-10-15 23:11:18 +02:00
Orhun Parmaksız
bcfcd1fd59
feat(changelog): support bumping the semantic version via --bump (#309) 2023-10-13 14:43:55 +02:00
Orhun Parmaksız
291a928288
docs(installation): update instructions for Arch Linux 2023-09-18 16:11:25 +03:00
Orhun Parmaksız
3199bba672
docs(installation): add instructions for Alpine Linux 2023-09-18 16:11:25 +03:00
Dominik Nakamura
890de0007e
docs: update Tera links to the new URL (#272)
The Tera website changed from Netlify to GitHub Pages, with the old
Netlify deployment gone. Therefore, all links to Tera should point to
the new URL.
2023-09-08 15:22:14 +02:00
Orhun Parmaksız
1068912822
chore(cargo): update MSRV to 1.70.0 2023-08-30 18:04:56 +03:00
Orhun Parmaksız
e1cf26e2a5
docs(example): add example for generating changelog similar to cocogitto 2023-08-19 13:35:44 +03:00
Radu Suciu
2b7a1efaaf
chore(pypi): publish git-cliff on PyPI (#158)
* chore(pypi): First shot at PyPi publishing

* docs(pypi): Draft docs for install from PyPI

* fix(pypi): fix spellig mistake and add missing dependency

* chore(pypi): rc1 for pypi publish workflow

* docs(pypi): add example for pip install command

Also tweaked verbiage a little

* fix(docs): remove extra backtick in command example

* fix(pypi): fix MATURIN_REPOSITORY definition

* chore(pypi): rc2 for pypi publish

fixes mistake in use of endsWith and startsWith expression syntax.

Thanks https://rhysd.github.io/actionlint/!

* chore(pypi): rc3 for pypi publish workflow

Changes:
- fixes an error with maturin build
- makes sure maturin commands are run in directory containing pyproject.toml
- manifest path is now specified in pyproject.toml
- sdist is now created as a part of the build command

* fix(pypi): specify cwd in action arg

* fix(pypi): fix various path issues

* chore(docker): ignore pypi directory

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-16 09:53:31 +02:00
Orhun Parmaksız
82cd240e33
chore(deps): upgrade dependencies
MSRV is now 1.68.2
2023-08-14 00:22:04 +03:00
PSeitz
5dc5fb786d
feat(changelog)!: add postprocessors (#155)
BREAKING: `CommitPreprocessor` is renamed as `TextProcessor`

* feat: add postprocessors to changelog

This will enable things like replacing usernames with github usernames #132

* review comments

* refactor(clippy): apply clippy suggestions

* refactor(postprocessors): polish the implementation

* docs(postprocessors): update documentation about GitHub usernames

* style(format): update formatting

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-06-10 15:20:39 +02:00
Caleb Maclennan
65d365c7b5
refactor(docker): avoid copying volume inside container (#142)
* refactor(docker): avoid copying volume inside container

* docs(readme): Fix Docker tips to mount project, not just repository

Otherwise any project configs have no chance of being read...
2023-05-18 20:45:32 +02:00
Orhun Parmaksız
84f20f906f
chore(cargo): update MSRV to 1.64.0 2023-04-28 14:27:35 +03:00
Orhun Parmaksız
269a1afd91
chore(deps): update clap dependencies 2023-04-28 14:18:22 +03:00
Orhun Parmaksız
c4024523fa
docs(config): update the sections 2023-04-28 13:31:05 +03:00
Orhun Parmaksız
53c0c1d075
style(docs): fix the grammar for tj-actions 2023-04-28 13:30:35 +03:00
Orhun Parmaksız
3ee6724837
style(docs): update the formatting for python integration example 2023-04-28 13:27:16 +03:00
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
24ba43330a
style(website): update the style for environment variable section 2023-04-22 21:19:43 +03:00
Mack Solomon
bb9a889f1b
fix(config)!: nested environment config overrides (#157)
* chore: update env variable override format

* tests: add a copule env override assertions

* docs: add a doc for env overrides

* docs: wording

* docs: wording

* fix: prefix

* docs: format first
2023-04-22 20:16:08 +02:00
Orhun Parmaksız
77dda53843
fix(website): fix broken links 2023-04-09 18:39:39 +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