Page MenuHomePureOS Tracker

Building Packages With Git-buildpackage
Updated 1,110 Days AgoPublic

Version 3 of 22: You are viewing an older version of this document, as it appeared on Apr 18 2021, 16:57.

Building PureOS packages with git-buildpackage (gbp)

The goal is to have a standardized, repeatable way to build packages via the git distributed version source control tool. Inspired by DEP-14

Description

Git buildpackage, or gbp for short, is a tool to maintain Debian packages via git. Using git as the distributed version control system to store the data as well as packaging meta-data means that packages can be built directly from a git repository.

This page is dedicated to the use of gbp in PureOS but it should be applicable in any Debian-based distro.

Installation

On PureOS, gbp is installed via this command;

sudo apt install git-buildpackage

Packaging workflow

Pristine tar

Build package

Push to repo

gitlab-ci example

Last Author
jeremiah.foster
Last Edited
Apr 18 2021, 16:57

Event Timeline

jeremiah.foster edited the content of this document. (Show Details)Feb 26 2021, 10:24
jeremiah.foster edited the content of this document. (Show Details)Apr 18 2021, 16:57
jeremiah.foster edited the content of this document. (Show Details)Apr 20 2021, 19:57
jeremiah.foster edited the content of this document. (Show Details)
jeremiah.foster edited the content of this document. (Show Details)Apr 26 2021, 11:41
jeremiah.foster edited the content of this document. (Show Details)
jeremiah.foster edited the content of this document. (Show Details)Apr 26 2021, 11:45
jeremiah.foster published a new version of this document.
jeremiah.foster edited the content of this document. (Show Details)May 14 2021, 12:40
jeremiah.foster added a project: Restricted Project.
jeremiah.foster edited the content of this document. (Show Details)May 21 2021, 07:51
jeremiah.foster edited the content of this document. (Show Details)Sep 7 2021, 08:47
jeremiah.foster edited the content of this document. (Show Details)Sep 10 2021, 07:47
jeremiah.foster edited the content of this document. (Show Details)Sep 10 2021, 07:51
jeremiah.foster edited the content of this document. (Show Details)Sep 10 2021, 07:58
jeremiah.foster edited the content of this document. (Show Details)
jeremiah.foster edited the content of this document. (Show Details)Sep 10 2021, 08:27
jeremiah.foster changed the title from Building Packages With Git-buildpackage to Building Packages with git-buildpackage.Sep 10 2021, 09:37
jeremiah.foster edited the content of this document. (Show Details)
jeremiah.foster edited the content of this document. (Show Details)
jeremiah.foster edited the content of this document. (Show Details)Sep 10 2021, 17:43
jeremiah.foster edited the content of this document. (Show Details)Jan 20 2022, 08:53
jeremiah.foster edited the content of this document. (Show Details)Jan 20 2022, 08:56