openSUSE Lizards

Authors
Adrian Schröter (2)
Andreas Jaeger (4)
Andrew Wafaa (10)
Arvin Schnell (1)
Bernhard Walle
Casual Programmer
Christoph Thiel
Christopher Hobbs
Cristian Rodríguez
Dirk Müller (1)
Duncan Mac-Vicar
Gabriele Mohr
Henne (1)
Hubert Mantel (1)
J. Daniel Schmidt (1)
Jan Blunck
Jan Madsen
Jan-Christoph Bornschlegel (1)
Jan-Simon Möller (3)
Kevin Dupuy (6)
Klaas Freitag (5)
Klaus Singvogel
Ludwig Nussel (1)
Marcus Moeller (1)
Marcus Schaefer
Martin Lasarsch (3)
Masim Sugianto (15)
Michael Andres (1)
Michal Marek (2)
mrdocs
Peter Nixon
Peter Pöml (1)
Rossana Motta (1)
Rupert Horstkötter (1)
Stanislav Visnovsky
Stefan Haas
Stefan Schubert (1)
Steffen Winterfeldt (2)
Thomas Schraitle (3)





 

Easy OBS Web Client Development

1 Star2 Stars3 Stars4 Stars5 Stars (9 votes, average: 4.89 out of 5)
Loading ... Loading ...
Wednesday, May 7th, 2008 by Adrian Schröter Digg!

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:

# svn co https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/

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 :)

Have fun.


2 Comments »

Comment by Peer Schmidt
2008-05-08 21:10:11

Hey, it really worked out of the box :)

Do you have any suggestion what I could implement ?
I will not be fast, but I would like to learn Ruby on Rails.

 
Comment by Hameedullah Khan
2008-05-21 16:11:31

Thanks Adrian,

It is a great tip, the webclient really worked. Now I will spent rest of the week exploring webclient’s code so I have better understanding before I actually start coding.

 
Name
Email for notification (will not be published)
Website (optional)
Spam protection: Sum of two + four ?

Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.