Reference

gbp-config(1)

Query configuration values

NAME

gbp-config - Query configuration values

SYNOPSIS

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}

DESCRIPTION

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 CODES

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.

SEE ALSO

gbp.conf(5)

AUTHOR

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

History

--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).