1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-12-16 14:33:25 +03:00
Commit Graph

656 Commits

Author SHA1 Message Date
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
Marco Ieni
6482a10834
more optional deps 2023-04-30 17:39:41 +02:00
Marco Ieni
5fdf39ae32
chore(core): make git2 optional 2023-04-28 18:51:51 +02:00
Orhun Parmaksız
c8289ac907
chore(release): prepare for v1.2.0 2023-04-28 16:16:55 +03:00
Orhun Parmaksız
e0a29efe3f
docs(blog): add blog post about what's new in 1.2.0 2023-04-28 16:09:11 +03:00
Orhun Parmaksız
1f897e3d70
chore(cd): temporarily switch back to action-rs/toolchain 2023-04-28 15:20:02 +03:00
Orhun Parmaksız
e42f91013b
refactor(cd): remove unnecessary config update 2023-04-28 15:17:03 +03:00
Orhun Parmaksız
b3eef4a688
fix(release): use the correct argument in release script 2023-04-28 15:17:00 +03:00
bors[bot]
deb0528d11
chore(pull): merge #161
161: chore(deps): bump actions/configure-pages from 1 to 3 r=orhun a=dependabot[bot]

Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 1 to 3.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-28 11:57:49 +00:00
bors[bot]
de2ae71170
chore(pull): merge #160
160: chore(deps): bump actions/deploy-pages from 1 to 2 r=orhun a=dependabot[bot]

Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 1 to 2.


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-28 11:52:00 +00:00
dependabot[bot]
bad7c6c288
chore(deps): bump actions/configure-pages from 1 to 3
Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 1 to 3.
- [Release notes](https://github.com/actions/configure-pages/releases)
- [Commits](https://github.com/actions/configure-pages/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/configure-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 11:49:32 +00:00
dependabot[bot]
b1aeae263c
chore(deps): bump actions/deploy-pages from 1 to 2
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 1 to 2.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 11:49:28 +00:00
Orhun Parmaksız
fe5a4dd8f0
chore(github): integrate Dependabot 2023-04-28 14:49:00 +03:00
Orhun Parmaksız
1ab6f39c84
chore(github): integrate bors 2023-04-28 14:47:37 +03:00
Orhun Parmaksız
d3cb25bc99
chore(github): add contact links for issues 2023-04-28 14:35:52 +03:00
Orhun Parmaksız
95e8408ae6
chore(docker): update versions in Dockerfile 2023-04-28 14:29:37 +03:00
Orhun Parmaksız
84f20f906f
chore(cargo): update MSRV to 1.64.0 2023-04-28 14:27:35 +03:00