NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
writing changes files from git (Score:2)
I don't actually write the Changes file directly from git, but I find this command rather helpful when preparing a new release:
Which prints the summary of all changes since the last release (= last git tag). In fact I added this (and a few variations) to my .gitconfig, like this:
Re:writing changes files from git (Score:1)
Nifty stuff, thanks!
After reading your comment, I wrote a simple script to convert the `git --no-pager log --no-merges` to a well structured Changes file. The only problem was that you can't figure the version of the file each time. However, if one will add a check in the script to see when a certain file's $VERSION had changed, one would be able to output a well structured Changes file from git history. Sounds like an idea for a module, really. Maybe I'll sit and write it some day.
For some reason the formatting didn't work for me, and I'm not using any tags yet, but it's really cool to learn new things. I didn't know about --no-merges and --no-pager. Thanks again.
Reply to This
Parent