diff options
author | Guillem Jover <guillem@debian.org> | 2016-11-14 01:17:32 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-11-16 03:57:07 +0100 |
commit | d5005e4576bcf9b341e83cfb8647d5f96438642f (patch) | |
tree | a20061179ac1f8fff9d8dbb7bfc7662f84932525 /man/deb-buildinfo.man | |
parent | 8ff4522cf0f08659dee954ac2c6256c607b045df (diff) | |
download | dpkg-d5005e4576bcf9b341e83cfb8647d5f96438642f.tar.gz |
dpkg-genbuildinfo: Use deterministic .buildinfo filenames
Using undeterministic filenames based on the buildinfo-id produces ugly
looking filenames, which get left behind when rebuilding the same source
multiple times as they vary by date.
There's really no great point in using unique filenames as they will end
up with different contents depending on the builder.
Diffstat (limited to 'man/deb-buildinfo.man')
-rw-r--r-- | man/deb-buildinfo.man | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/man/deb-buildinfo.man b/man/deb-buildinfo.man index fba3b62ff..18aac6730 100644 --- a/man/deb-buildinfo.man +++ b/man/deb-buildinfo.man @@ -46,14 +46,14 @@ see below). The control data might be enclosed in an OpenPGP ASCII Armored signature, as specified in RFC4880. .PP -The \fB.buildinfo\fP filename by default has the following form: - -\fIsource-name\fP\fB_\fP\fIsource-version\fP\fB_\fP\fIbuildinfo-id\fP\fB.buildinfo\fP - -where \fIbuildinfo-id\fP is composed of the build time formatted as -\fBstrftime\fP(2) «%Y%m%dT%H%M%Sz», followed by a minus ‘\-’ and the -eight left-most characters from the \fB.buildinfo\fP's file contents MD5 -digest. +The name of the \fB.buildinfo\fP file will depend on the type of build and +will be as specific as necessary but not more; +for a build that includes \fBany\fP the name will be +\fIsource-name\fP\fB_\fP\fIsource-version\fP\fB_\fP\fIarch\fP\fB.buildinfo\fP, +or otherwise for a build that includes \fBall\fP the name will be +\fIsource-name\fP\fB_\fP\fIsource-version\fP\fB_\fP\fBall.buildinfo\fP, +or otherwise for a build that includes \fBsource\fP the name will be +\fIsource-name\fP\fB_\fP\fIsource-version\fP\fB_\fP\fBsource.buildinfo\fP. . .SH FIELDS .TP |