clog-tool / clog-cli

Generate beautiful changelogs from your Git commit history
MIT License
851 stars 43 forks source link

Allow generation of changelog for specific components #109

Open OddBloke opened 6 years ago

OddBloke commented 6 years ago

I have a workspace that contains a library and a binary (distro-info and ubuntu-distro-info respectively in the examples below). These are released as separate crates, so I would like to maintain their changelogs separately, to make it easier for users of each separate component to understand what it is that changed. I'd like to be able to invoke clog-cli something like this:

clog -r https;//github.com/OddBloke/distro-info-rs --component distro-info
(cd ubuntu-distro-info;
 clog -r https;//github.com/OddBloke/distro-info-rs --component ubuntu-distro-info)

For changes which affect everything, I would like to be able to use an "all" component, so being able to specify more than one component would be ideal:

clog -r https;//github.com/OddBloke/distro-info-rs --component distro-info --component all

(Potentially there could be a way of including/excluding the empty component, which could allow it to serve as the "all" component.)

hawkw commented 2 years ago

+1 for this, I'd really like to see a feature like this for releasing tokio-console (which consists of multiple crates). I'd be happy to work on implementing a feature like this.

cburgdorf commented 2 years ago

PRs welcome :D

hawkw commented 2 years ago

Great --- I might have some questions :)

cburgdorf commented 2 years ago

Cool! I'd be happy to help. I mean, I haven't worked on this for many years but I'd be honored to be of service for tokio :)