Author: Svante Signell Date: To: devuan developers internal list Subject: [devuan-dev] RFC: Package and source naming,
package building and lintian fixes document proposal
Hello,
After working with package creation for a while now, the following document is
proposed containing:
A document like this would be very useful for potential Devuan developers and
might be a good complement to d1h, which automates the task of package building
an maintenance.
Package building
================
Not yet completed: <TBW>
debian/source/format: Z = 3.0 (quilt), 3.0 (native), 3.0 (git)
<architecture> W = alpha, amd64, arm64, armel, armhf, hppa, i386, ia64, mips,
mipsel, powerpc, ppc64el, s390x, sparc
(are all these really supported?)
gbp.conf content:
<TBW>
Packages forked from Debian:
<TBW>
Devuan packages with an upstream:
<TBW>
Devuan native packages:
a) <source package>_<debian version>.tar.<ext> provided: Z = 3.0 (native)
b) transitional packages (contains only a debian directory) Z = 3.0 (git)
gbp buildpackage --git-no-create-orig 2>&1 | \
tee ../gbp-buildpackage-<source package><devuan version>.log
Notes:
- Using <...>-<devuan version> is not a good idea, since lintian complains:
W: <source package> source: native-package-with-dash-version
W. <source package> maintainer-upload-has-incorrect-version-number
Lintian overrides
=================
Lintian warnings and errors can be suppressed by adding
debian/source/lintian-overrides.
A better method would be to add one or more <TBW> module(s) to
devuan-lintian-profile.
Packages forked from Debian:
<TBW>
Devuan packages with an upstream:
<TBW>
Devuan native packages:
a) >TBW>
b) transitional packages
Unfortunately format 3.0 (git) is not officially supported.
lintian <source package>_<upstream version>+<devuan version>.dsc
Causes a lintian error:
E: <source package> source: unsupported-source-format 3.0 (git)
and warning:
W: <source package> source: diff-contains-git-control-dir .git