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

Improve Monorepository Support #969

Open
1 task done
rawkode opened this issue Nov 29, 2024 · 3 comments
Open
1 task done

Improve Monorepository Support #969

rawkode opened this issue Nov 29, 2024 · 3 comments
Assignees
Labels
feature/request New feature or request

Comments

@rawkode
Copy link

rawkode commented Nov 29, 2024

Is there an existing issue or pull request for this?

  • I have searched the existing issues and pull requests

Feature description

Instead of having to execute commands, like so:

git cliff --include-path "projects/rawkode.academy/zulip/**/*" --repository ../../../

I'd like to instead have a cliff.yaml nested throughout my monorepository that allows me to segment my monorepository.

Desired solution

Adding a cliff.yaml to a directory should automatically set --include-paths to that directory and lower.

git-cliff should always use the Git root as --repository

Alternatives considered

N/A

Additional context

No response

@rawkode rawkode added the feature/request New feature or request label Nov 29, 2024
Copy link

welcome bot commented Nov 29, 2024

Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️

@orhun
Copy link
Owner

orhun commented Dec 4, 2024

Hey, thanks for creating the issue! 👋🏼

I generally agree that the monorepo support should be improved.

git-cliff should always use the Git root as --repository

I created #975 which fixes that, no need to do --repository ../../ etc. anymore!

Adding a cliff.yaml to a directory should automatically set --include-paths to that directory and lower.

Done in #976

Let me know if you can test this out! I'd appreciate some help to see if the behavior is correct now :)

@rawkode
Copy link
Author

rawkode commented Dec 4, 2024

Awesome. I'll run some tests tonight.

Thank you!

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

2 participants