clog-tool / clog-cli

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

Larg PR - Adds support for features #3 , #19 , and #20 #27

Closed kbknapp closed 9 years ago

kbknapp commented 9 years ago

This PR adds the features of #3 and #19

Same as before, I'll wait until at least one other person takes a look at this before merging. The testing I did looked good, but it's always possible to miss something :)

kbknapp commented 9 years ago

This PR also add minimal support for #20

The way it works is it looks for a .clog.toml file inside the repo you run clog from (your current working directory). The file is structured like this:

[clog]
repository = "https://github.com/thoughtram/clog"
subtitle = "my super cool subtitle"
from-latest-tag = true

Those are the only three options supported so far. All are optional, you can specify them all, or none of them. And anything you pass via the command line flags (such as --repository) overrides the .clog.toml

It's pretty awesome now when I update my clap changelog I simply run clog --patch and the rest is taken care of for me :D

cburgdorf commented 9 years ago

That's super cool work! I just tried it out and it's awesome. :+1:

I also cutted a new release 0.4.0 and published it on crates.io.

vyp commented 9 years ago

Btw, the "temporary files" thing is for vim I believe, if you're wondering.

cburgdorf commented 9 years ago

Btw, the "temporary files" thing is for vim I believe, if you're wondering.

I'm quite liberal with putting things on the .gitignore. Whatever get's in the way, just put it there ;)