Rahul Sharma (Editor)

Open Build Service

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Developer(s)
  
SUSE, Linux Foundation

Written in
  
Perl, Ruby

Development status
  
Current

Operating system
  
Linux

Open Build Service

Stable release
  
2.7 / June 6, 2016; 9 months ago (2016-06-06)

Repository
  
github.com/openSUSE/obs-build.git

The Open Build Service (formerly called OpenSUSE Build Service) is an open and complete distribution development platform designed to encourage developers to compile packages for multiple Linux distributions including SUSE Linux Enterprise Server, openSUSE, Red Hat Enterprise Linux, Mandriva, Ubuntu, Fedora, Debian, and Arch Linux. It typically simplifies the packaging process, so developers can more easily package a single program for many distributions, and many openSUSE releases, making more packages available to users regardless of what distribution they use. Also, product and appliance building is supported by OBS.

Contents

The Build Service software is published under the GPL. In an acknowledgement of its usefulness to the wider Linux community, the Linux Foundation has announced that the project will be added to the Linux Developer Network (LDN). Also, various companies, MeeGo project and Tizen are using it for developing their distribution.

It also delivers a collaboration environment, allowing developer groups to build and submit changes to other projects.

Workflow and usage

One can either run the Open Build Service as a private installation, or utilize public instances such as the openSUSE Build Service located at build.opensuse.org, hosted by SUSE. The latter offers up to 400 build slots, but external services may impose limitations as to what packages are allowed to be hosted, so private installations are usually chosen when proprietary or legally problematic software is to be hosted.

Each packager has a "home" project by default where they can upload sources and definitions on how to build RPM or Debian packages. Commits outside the home space is possible given permissions have been granted to a developer. After each upload, the Build Service schedules the changed packages to be rebuilt. On completion, the resulting binary packages are published instantaneously to the download server, which makes them available to the public.

The Build Service provides a public API which is implemented in several user interfaces:

  • a web interface at build.opensuse.org
  • a command line interface called osc
  • Furthermore, a plug-in for integrating the Build Service into Eclipse is developed as a Google Summer of Code project, as well as a plugin for Qt Creator.

    Instances can be linked, such that sources and packages from a remote host can be reused, thereby eliminating the need to bootstrap/import dependencies manually for preexisting projects.

    Versions and history

  • 2006-02-22 — initial announcement
  • 2007-12-21 — Version 0.5
  • 2008-04-16 — Version 0.9
  • 2008-07-09 — Version 1.0
  • 2009-03-19 — Version 1.5
  • 2010-06-09 — Versions 1.8 and 2.0
  • 2012-05-03 — Version 2.3
  • 2013-04-30 — Version 2.4
  • 2014-03-31 — Version 2.5
  • 2015-02-05 — Version 2.6
  • 2016-06-06 — Version 2.7
  • References

    Open Build Service Wikipedia