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

Allow define sort on cliff.toml #31

Closed
robsonpeixoto opened this issue Nov 5, 2021 · 1 comment
Closed

Allow define sort on cliff.toml #31

robsonpeixoto opened this issue Nov 5, 2021 · 1 comment
Assignees
Labels
feature/request New feature or request

Comments

@robsonpeixoto
Copy link

Is your feature request related to a problem? Please describe.

Is not a problem, but is easier to share cliff.toml with all required config than share the file and ask people to pass the sort parameter when run.

@orhun
Copy link
Owner

orhun commented Nov 25, 2021

I implemented this in 4eb334d. Now you can define the following values in the configuration file:

[git]
# sort the tags topologically
topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"

These changes will be available with the upcoming release so feel free to try it out and report bugs by either pulling the docker image or building from source.

@orhun orhun closed this as completed Nov 25, 2021
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