Author: bivald - http://www.bivald.com/wordpress/
Tested on Wordpress 3.3.2
Latest Github Commits is a simple WordPress widget to fetch your latest commits from Github. It allows you to choose to specify one or more of your repositories and whether or not the commits listed are purely your own - or anyone else's contributions. To prevent long page loads, results are cached in Wordpress transient storage for a period of your choosing.
With github v1 and v2 being dropped this week, I've started on a v3 port. Coming soon...
You need to configure:
- Github owner of the project (i.e bivald in the author's case)
- Github repo name(s), or allow it to pull commit data from all your repos
- Widget title
- Max commits to list
- How long to cache the results (defaults to 30 mins)
- Date formatting
- Whether or not the commits to be displayed are only your own, or anyone contributing to your projects
- Activate the plugin through the 'Plugins' menu in WordPress
- Add the plugin to somewhere on your site (sidebar, footer etc) as a widget
- The option to let you pull from all your repositories is convenient, but can be very slow when the data is first polled if you have a large number of repos. So generally, you'll want to specify which of the repositories you're interested in.
- Right now, the format of the outputted commit data is pretty basic. I hope to finer controls at a later date.
0.3 Updated by Ben Keen to provide a little more functionality: date formatting; option to pull from multiple repositories or all repos; option to only display commits by yourself, or all committers to your repo.
0.2 Patched by Jacob Lowe, redeyeoperations.com
0.1 Initial relase
Ben Keen @vancouverben