Skip to content
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

Is it possible to generate single changelog for multiple git projects #13

Closed
darkLord19 opened this issue Sep 8, 2021 · 8 comments
Closed
Assignees
Labels
feature/request New feature or request

Comments

@darkLord19
Copy link

No description provided.

@darkLord19 darkLord19 added the feature/request New feature or request label Sep 8, 2021
@orhun
Copy link
Owner

orhun commented Sep 9, 2021

Hello, it is not possible for now. It can be implemented but can you give some details about your use-case? I'm wondering when such thing can be useful.

@darkLord19
Copy link
Author

@orhun in microservices environments or environment where one release consists of multiple separate components deployments

@orhun
Copy link
Owner

orhun commented Sep 15, 2021

I see. The problem is git-cliff currently parses the commit history and splits the commits into groups by tags. So in the case of multiple git histories, it should join the histories and group the commits somehow, if that's what you meant by "multiple git projects".

e.g.

git cliff --repository <repo_path1> <repo_path2>

Would that be sufficient for your use-case?

@alerque
Copy link
Contributor

alerque commented Sep 15, 2021

@darkLord19 Are you using a monorepo for multiple service projects or multiple repositories? Your question about "projects" and "components" doesn't make it clear how you are handling these in relation to repositories.

@orhun
Copy link
Owner

orhun commented Sep 21, 2021

@darkLord19 can you clarify @alerque's question before I proceed with the implementation?

@darkLord19
Copy link
Author

@orhun git cliff --repository <repo_path1> <repo_path2> ye this is exactly what I mean. I have multiple repos and it should join commits

@ZhukovWang
Copy link

Hello, I try this command git cliff --repository <repo_path1> <repo_path2> -l --output changlog.md, but this only outputs changelog of repo_path1, doesn't contain repo_path2.

And I read the code, seems the type of repository is not right? code line is here. It should be Option<Vec<PathBuf>>, not Option<PathBuf>, like include_path.

@orhun
Copy link
Owner

orhun commented Jan 7, 2023

I implemented this in 8b17a1f and will be available with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants