datalad deb-build-package

Synopsis

datalad deb-build-package [-h] [-d DATASET] [--update-builder] [--version] DSC

Description

Build binary packages

Perform a provenance tracked build of a binary Debian package from a .dsc file in a package dataset. The command relies on a (containerized) build environment within a package's 'builder' subdataset. The 'builder' subdataset can optionally be updated beforehand.

Beyond binary .deb files, this command creates a .changes, a .buildinfo, and a logs/.txt file with build metadata and provenance. All resulting files are placed into the root of the package dataset.

Examples

Build a binary package from a Debian package's source .dsc file:

% datalad deb-build-package hello_2.10-2.dsc

Options

DSC

Specify the .dsc source file to build from. Constraints: value must be a string or value must be NONE

-h, --help, --help-np

show this help message. --help-np forcefully disables the use of a pager for displaying the help message

-d DATASET, --dataset DATASET

Specify the package dataset of the to-be-built package. Constraints: Value must be a Dataset or a valid identifier of a Dataset (e.g. a path) or value must be NONE

--update-builder

Update the builder subdataset from its origin before package build.

--version

show the module and its version which provides the command

Authors

datalad is developed by The DataLad Team and Contributors <team@datalad.org>.