Adding upstream version 2.6.0.

Signed-off-by: Andrew Lee's avatarAndrew Lee (李健秋) <>

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

# Project specific ignores IN ALPHABETIC ORDER
# All the other crap that fits nowhere specifically
[submodule "src/backend/build"]
path = src/backend/build
url = git://
language: ruby
- 2.1
- mysql -e 'create database ci_api_test;'
- sed -e 's,password:.*,password:,' -i src/api/config/database.yml.example
- travis_retry bash -x dist/ci/
- bash -x dist/ci/
script: bash -x dist/ci/
# just one special test
#- SUBTEST=api:functional/aaa_pre_consistency_test.rb:test_resubmit_fixtures
#- SUBTEST=rake:test:api
#- SUBTEST=rake:test:webui
# api and webui webrat with latest gems
- env: SUBTEST=rake:test REMOVEGEMLOCK=true
- ""
on_success: change
on_failure: change
- memcached # will start memcached
Adrian Schröter <>
Alexandr D. Kanevskiy <>
Anas Nashif <>
Andre Duffeck <>
Andreas Bauer <>
Andreas Jaeger <>
Benjamin Brunner <>
Berthold Gunreben <>
Christoph Thiel <>
Christopher Hofmann <>
Cornelius Schumacher <>
Daniel Gollub <>
David Greaves <>
David Mayr <>
Dirk Mueller <>
Dirk Stoecker <>
Dominik Heidler <>
Dr. Peter Poeml <>
Frank Sundermeyer <>
Iain Arnell <>
Jan Engelhardt <>
Jan Loeser <>
Jan Matejek <>
Jan-Christoph Bornschlegel <>
Jan-Simon Möller <>
Klaas Freitag <>
Lars Vogdt <>
Ludwig Nussel <>
Luke Imhoff <luke@cerberus.(none)>
Marcus Hüwe <>
Marcus Rueckert <>
Marcus Schaeffer <>
Martin Kudlvasr <>
Martin Mohring <>
Michael Schröder <>
Michal Marek <>
Michal Seben <>
Michal Čihař <>
Pavol Rusnak <>
Robert Lihm <>
Ruediger Oertel <>
Sascha Peilicke <>
Srinidhi B <>
Stephan Binner <>
Stephan Kleine <>
Stephan Kulow <>
Susanne Oberhauser <>
Thomas Schmidt <>
Thomas Scholz <>
Thomas Schraitle <>
Tom Patzig <>
Vincent Untz <>
Vivian Zhang <>
tux <>
This diff is collapsed.
Installation and Deployment
This document explains how to setup the Open Build Service for development or
Before you can start developing for the Open Build Service or deploying
it, you have to fetch some additional dependencies in the repository. Please
issue the following commands in your shell:
$ git submodule init
$ git submodule update
$ git pull origin master
Software dependencies
The various parts of the Open Build Service are implemented in different
languages. Therefore it has quite some additional dependencies. Also, it allows
to configure the database backend (e.g. you can even use SQLite3 for
development / testing and MySQL for production).
- Perl version 5.12.1 or later
- MySQL version 5.1.46 or later and / or SQLite3 version 3.6.23 or later
- Ruby version 1.8.7 and Ruby on Rails version 2.3.8 (exact versions)
To get all the dependencies and useful additional tools for openSUSE-11.3,
please issue the following commands as root user in your shell:
$ zypper addrepo --name "openSUSE-11.3 Tool" \ \
$ zypper refresh
$ zypper install devel_rpm_build osc mysql-community-server sqlite3 \
perl perl-Net-Domain perl-Net-SSLeay perl-BSSolv \
perl-GD perl-Socket-MsgHdr \
ruby ruby-mysql rubygems rubygem-sqlite3 rubygem-rails-2_3 \
rubygem-delayed_job rubygem-gruff rubygem-nokogiri \
rubygem-sqlite3 rubygem-daemons rubygem-ci_reporter \
rubygem-exception_notification rubygem-erubis rubygem-rails_xss \
rubygem-ci_reporter rubygem-webrat rubygem-rack-test \
rubygem-rdoc rubygem-json rubygem-xmlhash
Deployment with RPM packages
Please have a look at the following file on how to set up a complete Build
Service instance from RPM packages: dist/README.SETUP
Deployment by hand
The Open Build Service is flexible enough to support several deployment scenarios.
These scenarios are described in the following (with increasing complexity).
Option 1: Only use the webui
If you want to work only on the Rails web frontend (webui) or running your own
webui instance, there is no need to have an own backend server running. It is
sufficient to start the webui with its default values. For that to work you
have to change into its subdirectory and create the initial config like this:
$ cd src/webui
$ cp config/database.yml.example config/database.yml
$ cp config/options.yml.example config/options.yml
$ rake db:setup
Afterwards you can simply start the webui like this:
$ ./script/server
Open up your favorite browser and enter the address
and you should see your own Open Build Service webui instance. Thats it, actually.
To speed things up a bit, you can install a local memory cache like this (as
root in a terminal):
$ zypper in memcached
$ rcmemcached start
$ insserv memcached
You can also use Capistrano to deploy the web interface on production machines:
$ cap deploy:update - Updates the sources on the server and changes the
current symlink
$ cap deploy:migrate - Runs database migrations
$ cap deploy - Updates and restarts the server
$ cap deploy:pending - or
$ cap deploy:pending:diff - will show upcoming changes
$ cap deploy:rollback - To get back to the previous version:
Additional information on how to set up your local development instance and how