News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lorna Mitchell:
GitHub-Powered Changelog Scripts
January 28, 2014 @ 09:29:20

In her latest post Lorna Mitchell has shared some scripts she uses to automate the creation of a changelog based on the GitHub issue comments and fixes.

My current project does periodic releases, we build a few things, then we work on getting a bunch of user feedback and changing/fixing things before we actually release. [...] When a branch merges in to the main line, we use the "fixes #42" notation to simultaneously close off the issue that it relates to. This has been working pretty well, and today I got the question "what's new since I last saw this project?" - so I created a changelog. It's rather rough-and-ready but I had fun so I thought I'd share.

The script operates off of a local git cloned version of the repository and grabs all commit messages with the tern "fixes" in it. The script then takes the log file, matches the issue ID and then makes a cur call out to the GitHub API to get that issue's description. This is then taken, formatted and dropped into the output.

0 comments voice your opinion now!
changelog script automate changelog generate issue

Link: http://www.lornajane.net/posts/2014/github-powered-changelog-scripts

blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Zend_Config Updates

Developer Tutorials Blog: Hacking Wordpress When You've Forgotten Your Password

Andrew Johnstone's Blog: Memcached multigets - ubuntu vs debian

(IN)Secure Magazine: Issue 1.6 Posted (March 2006)

Community News: PHP Sadness - "Things in PHP that Make Me Sad"


Community Events





Don't see your event here?
Let us know!


configure wordpress series code developer bugfix symfony list language release install interview threedevsandamaybe community introduction application library api laravel podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework