From ee6cd1f926a7041478661c893b3fd9ffba3cef4e Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Thu, 7 Mar 2024 12:58:49 +0800 Subject: [PATCH] misc: add changelog with git-cliff Signed-off-by: Soc Virnyl Estela --- CHANGELOG.md | 249 +++++++++++++++++++++++++++++++++++++++++++++++++++ cliff.toml | 80 +++++++++++++++++ 2 files changed, 329 insertions(+) create mode 100644 CHANGELOG.md create mode 100644 cliff.toml diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..04c8e33 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,249 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [1.2.1] - 2024-03-07 + +### Miscellaneous Tasks + +- V1.2.1 [4a877e3](https://github.com/openSUSE/obs-service-cargo_vendor/commit/4a877e3c4ec71fdcf755a4646d04e92060b60eee) + +## [1.1.0] - 2024-03-02 + +### Bug Fixes + +- Reconcile merge conflict [06cd879](https://github.com/openSUSE/obs-service-cargo_vendor/commit/06cd879b6fb99e5ec3da1de5a977ef8c823d57cc) + +### Miscellaneous Tasks + +- V1.1.0 [590f604](https://github.com/openSUSE/obs-service-cargo_vendor/commit/590f604a56c8985918a35e77ed8c4b1b9e5d3b00) + +## [1.0.2] - 2024-03-02 + +### Bug Fixes + +- Update versioning of dependencies to fix builds [cb26e0a](https://github.com/openSUSE/obs-service-cargo_vendor/commit/cb26e0a0338e729ec594f6f54d6f6da5802a3047) + +### Miscellaneous Tasks + +- V1.0.2 [389a9b9](https://github.com/openSUSE/obs-service-cargo_vendor/commit/389a9b9983a7688909df12365374045d3c37a73a) + +## [1.0.1] - 2024-02-29 + +### Miscellaneous Tasks + +- Update lockfile [cfba3eb](https://github.com/openSUSE/obs-service-cargo_vendor/commit/cfba3eb6841013b88f22538914951536c37f68e5) + +## [1.0.0] - 2024-01-14 + +### Miscellaneous Tasks + +- V1.0.0 [16e9856](https://github.com/openSUSE/obs-service-cargo_vendor/commit/16e9856dafb7ccfbc823abfd7149b0fa49b3d4d2) + +## [0.9.0] - 2023-12-24 + +### Miscellaneous Tasks + +- V0.9.0 [104b2d4](https://github.com/openSUSE/obs-service-cargo_vendor/commit/104b2d4aa31c7cadb8ed69ed970e5753b138062e) + +### Clippy + +- Apply clippy suggestions [643c65d](https://github.com/openSUSE/obs-service-cargo_vendor/commit/643c65d905f5f44fb60751fa6d3803a538656485) + +## [0.8.21] - 2023-12-11 + +### Miscellaneous Tasks + +- V0.8.21 [cd9799b](https://github.com/openSUSE/obs-service-cargo_vendor/commit/cd9799b52aa43328a616813423222cd3563e0f9e) + +## [0.8.20] - 2023-12-07 + +### Miscellaneous Tasks + +- 0.8.20 [8cd5f30](https://github.com/openSUSE/obs-service-cargo_vendor/commit/8cd5f30608bf8752f9e0ccca6e7b5413e47829e3) + +## [0.8.19] - 2023-12-07 + +### Bug Fixes + +- We added bz2 mime type which was forgotten to be added in consts.rs [39f3b45](https://github.com/openSUSE/obs-service-cargo_vendor/commit/39f3b45facd258622e509ecb0424b72742809d29) + +### Miscellaneous Tasks + +- 0.8.19 [d399d7a](https://github.com/openSUSE/obs-service-cargo_vendor/commit/d399d7a0c9563d537e0205aed62bd1d13316b8c0) + +## [0.8.18] - 2023-12-05 + +### Miscellaneous Tasks + +- 0.8.18 [ca11f4b](https://github.com/openSUSE/obs-service-cargo_vendor/commit/ca11f4bd58563e3ed9f4ad45cd68be8649823222) + +## [0.8.15] - 2023-11-24 + +### Bug Fixes + +- Check also the targets section [68d7eac](https://github.com/openSUSE/obs-service-cargo_vendor/commit/68d7eacbaa4ab1eae71eaa1e84931977a5c4b977) +- We also include build_dependencies [46560c6](https://github.com/openSUSE/obs-service-cargo_vendor/commit/46560c674be831fbd024827b315d0293acdce257) + +### Documentation + +- Put warning on README [ci skip] [7e77a26](https://github.com/openSUSE/obs-service-cargo_vendor/commit/7e77a268caf119a20445335967b221489bf34090) + +### Miscellaneous Tasks + +- Nitpick. remove small space [ci skip] [378bbfc](https://github.com/openSUSE/obs-service-cargo_vendor/commit/378bbfc9c7f6026a62c062ea299669d2a4b1fdb3) +- Release 0.8.15 [39f8c58](https://github.com/openSUSE/obs-service-cargo_vendor/commit/39f8c58ed8387f87dc5275f40c5edb07033bb942) + +### Testing + +- Add VBox-Starter in runtests.sh [cb8a9a3](https://github.com/openSUSE/obs-service-cargo_vendor/commit/cb8a9a3c432c87ca56b8abb9847b05f7f661669f) + +## [0.8.12] - 2023-11-21 + +### Documentation + +- Add possible vendor failures in README [ci skip] [7904a15](https://github.com/openSUSE/obs-service-cargo_vendor/commit/7904a155dfe15cae36b0836db2be8ebd58df0ed8) + +### Miscellaneous Tasks + +- Bump to version 0.8.12 [f8ec1b4](https://github.com/openSUSE/obs-service-cargo_vendor/commit/f8ec1b4d107871a65673842398df8efda0610ca4) + +### Improv + +- Reintroduced tag in README [c67d7d2](https://github.com/openSUSE/obs-service-cargo_vendor/commit/c67d7d2f00bb0c07431d4707873c2c954fdedeb0) + +## [0.8.10] - 2023-11-18 + +### Bug Fixes + +- Check if dependencies section is empty or not [621dea1](https://github.com/openSUSE/obs-service-cargo_vendor/commit/621dea1f84cd37f7a178bf5878c0e22354961c6b) + +### Documentation + +- Add status badge in the readme [06b24c0](https://github.com/openSUSE/obs-service-cargo_vendor/commit/06b24c0c733c7d08bf7e838889a0b393f1ec85f8) +- Update README [ci skip] [4c15d8e](https://github.com/openSUSE/obs-service-cargo_vendor/commit/4c15d8e6f7dac07267d558199e71bb6939aeb75b) + +### Miscellaneous Tasks + +- Remove redundant messages [d0cbcd4](https://github.com/openSUSE/obs-service-cargo_vendor/commit/d0cbcd437c9f604566ac3fba6923ea6b8d14b8a4) + +### Ci + +- Install libzstd. it's needed [f7039e3](https://github.com/openSUSE/obs-service-cargo_vendor/commit/f7039e3c078c5c88f843712e8f4b4292c12df360) +- Put the tests into a convenient script [84cca41](https://github.com/openSUSE/obs-service-cargo_vendor/commit/84cca411fbf4b632bbc6b6eb16b19876154882f2) + +### Improvement + +- Better handling on when and when not to vendor [751775c](https://github.com/openSUSE/obs-service-cargo_vendor/commit/751775c2c070481c9a755fa86faeb12c503d8729) + +## [0.8.9] - 2023-11-17 + +### Bug Fixes + +- Sometimes lockfiles can't be found [8b9ef3f](https://github.com/openSUSE/obs-service-cargo_vendor/commit/8b9ef3fec060927deaa57c67191a01e036d8b825) + +### Miscellaneous Tasks + +- Ready for patch release 0.8.9 [bf1ce2c](https://github.com/openSUSE/obs-service-cargo_vendor/commit/bf1ce2c3ce16a75b040685d7c913358b432266b4) + +## [0.8.8] - 2023-11-17 + +### Bug Fixes + +- Ensure `basepath` and sources are joined as one path [6f39308](https://github.com/openSUSE/obs-service-cargo_vendor/commit/6f39308f0c7e814f6ab6e345f79f25199747eb73) +- Also join the paths from `prjdir` [ec3b628](https://github.com/openSUSE/obs-service-cargo_vendor/commit/ec3b628c2de748e2f5600a0d36d7284d3e968f48) +- Hasdeps should inherit should_vendor value [696a35a](https://github.com/openSUSE/obs-service-cargo_vendor/commit/696a35a909605f0b059d2974aaed30b11d500b37) +- Just warn and don't return an error [b95565f](https://github.com/openSUSE/obs-service-cargo_vendor/commit/b95565feed61bf4107fd45baee33d44d50879dbb) + +### Documentation + +- Add dependencies section in the README [9609059](https://github.com/openSUSE/obs-service-cargo_vendor/commit/9609059b9357e9b0d449539da5d8abaf00d8f1cc) + +### Miscellaneous Tasks + +- Be specific with versions [3fb65d1](https://github.com/openSUSE/obs-service-cargo_vendor/commit/3fb65d1a395ca5ec0d510e8422a25f70fde7c465) +- Update to 0.8.8 [2a340de](https://github.com/openSUSE/obs-service-cargo_vendor/commit/2a340de5094279d3f0b1b820af96a8e5d3c03bae) + +### Clippy + +- Change match to if let [f2af8bb](https://github.com/openSUSE/obs-service-cargo_vendor/commit/f2af8bb3e9939330c4fe3c26e4abaef48560c566) + +## [0.8.4] - 2023-10-31 + +### Bug Fixes + +- Also check attempt to vendor if it is also a workspace [c2083f9](https://github.com/openSUSE/obs-service-cargo_vendor/commit/c2083f9423b66f27fec4c41d95af700e8ed6733c) + +### Miscellaneous Tasks + +- Bump to 0.8.4 [8275784](https://github.com/openSUSE/obs-service-cargo_vendor/commit/8275784921bfc7411d939d1971afbc79800fc4d1) + +## [0.8.3] - 2023-10-31 + +### Miscellaneous Tasks + +- Add stop sign in error message [6f12091](https://github.com/openSUSE/obs-service-cargo_vendor/commit/6f1209138aedbd36eb61515e3137386d939c9f9b) +- Bump to 0.8.3 [17e993c](https://github.com/openSUSE/obs-service-cargo_vendor/commit/17e993cd387cfa15454a060c6d77cf547a7406e9) + +## [0.8.2] - 2023-10-31 + +### Bug Fixes + +- Also make sure it really has no deps [5f52abf](https://github.com/openSUSE/obs-service-cargo_vendor/commit/5f52abf16558c571ded2fcd442234c4ad5a97d71) + +## [0.8.1] - 2023-10-31 + +### Bug Fixes + +- Also copy top-level folder if src is a directory [4c0ff68](https://github.com/openSUSE/obs-service-cargo_vendor/commit/4c0ff68f762be3ef08fa331262bd985ce19a775f) +- Also copy top-level folder if src is a directory [bb443ef](https://github.com/openSUSE/obs-service-cargo_vendor/commit/bb443efd009500e010ed91e87c51e1766f404f39) + +### Documentation + +- Update README regarding the new flag [05649f4](https://github.com/openSUSE/obs-service-cargo_vendor/commit/05649f428300d1320df24489126513b04696ee3f) + +### Miscellaneous Tasks + +- Update lockfile [8e21d46](https://github.com/openSUSE/obs-service-cargo_vendor/commit/8e21d46f3ac73778fed31c31271ebcc92b335f97) +- Update to 0.8.1 [8f4decd](https://github.com/openSUSE/obs-service-cargo_vendor/commit/8f4decd84a2a139eb09b010027851b7ac7d9eff3) + +### All + +- Apply clippy lint suggestions [790f85a](https://github.com/openSUSE/obs-service-cargo_vendor/commit/790f85a269958481241e053ef4f0fe69d135396f) + +### Clippy + +- Apply clippy suggestions [7d13cc3](https://github.com/openSUSE/obs-service-cargo_vendor/commit/7d13cc3f6080155e2272458de0d833204c23e896) + +### Utils + +- Exit vendor step if no dependencies found (#55) [445ae7a](https://github.com/openSUSE/obs-service-cargo_vendor/commit/445ae7add0e7199c2126849e2ec8c5f4cad8690f) + +## [0.7.4] - 2023-10-09 + +### Bug Fixes + +- Decompressed tarball may or may not have a top-level folder [4632713](https://github.com/openSUSE/obs-service-cargo_vendor/commit/4632713d93d46dc03bb8c3c56f8b5566bc698372) + +## [0.7.2] - 2023-10-07 + +### Bug Fixes + +- Src.clone().src -> actual_src [5ab2288](https://github.com/openSUSE/obs-service-cargo_vendor/commit/5ab228819b24ecd0fee81ff49c6e1a38ce6ed522) + +## [0.6.0-alpha] - 2023-09-08 + +### Bug Fixes + +- Change to empty [] list (#30) [41a187f](https://github.com/openSUSE/obs-service-cargo_vendor/commit/41a187fa603334bef39fbe800c8251c3d407ba46) + +### Features + +- Add cargotoml option. used for syncing (#29) [764c752](https://github.com/openSUSE/obs-service-cargo_vendor/commit/764c752599203a8334ec0645a7f79e2dc082ef8f) + +## [0.1.0] - 2019-09-12 + +### Readme + +- Correct OBS links and add attributions (#1) [12b2ff6](https://github.com/openSUSE/obs-service-cargo_vendor/commit/12b2ff6a28cdff11a63530530583bbfeed4de6ba) + diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 0000000..952495c --- /dev/null +++ b/cliff.toml @@ -0,0 +1,80 @@ +# git-cliff ~ default configuration file +# https://git-cliff.org/docs/configuration +# +# Lines starting with "#" are comments. +# Configuration options are organized into tables and keys. +# See documentation for more information on available options. + +[changelog] +# changelog header +header = """ +# Changelog\n +All notable changes to this project will be documented in this file.\n +""" +# template for the changelog body +# https://tera.netlify.app/docs +body = """ +{% if version %}\ + ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} +{% else %}\ + ## [unreleased] +{% endif %}\ +{% for group, commits in commits | group_by(attribute="group") %} + ### {{ group | upper_first }} + {% for commit in commits %} + - {{ commit.message | upper_first }} [{{ commit.id | truncate(length=7, end="") }}](https://github.com/openSUSE/obs-service-cargo_vendor/commit/{{ commit.id }})\ + {% endfor %} +{% endfor %}\n +""" +# remove the leading and trailing whitespace from the template +trim = true +# changelog footer +footer = "" + +[git] +# parse the commits based on https://www.conventionalcommits.org +conventional_commits = true +# filter out the commits that are not conventional +filter_unconventional = true +# process each line of a commit as an individual commit +split_commits = false +# regex for preprocessing the commit messages +commit_preprocessors = [ + { pattern = ".*", replace-command = "git show -s --format=%s (%h) - %an. (%as)"} +] +# regex for parsing and grouping commits +commit_parsers = [ + { message = "^feat", group = "Features" }, + { message = "^fix", group = "Bug Fixes" }, + { message = "^doc", group = "Documentation" }, + { message = "^docs", group = "Documentation" }, + { message = "^perf", group = "Performance" }, + { message = "^refactor", group = "Refactor" }, + { message = "^style", group = "Styling" }, + { message = "^test", group = "Testing" }, + { message = "^chore\\(release\\): prepare for", skip = true }, + { message = "^chore", group = "Miscellaneous Tasks" }, + { message = "^misc", group = "Miscellaneous Tasks" }, + { message = "^dep", group = "Dependencies" }, + { message = "^deps", group = "Dependencies" }, + { message = "^cliff", group = "Cliff Config", skip = true }, + { message = "^lib", group = "Library Updates" }, + { message = "^security", group = "Security" }, +] +# protect breaking changes from being skipped due to matching a skipping commit_parser +protect_breaking_commits = false +# filter out the commits that are not matched by commit parsers +filter_commits = false +# glob pattern for matching git tags +tag_pattern = "v[0-9]*" +# regex for skipping tags +skip_tags = "v0.1.0-beta.1" +# regex for ignoring tags +ignore_tags = "" +# sort the tags topologically +topo_order = true +# sort the commits inside sections by oldest/newest order +sort_commits = "oldest" +# limit the number of commits included in the changelog. +# limit_commits = 42 +