May 7, 2008 3 Comments
The web interface of the openSUSE Build Service behind http://build.opensuse.org is written with Ruby on Rails. The good thing about this is that you can easily setup an own instance of the web interface on your workstation using the server behind http://api.opensuse.org. All what you need is to checkout the sources, install the ruby on rails packages and run the server.
Installing the Ruby framework in matching release can be done as root user via:
# zypper sa http://download.opensuse.org/repositories/openSUSE:Tools/YOUR_DISTRO openSUSE:Tools
# zypper install rubygem-rails-2_0
Getting the source code is easy just by anonymous checkout from svn:
Running the web interface is really easy now just by running
# cd buildservice/src/webclient
# ruby script/server
This runs a local instance where you can connect with any web browser using http://0.0.0.0:3000/ URL. So there is no need to install a full build service, no database administration, just checkout and run it You can easily edit files esp. below the app/ directory and customize or improve the web interface for your needs.
Of course it is easy to get svn write access, if you provide a useful patch