gbp-config(1)

gbp-config1

Query configuration values

Usage

FCgbp configF [0] [FC--versionF [0]] [FC--helpF [0]] [FC--verboseF [0]] [FC--color=F [0] [{auto | on | off}]] [FC--color-scheme=F [0] COLOR_SCHEME] {command.option | command}

Overview

gbp config prints values from the configuration files. It interpolates the value for option of command.

Options

FC--versionF[0]

Print version of the program, i.e. version of the git-buildpackage suite

FC-vF[0], FC--verboseF[0]

Verbose execution

FC-hF[0], FC--helpF[0]

Print help and exit

FC--color=F[0][auto|on|off]

Whether to use colored output.

FC--color-scheme=F[0]COLOR_SCHEME

Colors to use in output (when color is enabled). The format for COLOR_SCHEME is '<debug>:<info>:<warning>:<error>'. Numerical values and color names are accepted, empty fields imply the default color. For example, FC--git-color-scheme=F[0]FC'cyan:34::'F[0] would show debug messages in cyan, info messages in blue and other messages in default (i.e. warning and error messages in red).

Exit status

When gbp config finishes, it indicates success or failure with its exit code:

FC0F[0]

Success.

FC1F[0]

Failed to parse command line

FC2F[0]

The value did not exist

Examples

Print the value FCupstream-branchF[0] that gbp buildpackage would use:

FC
    $ gbp config buildpackage.upstream-branch
    buildpackage.upstream-branch=upstreamF[0]

Print the values of all of gbp buildpackage options

FC
    $ gbp config buildpackage
    buildpackage.upstream-branch=upstream
    buildpackage.debian-branch=master
    ...F[0]

Configuration files

Several FCgbp.confF[0] files are parsed to set defaults for the above command-line arguments. See the gbp.conf(5) manpage for details.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

--color until Debian 9 (Stretch); --color-scheme until Debian 9 (Stretch); --help until Debian 9 (Stretch); --verbose until Debian 9 (Stretch); --version until Debian 9 (Stretch); -h until Debian 9 (Stretch); -v until Debian 9 (Stretch).

Author

Guido Günther <[email protected][0]>

From git-buildpackage 0.9.38 in Debian 13 (Trixie). Parsed by carta from the page's man source.