Software:Open Build Service

From HandWiki
Open Build Service
Screenshot
Obssuse.png
Developer(s)SUSE, Linux Foundation
Stable release
2.10.21 / April 10, 2023; 15 months ago (2023-04-10)
Written inPerl, Ruby
Operating systemLinux
TypeWeb service, cross compiler
LicenseGPLv2-only
Websiteopenbuildservice.org

The Open Build Service (formerly called openSUSE Build Service)[1] 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.[2] 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.

The Build Service software is published under the GPL.[3] 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).[4] Also, various companies,[5] 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,[6] 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[7] which is implemented in several user interfaces:

  • a web interface at build.opensuse.org
  • a command line interface called osc[8]

Furthermore, a plug-in for integrating the Build Service into Eclipse is developed as a Google Summer of Code project,[9][10][11] as well as a plugin for Qt Creator.[12]

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.

See also

References

  1. openSUSE renames OBS, news.opensuse.org, 2011-05-26, https://news.opensuse.org/2011/05/26/opensuse-renames-obs/, retrieved 2012-11-06 
  2. Open Build Service adds support for Arch Linux, openbuildservice.org, 2012-09-10, https://openbuildservice.org/2012/09/10/arch-linux-support, retrieved 2015-04-15 
  3. Complete openSUSE Build Service under GPL available, lists.opensuse.org, 2007-01-24, https://lists.opensuse.org/opensuse-announce/2007-01/msg00002.html, retrieved 2012-11-06 
  4. "News from the Summit: Linux Foundation to Make the openSUSE Build Service Available Through Linux Developer Network". Linux Foundation. http://www.linuxfoundation.org/node/3444. 
  5. openSUSE:Build Service installations, opensuse.org, 2009-01-27, https://en.opensuse.org/openSUSE:Build_Service_installations, retrieved 2012-11-06 
  6. openSUSE's public Build Service, build.opensuse.org, 2012-05-25, https://build.opensuse.org/, retrieved 2012-11-06 
  7. openSUSE Build Service API Documentation, build.opensuse.org, https://build.opensuse.org/apidocs, retrieved 2013-07-09 
  8. openSUSE:OSC, opensuse.org, https://en.opensuse.org/openSUSE:OSC, retrieved 2020-01-13 
  9. Google Summer of Code: Project Application Information, https://code.google.com/soc/2008/suse/appinfo.html?csaid=DFC9A170A95499CD 
  10. Long Hong sources tarball for BuildService, https://code.google.com/p/google-summer-of-code-2008-suse/downloads/list, retrieved 2012-11-06 
  11. prebuilt BSUIPlugin-1.2.0.jar Eclipse plugin, build.opensuse.org, https://build.opensuse.org/package/files?package=BSUIPlugin&project=home%3Alog111, retrieved 2012-11-06 
  12. Project Bretzn, Social Desktop, 2010-10-26, http://socialdesktop.org/bretzn/, retrieved 2012-11-06 

External links