Skip to content

Instantly share code, notes, and snippets.

@tyama
Forked from ksky/github.groovy
Created March 16, 2010 17:17
Show Gist options
  • Save tyama/334249 to your computer and use it in GitHub Desktop.
Save tyama/334249 to your computer and use it in GitHub Desktop.
@GrabResolver(name='HiveDB', root='http://www.hivedb.org/maven/')
@Grab('org.hivedb:github-api:1.0')
import org.hivedb.github.*
hub = new GitHub('glaforge', 'gaelyk')
println "Recent commits in ${hub.userName}/${hub.repository}:"
hub.commits.each { c -> println """
${c.authorDate} by ${c.author.name}
${c.message}
${c.url}"""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment