1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-12-17 20:31:42 +03:00
Commit Graph

622 Commits

Author SHA1 Message Date
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
bors[bot]
263cb6c968
chore(pull): merge #189
189: chore(deps): bump rust-embed from 6.6.1 to 6.7.0 r=orhun a=dependabot[bot]

Bumps [rust-embed](https://github.com/pyros2097/rust-embed) from 6.6.1 to 6.7.0.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-10 11:02:58 +00:00
bors[bot]
07458216b4
chore(pull): merge #190 #191
190: chore(deps): bump serde from 1.0.163 to 1.0.164 r=orhun a=dependabot[bot]

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.163 to 1.0.164.


191: chore(deps): bump clap from 4.3.2 to 4.3.3 r=orhun a=dependabot[bot]

Bumps [clap](https://github.com/clap-rs/clap) from 4.3.2 to 4.3.3.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-10 10:58:13 +00:00
dependabot[bot]
3d4084fda5
chore(deps): bump clap from 4.3.2 to 4.3.3
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.2...v4.3.3)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 23:06:53 +00:00
dependabot[bot]
464526e97d
chore(deps): bump serde from 1.0.163 to 1.0.164
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.163 to 1.0.164.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 23:04:39 +00:00
dependabot[bot]
838bdee072
chore(deps): bump rust-embed from 6.6.1 to 6.7.0
Bumps [rust-embed](https://github.com/pyros2097/rust-embed) from 6.6.1 to 6.7.0.
- [Changelog](https://github.com/pyrossh/rust-embed/blob/master/changelog.md)
- [Commits](https://github.com/pyros2097/rust-embed/commits)

---
updated-dependencies:
- dependency-name: rust-embed
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 23:04:27 +00:00
bors[bot]
e3b3bb065f
chore(pull): merge #186 #187
186: chore(deps): bump regex from 1.8.3 to 1.8.4 r=orhun a=dependabot[bot]

Bumps [regex](https://github.com/rust-lang/regex) from 1.8.3 to 1.8.4.


187: chore(deps): bump clap from 4.3.1 to 4.3.2 r=orhun a=dependabot[bot]

Bumps [clap](https://github.com/clap-rs/clap) from 4.3.1 to 4.3.2.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 11:20:15 +00:00
dependabot[bot]
a4f8f00c4a
chore(deps): bump clap from 4.3.1 to 4.3.2
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.3.1...v4.3.2)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 23:07:05 +00:00
dependabot[bot]
77c40543a5
chore(deps): bump regex from 1.8.3 to 1.8.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.8.3...1.8.4)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 23:06:48 +00:00
dependabot[bot]
a5d9c56b48
chore(deps): bump clap dependencies
chore(deps): bump clap from 4.3.0 to 4.3.1

Bumps [clap](https://github.com/clap-rs/clap) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.3.0...clap_complete-v4.3.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

chore(deps): bump clap_complete from 4.3.0 to 4.3.1

Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.3.0...clap_complete-v4.3.1)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

chore(deps): bump clap_mangen from 0.2.11 to 0.2.12

Bumps [clap_mangen](https://github.com/clap-rs/clap) from 0.2.11 to 0.2.12.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.11...clap_mangen-v0.2.12)

---
updated-dependencies:
- dependency-name: clap_mangen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-03 14:15:19 +03:00
bors[bot]
45010b8dfc
chore(pull): merge #182
182: chore(deps): bump tera from 1.18.1 to 1.19.0 r=orhun a=dependabot[bot]

Bumps [tera](https://github.com/Keats/tera) from 1.18.1 to 1.19.0.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 14:36:49 +00:00
dependabot[bot]
34c5f4d244
chore(deps): bump tera from 1.18.1 to 1.19.0
Bumps [tera](https://github.com/Keats/tera) from 1.18.1 to 1.19.0.
- [Changelog](https://github.com/Keats/tera/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Keats/tera/commits)

---
updated-dependencies:
- dependency-name: tera
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-31 23:05:19 +00:00
bors[bot]
65ef3958d4
chore(pull): merge #180
180: chore(deps): bump git2 from 0.17.1 to 0.17.2 r=orhun a=dependabot[bot]

Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.17.1 to 0.17.2.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 17:49:18 +00:00
bors[bot]
344c26735a
chore(pull): merge #181
181: chore(deps): bump log from 0.4.17 to 0.4.18 r=orhun a=dependabot[bot]

Bumps [log](https://github.com/rust-lang/log) from 0.4.17 to 0.4.18.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 17:45:23 +00:00
dependabot[bot]
fde28baa9f
chore(deps): bump log from 0.4.17 to 0.4.18
Bumps [log](https://github.com/rust-lang/log) from 0.4.17 to 0.4.18.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.17...0.4.18)

---
updated-dependencies:
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 23:08:19 +00:00
dependabot[bot]
2d4eca8cfc
chore(deps): bump git2 from 0.17.1 to 0.17.2
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.17.1 to 0.17.2.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.17.1...0.17.2)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 23:08:08 +00:00
bors[bot]
cd2b5d464c
chore(pull): merge #179
179: chore(deps): bump regex from 1.8.2 to 1.8.3 r=orhun a=dependabot[bot]

Bumps [regex](https://github.com/rust-lang/regex) from 1.8.2 to 1.8.3.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-27 15:12:19 +00:00
dependabot[bot]
c7f6f28e1b
chore(deps): bump regex from 1.8.2 to 1.8.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.8.2...1.8.3)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 23:04:07 +00:00
bors[bot]
bbf8296638
chore(pull): merge #178
178: chore(deps): bump regex from 1.8.1 to 1.8.2 r=orhun a=dependabot[bot]

Bumps [regex](https://github.com/rust-lang/regex) from 1.8.1 to 1.8.2.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 01:04:39 +00:00
dependabot[bot]
b7856d68db
chore(deps): bump regex from 1.8.1 to 1.8.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.8.1...1.8.2)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 23:11:04 +00:00
bors[bot]
11ac49be1b
chore(pull): merge #176
176: chore(deps): bump clap_mangen from 0.2.10 to 0.2.11 r=orhun a=dependabot[bot]

Bumps [clap_mangen](https://github.com/clap-rs/clap) from 0.2.10 to 0.2.11.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-20 17:30:05 +00:00
dependabot[bot]
b268dbb420
chore(deps): bump clap_mangen from 0.2.10 to 0.2.11
Bumps [clap_mangen](https://github.com/clap-rs/clap) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.10...clap_mangen-v0.2.11)

---
updated-dependencies:
- dependency-name: clap_mangen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-20 17:28:24 +00:00
bors[bot]
8f3e983321
chore(pull): merge #177
177: chore(deps): bump clap_complete from 4.2.3 to 4.3.0 r=orhun a=dependabot[bot]

Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.2.3 to 4.3.0.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-20 17:23:20 +00:00
bors[bot]
fe4973a84c
chore(pull): merge #175
175: chore(deps): bump clap from 4.2.7 to 4.3.0 r=orhun a=dependabot[bot]

Bumps [clap](https://github.com/clap-rs/clap) from 4.2.7 to 4.3.0.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-20 17:18:50 +00:00
dependabot[bot]
f9bd123ede
chore(deps): bump clap_complete from 4.2.3 to 4.3.0
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.2.3 to 4.3.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.2.3...clap_complete-v4.3.0)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-19 23:06:43 +00:00
dependabot[bot]
36fc84095d
chore(deps): bump clap from 4.2.7 to 4.3.0
Bumps [clap](https://github.com/clap-rs/clap) from 4.2.7 to 4.3.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.2.7...clap_complete-v4.3.0)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-19 23:06:06 +00:00
bors[bot]
d782d5ec47
chore(pull): merge #173
173: chore(deps): bump pretty_env_logger from 0.4.0 to 0.5.0 r=orhun a=dependabot[bot]

Bumps [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) from 0.4.0 to 0.5.0.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 12:05:35 +00:00
bors[bot]
dde0df3d7b
chore(pull): merge #174
174: chore(deps): bump toml from 0.7.3 to 0.7.4 r=orhun a=dependabot[bot]

Bumps [toml](https://github.com/toml-rs/toml) from 0.7.3 to 0.7.4.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 12:00:52 +00:00
dependabot[bot]
e7cb0a1a16
chore(deps): bump toml from 0.7.3 to 0.7.4
Bumps [toml](https://github.com/toml-rs/toml) from 0.7.3 to 0.7.4.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.3...toml-v0.7.4)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-18 23:05:19 +00:00
dependabot[bot]
ca76edbfee
chore(deps): bump pretty_env_logger from 0.4.0 to 0.5.0
Bumps [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) from 0.4.0 to 0.5.0.
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: pretty_env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-18 23:05:06 +00: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
bors[bot]
870d31f3b2
chore(pull): merge #172
172: chore(deps): bump clap_complete from 4.2.2 to 4.2.3 r=orhun a=dependabot[bot]

Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.2.2 to 4.2.3.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-13 11:27:36 +00:00
dependabot[bot]
a10ac1ebd9
chore(deps): bump clap_complete from 4.2.2 to 4.2.3
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.2.2...clap_complete-v4.2.3)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-12 23:05:24 +00:00
bors[bot]
03857f5f62
chore(pull): merge #171
171: chore(deps): bump serde from 1.0.162 to 1.0.163 r=orhun a=dependabot[bot]

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.162 to 1.0.163.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 23:13:37 +00:00
Orhun Parmaksız
a4725d4ce4
chore(github): add config for welcome bot 2023-05-12 02:12:29 +03:00
dependabot[bot]
0667d40176
chore(deps): bump serde from 1.0.162 to 1.0.163
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.162 to 1.0.163.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.162...v1.0.163)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 23:06:41 +00:00
bors[bot]
10fb907fc4
chore(pull): merge #169
169: chore(deps): bump update-informer from 0.6.0 to 1.0.0 r=orhun a=dependabot[bot]

Bumps [update-informer](https://github.com/mgrachev/update-informer) from 0.6.0 to 1.0.0.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 18:32:09 +00:00
bors[bot]
31e3faacba
chore(pull): merge #170
170: chore(deps): bump clap_complete from 4.2.1 to 4.2.2 r=orhun a=dependabot[bot]

Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.2.1 to 4.2.2.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 18:20:18 +00:00
dependabot[bot]
18fd2702a7
chore(deps): bump clap_complete from 4.2.1 to 4.2.2
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.2.1...clap_complete-v4.2.2)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 23:03:50 +00:00
dependabot[bot]
a76fb9af57
chore(deps): bump update-informer from 0.6.0 to 1.0.0
Bumps [update-informer](https://github.com/mgrachev/update-informer) from 0.6.0 to 1.0.0.
- [Release notes](https://github.com/mgrachev/update-informer/releases)
- [Changelog](https://github.com/mgrachev/update-informer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mgrachev/update-informer/compare/v0.6.0...v1.0.0)

---
updated-dependencies:
- dependency-name: update-informer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 23:08:12 +00:00
bors[bot]
4ae8c8868c
chore(pull): merge #168
168: chore(deps): bump serde from 1.0.160 to 1.0.162 r=orhun a=dependabot[bot]

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.160 to 1.0.162.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-06 13:32:52 +00:00
dependabot[bot]
d147d2c529
chore(deps): bump serde from 1.0.160 to 1.0.162
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.160 to 1.0.162.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.160...1.0.162)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 23:02:49 +00:00
bors[bot]
8f7c59db4e
chore(pull): merge #166
166: chore(deps): bump clap from 4.2.5 to 4.2.7 r=orhun a=dependabot[bot]

Bumps [clap](https://github.com/clap-rs/clap) from 4.2.5 to 4.2.7.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 11:07:17 +00:00
dependabot[bot]
aa51eef35e
chore(deps): bump clap from 4.2.5 to 4.2.7
Bumps [clap](https://github.com/clap-rs/clap) from 4.2.5 to 4.2.7.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.2.5...v4.2.7)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 23:04:21 +00:00
bors[bot]
5ec4d1f76f
chore(pull): merge #162
162: chore(core): make git2 optional r=orhun a=MarcoIeni

<!--- Thank you for contributing to git-cliff! ⛰️  -->

## Description

<!--- Describe your changes in detail -->
Make git2 optional in git-cliff-core crate.

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

In release-plz I use git-cliff-core.
However, I don't need git-cliff to read the git history, so I don't need it to include git2.
I depend on both cargo and git-cliff, and often they have conflicting git2 versions.
For example, right now I can't update to the latest git-cliff, because git2 of git-cliff isn't compatible with cargo.

However with this change, by using:
`git-cliff-core =  { path = "../git-cliff/git-cliff-core", default-features = false }`
in release-plz I'm able to update!

Some questions for you:
- are you ok with this additional complexity?
- do you want to find a better name for the feature?

Probably there are other dependencies that can be made optional, but for now git2 is the biggest pain-point for me.
If you are interested, I can find more dependencies.
## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

release-plz is compiling.
Maybe we can add a CI check to test that git-cliff-core compiles even without default features enabled.

## Screenshots / Logs (if applicable)

## Types of Changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation (no code change)
- [x] Refactor (refactoring production code)
- [ ] Other <!--- (provide information) -->

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [x] My code follows the code style of this project.
- [x] I have updated the documentation accordingly.
- [x] I have formatted the code with [rustfmt](https://github.com/rust-lang/rustfmt).
- [x] I checked the lints with [clippy](https://github.com/rust-lang/rust-clippy).
- [x] I have added tests to cover my changes.
- [x] All new and existing tests passed.

## alternative

Extract the code that doesn't depend on git2 in a third crate.
In particular, in my use case I already have the commits I want to write in the changelog, so it would be great if there was a crate that is only focused on generating the changelog, not in determining the commits to write into it.
It would be great if it could expose a subset of the configuration. For example, in release-plz not all git-cliff configuration option will have effect.

Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
2023-05-01 10:35:05 +00:00
Marco Ieni
e323621094
ci: check without default features 2023-05-01 10:36:26 +02:00
Marco Ieni
38c7c89d33
fix comment 2023-05-01 10:34:43 +02:00
Orhun Parmaksız
7d7470b2d0
test(repo): add an informative error message to failing test 2023-04-30 19:47:08 +03:00
Marco Ieni
85a13b8b2b
add description 2023-04-30 17:56:11 +02:00
Marco Ieni
db9c7a47de
add doc 2023-04-30 17:47:56 +02:00