# obs-service-gbs
**Repository Path**: mirrors_intel/obs-service-gbs
## Basic Information
- **Project Name**: obs-service-gbs
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: GPL-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-08
- **Last Updated**: 2025-11-29
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
OBS-SERVICE-GBS
===============
Obs-service-gbs is a source service for OBS (openSUSE Build Service) that uses
the GBS tool to create the packaging files from a Git repository. It clones and
caches a remote Git repository and uses the "gbs export" command to export the
packaging files from there.
INSTALLATION
------------
Please see the DEPLOYMENT document under package documentation.
CONFIGURATION FILE
------------------
The service will search for configuration options in:
/etc/obs/services/gbs
System-wide configuration meant for server installations
~/.obs/gbs
User-specific configuration for desktop installations
The configuration are read in the above order and system-wide settings are
overridden by the the user-specific config (if defined there). See the
example config file (obs-service-gbs.example.conf) in package documentation
for more details.
PARAMETERS
----------
The following parameters are accepted in the _service file.
EXIT_CODES
Instead of causing a source service error in the obs server, create a
special "error package" that fails to build and shows the service error
log in its build log. Parameter value EXIT_CODES is a comma-separated
list of exit codes that will cause an error package to be generated
instead of a source service error. See the ERROR EXIT CODES section
below for more details.
This parameter is a special hack to prevent the creation of broken
packages in case of service failures.
META_FILE
Export meta data about the exported Git revision into a file in JSON
format.
Be careful with the filename: the service fails if the filename already
exists in the exported files.
URL
Remote repository URL. This is a mandatory parameter.
TREEISH
Revision (tree-ish) to be built. Default is HEAD.
[yes|no]
Enable verbose output. Mainly meant for debugging purposes.
ERROR EXIT CODES
----------------
The exit codes are probably only of interest if one wants to use the
'error-pkg' parameter.
1 An internal source service or configuration error
2 GBS export failure, i.e. GBS fails to export the packaging files.
3 GBS crash (unhandled exception in GBS code)