If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
openSUSE:Build Service Webclient Development
Installing the needed packages for your openSUSE release can be done as root user (please replace 12.1 with your version):
Even though you may not use the obs rpms, they will pull all necessary dependencies. The sources of the OBS are hosted in a git repository at GitHub. Getting the source code is easy just by anonymous checkout (Please also read the obs git page):
To fetch some shared modules please call:
git submodule update
Create the database configuration by using the example configuration (and edit as needed):
cp config/database.yml.example config/database.yml
Also, create the config options by using the example file (edit as needed):
Make sure you have all gems needed:
Next, create the database that is used for caching data and user sessions:
To regularly update to the latest code run:
git pull origin master
in the build-service/ directory and update the database via.
Start your local web ui
Running the web interface is really easy now just by running
RAILS_ENV=development ./script/start_test_backend &
This starts a local instance where you can connect with any web browser using http://127.0.0.1:3000/ as 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.
To make use of caching there needs to be a running memcached daemon. It can be started with:
To debug the rails app, you'll need the ruby debugging packages installed:
After that, you can set breakpoints in the code by adding a line that contains "debugger".
To start running the server in debugging mode, do
After committing your changes to your clone of the OBS repo, you can request to merge them into the main repository by clicking on 'Request merge', and selecting the build-service target repository. The OBS team will get notified then and review your patch.