Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This reverts commit 83272497c5be8c4e703ab179906cf904465fe775.
This commit introduced a regression in the author test suite. And there's
a patch by Johannes 'josch' Schauer <josch@mister-muffin.de> which should
be fixing this and other problems. If this is needed after all, we will
need to refactor the functions first to take a hash instead of a long list
of arguments.
|
|
|
|
This makes changing them easier to see when diffing.
|
|
|
|
This is more extensible and more clear.
|
|
When we are picking up upstream tarball signatures, we should also print
them as being used to create the source package.
Closes: #888787
|
|
Lumping all found tarballs into a single line makes the output more
confusing.
|
|
Requested-by: Samuel Thibault <sthibault@debian.org>
|
|
Add new positive options argument to arch validators, as the Architecture
field should not accept negated architectures. We preserve the current
functions default behavior and add a new option to control whether to
reject negated architectures.
Fixes: commit d355b340f3a6cde7fc1cb5649d82fbebd3b97ea1
Stable-Candidate: 1.18.x
|
|
being defined
Fixes: commit 0d2b3cee25b74dd3fd9ddc3a469b8b144368c963
Closes: #880166
Signed-off-by: Guillem Jover <guillem@debian.org>
|
|
Within scripts operating on lots of different package changelogs,
this can help track down where these warnings come from.
Signed-off-by: Guillem Jover <guillem@debian.org>
|
|
We need to access the features within the feature area hash now. Missed
in a previous refactoring.
Fixes: commit 2125e8dd7388e2adb9b6c837f4832fe8f0f63b25
Reported-by: Mattia Rizzolo <mattia@debian.org> (on IRC)
Closes: #881051
|
|
|
|
|
|
Closes: #879124
Warned-by: perl
Signed-off-by: Guillem Jover <guillem@debian.org>
|
|
Some commands pass some arguments through to another command, and those
must not be normalized as that might break their invocation.
Reported-by: Helmut Grohne <helmut@subdivi.de>
Stable-Candidate: 1.17.x 1.18.x
|
|
If we are not reducing the architectures, or we are not going to use the
known facts, we do not need to know and set the host architecture, which
relies on gcc being present.
Closes: #856396
|
|
We are emitting options or errors elsewhere.
|
|
|
|
We want to be able to check for prerequisites when loading the source
format module. That function used to be called import, which is a
misnomer here, and was not being invoked.
Rename it to the more appropriate prerequisites() and call it if it's
present from the module loading code.
Addresses: #877688
|
|
|
|
When we are building a source package, if we find a binary signature in
the form of a .sig file, we should try to auto-convert it to the format
that we expect to include in the source package, which is an OpenPGP
ASCII Armor.
|
|
We switch from a capturing regex to split() plus a checking regex.
|
|
We store the first character in a variable.
|
|
We should only apply the "costly" substitution when there is at least
one whitespace.
|
|
We remove the trailing space after the chomp, so that we cover the
common case of a single \n with chomp, and do not need to check for
trailing spaces more than once while parsing.
We preserve the chomp'ed string to be used for the Armor Header checks,
which have a different set of allowed whitespace, than what \s covers.
|
|
Usually we will just have Armor Headers at the beginning and end of the
data, so it's more common to find stanza delimiter lines. Optimize for
that.
|
|
|
|
This new area includes an lfs feature, to be used instead of the
getconf(1) interfaces which cannot support cross-building.
|
|
|
|
|
|
This reduces code redundancy, and makes it possible to reuse common code
for various feature areas.
|
|
We support a new source package Description field in debian/control
that will be copied into the .dsc file. The field will also be used
to initialize the new source:Synopsis and source:Extended-Description
substvars that will be available when generating the DEBIAN/control
and .changes files.
Closes: #555743
|
|
|
|
Packages intended to be built in a generic way must never rely on the
currently running kernel on the build system (an exception could be an
optimization rebuild using the current system as the reference baseline).
But to be able to detect when a package might not be reproducible due to
varying kernel information it is still useful to be able to record this
information. Although that information can be very sensitive.
When the builder has explicitly enabled the Build-Kernel-Version field
with the new dpkg-genbuildinfo --always-include-kernel option, it will
get included in the generated .buildinfo file.
Closes: #873937
|
|
|
|
Implement the rootless-builds specification, by honoring the
Rules-Requires-Root (R³) field.
|
|
|
|
When we want to match the first character on a parsed control file line,
using substr is more efficient than using a regex.
|
|
|
|
|
|
Change field name handling to always work with them as lowercase, add a
new name key to store the capitalized form, and use that when we need
to return that form instead of computing it on every instance.
|
|
The CTRL_PKG_DEB and CTRL_FILE_STATUS types were missing some allowed
fields in their order list, which meant that the field information was
not coherent.
|
|
|
|
|
|
|
|
When set to 0, it will disable NLS (i18n) support in the Dpkg modules,
and reduce the load chain.
|
|
This reduces the load chain for several Dpkg modules.
|
|
These files are not supposed to be compressed, disabling decompression
support gives a significant performance improvement for anything that is
making use of vendor hooks, even if indirectly.
|