Skip to content

Instantly share code, notes, and snippets.

@mfojtik
Created October 18, 2011 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfojtik/1295878 to your computer and use it in GitHub Desktop.
Save mfojtik/1295878 to your computer and use it in GitHub Desktop.
How to query Koji in Ruby
require 'xmlrpc/client'
require 'pp'
server = XMLRPC::Client.new2("http://koji.fedoraproject.org/kojihub")
result = server.call "search", "deltacloud-core", "build", "regexp"
pp result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment