Git buildpackage/en

Modern Debian development workflows involve packaging with Git and the primary tool for doing that is git-buildpackage. git-buildpackage provides a  command with several options similar to the   command itself. Many of these commands are themselves just a wrapper of lower-level Debian tools, so the complexity to learning packaging can be quite high.

To get around that, here are the short & simple steps to getting started with git-buildpackage. This should work on nearly any Debian-based distribution, but I recommend working on this in a clean and separate environment a Debian Unstable virtual machine.


 * 1) Install it with
 * 2) Grab the dotfiles at the end of this page. You'll need: ,  , and
 * 3) The package build will occur in a clean environment. Create it with
 * 4) Find the URL of a package you want to build on https://salsa.debian.org, the Debian project's self-hosted GitLab instance
 * 5) Create a clone of it with
 * 6) Enter the cloned repo's directory with
 * 7) Run the build with
 * 8) When it's finished, your packages will be at.

gbp.conf
Location:

https://gitlab.com/kkremitzki/dotfiles/blob/master/.gbp.conf

pbuilderrc
Location:

https://gitlab.com/kkremitzki/dotfiles/blob/master/.pbuilderrc

quiltrc
Location:

https://gitlab.com/kkremitzki/dotfiles/blob/master/.quiltrc