-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crate single unified changelog for multiple git repositories #225
Comments
Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️ |
Hello, sorry for the late reply. 🙈 Currently This is not really optimal and I can't think of another possible solution for now. |
Hi, would it at least be possible to sort the sections by tag? Currently the output is like this:
Instead it would be nice if the newer tags were on top:
|
Unfortunately no, if I understand correctly the template is rendered per tag/version, so you can’t do any operations across versions. I tried with FYI we moved away from multi repo changelogs for now |
Ah, sorry to hear that, it might get a bit tricky to generate a changelog for multiple repositories. #837 should be straightforward to fix though. |
Before writing this request, I read #13 .
Problem
I have 2 git repositories
core_repo
andplugins_repo
. The 2 are developed and maintained by the same team and are deployed together; therefore we would like to have only a single changelog that tracks the changes from the 2 repos. However, when I usegit-cliff --unreleased --repository $CORE_REPO_DIR $PLUGINS_REPO_DIR --tag 5.1.0
I esentially get 2 changelogs, 1 after the other.Solution
Is it possible to add a flag to unify these changelogs as though all the commits came from a single repository?
If it is easier, it would be okay to also provide a way to manipulate/merge the context(s) (it seems to me that 2 of them are generated in this case) before they are passed to the templating engine.
Additional context
Here is an example to demonstrate this practically
Within repo1
Within repo2
When I run
git-cliff --unreleased --repository $REPO1_DIR $REPO2_DIR --tag 1.0.1
, the output looks likeI am instead asking for a way to unify these into:
I would have been happy to submit a PR but unfortunately I have never used Rust before (and cannot find a Python tool that is both well documented and flexible).
The text was updated successfully, but these errors were encountered: