Merging upstream version 2.7.0.

parent d3d6d2d4

Too many changes to show.

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

......@@ -34,8 +34,10 @@
......@@ -45,30 +47,13 @@
# All the other crap that fits nowhere specifically
......@@ -81,3 +66,4 @@ nbproject
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/
cache: bundler
rvm: 2.3.0
gemfile: src/api/Gemfile
before_install: dist/ci/
before_script: dist/ci/
after_failure: dist/ci/
script: "dist/ci/ $TEST_SUITE"
# 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
- TEST_SUITE=rubocop
- TEST_SUITE=webui
- TEST_SUITE=spider
- TEST_SUITE=rspec
- env: SUBTEST=rake:test REMOVEGEMLOCK=true
fast_finish: true
- ""
on_success: change
on_failure: change
on_failure: change
- memcached # will start memcached
- memcached
sudo: required
# Request for contributions
We are always looking for contributions to the Open Build Service. Read this guide on how to do that.
In particular, this community seeks the following types of contributions:
* code: contribute your expertise in an area by helping us expand the Open Build Service
* ideas: participate in an issues thread or start your own to have your voice heard.
* copy editing: fix typos, clarify language, and generally improve the quality of the content of the Open Build Service
# How to contribute code
* Prerequisites: familiarity with [GitHub Pull Requests](
* Fork the repository and make a pull-request with your changes
* Please make sure to mind what our test suite in [travis]( tells you! :-)
* Please increase our [code coverage]( by your pull request!
* One of the Open Build Service maintainers will review your pull-request
* If you are already a contributor (means you're in the [open-build-service team]( and you get a positive review, you can merge your pull-request yourself
* If you are not a contributor already the reviewer will merge your pull-request
# How to contribute issues
* Prerequisites: familiarity with [GitHub Issues](
* Enter your issue and a member of the [open-build-service team]( will label and prioritize it for you.
We are using priority labels from **P0** to **P4** for our issues. So if you are a memer of the [open-build-service team]( you are supposed to
* P0: Critical Situation - Drop what you are doing and fix this issue now!
* P1: Urgent - Fix this next even if you still have other issues assigned to you.
* P2: High - Fix this after you have fixed all your other issues.
* P3: Medium - Fix this when you have time.
* P4: Low - Fix this when you don't see any issues with the other priorities.
# Contribute to the OBS documentation
The Open Build Service documentation is hosted in a separated repository available on [GitHub]( How you can contribute to our documentation is described on our [project page]( Needless to say that contributions are highly welcome, right?;-)
# Conduct
The Open Build Service is part of the openSUSE project. We follow all the [openSUSE Guiding
Principles!]( If you think
someone doesn't do that, please let any of the [openSUSE
owners]( know!
# Communication
GitHub issues are the primary way for communicating about specific proposed
changes to this project. If you have other problems please use one of the other
[support channels](
# Rubocop
We are currently in the process of adding rubocop rules to OBS. For that we
frequently meet, decide on new rules to add and afterwards go through that list
and fix those.
Since we want to make sure that the number of merge conflicts stays as small as
possible, we mark rubocop offenses with name tags (in .rubocop.yml). Developers are
only supposed to work on a rubocop offense, if there is no name tag above theirs;-)
If you want to take part of this please follow this process:
* Make sure noone else is working on rubocop issues. (By Checking that your name
is on top of the .rubocop.yml file).
* Pick one rubocop rule and enable it in .rubocop.yml. Make sure there are no
excludes for that offense in the .rubocop_todo.yml.
* Run rubocop and fix reported offenses.
* Run rubocop --auto-gen-config to update .rubocop_todo.yml.
* Create a commit with all changes.
* Go to the next rubocop offense.
......@@ -27,25 +27,24 @@ 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)
- MySQL version 5.1.46 or later
- Ruby and modules versions according to Gemfile
To get all the dependencies and useful additional tools for openSUSE-11.3,
To get all the dependencies and useful additional tools for openSUSE-13.2,
please issue the following commands as root user in your shell:
$ zypper addrepo --name "openSUSE-11.3 Tool" \ \
$ zypper addrepo --name "OBS-Unstable for openSUSE 13.2" \ \
$ 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
$ zypper install obs-api obs-server memcached
Memcache and mysql is required to run for the OBS webui parts:
$ rcmemcached start
$ rcmysql start
$ insserv memcached
$ insserv mysql
Deployment with RPM packages
......@@ -54,60 +53,33 @@ 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 flex