LinuxCommandLibrary

gbp

A system to integrate the Debian package build system with Git.

TLDR

Convert an existing Debian package to gbp

$ gbp import-dsc [path/to/package.dsc]
copy


Build the package in the current directory using the default builder (debuild)
$ gbp buildpackage -jauto -us -uc
copy


Build a package in a pbuilder environment for Debian Bullseye
$ DIST=[bullseye] ARCH=[amd64] gbp buildpackage -jauto -us -uc --git-builder=[git-pbuilder]
copy


Specify a package to be a source-only upload in the .changes file (see )
$ gbp buildpackage -jauto -us -uc --changes-options=[-S]
copy


Import a new upstream release
$ gbp import-orig --pristine-tar [path/to/package.tar.gz]
copy

SYNOPSIS

gbp

{--help | --version | --list-cmds | command[args]...}

DESCRIPTION

gbp is used to maintain Debian source packages in the Git version control system.

OPTIONS

--help

Print help

--version

Print the programs version

--list-cmds

List all available commands

GBP COMMANDS

These are the possible commands. For possible arguments to these commands, please see the corresponding man pages.

buildpackage

Build source and binary packages from a Git repository

import-orig

Import a new upstream version into a Git repository

export-orig

Recreate upstream tarballs from a Git repository

import-dsc

Import a Debian source package into a Git repository

import-dscs

Import several Debian source packages into a Git repository, sorted by version number

dch

Generate the debian/changelog from Git commit history

pq

Manage debian/patches using Git rebase

pull

Update a Git repository from a remote

clone

Clone a Git repository from a remote and set up the necessary branch tracking.

create-remote-repo

Create a remote Git repository

tag

Tag a Debian release in a Git repository

push

Push packaging branches to a remote Git repository

CONFIGURATION FILES

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

SEE ALSO

gbp-buildpackage(1), gbp-clone(1), gbp-create-remote-repo(1), gbp-dch(1), gbp-export-orig(1), gbp-import-dsc(1), gbp-import-dscs(1), gbp-import-orig(1), gbp-pq(1), gbp-pristine-tar(1), gbp-pull(1), gbp-push(1), gbp-tag(1), git-pbuilder(1), gbp.conf(5), debuild(1), git(1), pristine-tar(1), The Git-Buildpackage Manual ⟨file:///usr/share/doc/git-buildpackage/manual-html/index.html⟩

AUTHOR

Guido Günther <agx@sigxcpu.org>

Copied to clipboard