Age | Commit message (Collapse) | Author |
|
It is a long-standing disagreement with lintian. Until now, the hinter
emitted hints when some package could plausibly be marked M-A:same even
when dependencies couldn't. lintian complains about that when such a
dependency comes from the same source package. We now follow lintian.
This deletes around 2000 hints and will cause people to have to apply
hints multiple times. For instance your libfoo-dev package will only be
flagged after your libfooN was flagged. So be it.
|
|
|
|
|
|
|
|
pylint does not recognize that the condition ensures left and right to
be defined.
|
|
|
|
|
|
|
|
Fixes: ba840e8913ef ("Merge branch master into branch multiarchhints")
|
|
Among other things, this drops Python 2.x support.
|
|
|
|
|
|
When the decompression ratio is huge, we may be faced with a large
(multiple megabytes) bytes object. Slicing that object incurs a copy
becomes O(n^2) while appending and trimming a bytearray is much faster.
|
|
|
|
.keys() now returns a special object, but show_files really wants
something that provides len() and supports repeated iteration.
|
|
Fixes: 775bdde52ad5 ("DecompressedStream: avoid mixing types for variable data")
|
|
Again static type checking is the driver for the change here.
|
|
knownpkgvers is a dict while knownpkgs is a set. Separating them helps
static type checkers.
|
|
We now know that our parameter is a jinja2.environment.TemplateStream.
Enable buffering and accumulate via an io.BytesIO to avoid O(n^2)
append.
|
|
html_response expects a str-generator, but when we call the render
method, we receive a plain str. It can be iterated - one character at a
time. That's what encode_and_buffer will do in this case. So better
stream all the time.
|
|
|
|
|
|
The content must be bytes. Passing str silently skips the suppression.
|
|
|
|
Instead of retroactively attaching a name to an ImageHash, autogenerate
it via a property. Doing so also simplifies static type checking.
|
|
Returning the object gets us into trouble as to what precisely the
return type is at no benefit.
|
|
|
|
The local variable data can be bool or bytes. That's inconvenient for
static type checkers. Avoid doing so.
|
|
|
|
The issue has been solved by Mattia Rizzolo in dh-strip-nondeterminism
via #999665.
|
|
Both lzma and concurrent.futures are now part of the standard library
and solely exist as virtual packages.
|
|
|
|
|
|
Fixes: e6115dd16b46 ("hide M-A:same conflicts in binNMUed packages")
|
|
binNMUed packages are not currently reproducible, because buildds don't
pass --binNMU-timestamp to sbuild. Thus they use varying
SOURCE_DATE_EPOCH and produce faulty packages. As much as this is a real
bug, it is not actionable by maintainers. Hide such issues for now.
Link: https://salsa.debian.org/perl-team/modules/packages/libtie-hash-indexed-perl/-/merge_requests/1
Link: https://bugs.debian.org/843773
|
|
|
|
|
|
|
|
Uwe Kleine-König said that knowing example architectures for file
conflicts would be incredibly useful. The old presentation of
architecture sets would collapse sets that are too big to a single
count. This makes it difficult to find any colliding pair. Now, we'll
now give at least two example architectures in addition to the count.
Reported-By: Uwe Kleine-König <ukleinek@debian.org>
|
|
We want the package with the highest version, not the lowest.
Reported-By: Uwe Kleine-König <ukleinek@debian.org>
|
|
|
|
This module is not used anywhere and thus its dependency on
python3-magic is not recorded in the README. It can be used to guess the
file type by looking at the contents using file magic. It is not a
typical hash function, but it can be used for repurposing dedup for
other analysers.
|
|
It wasn't copying the stored member and thus could be blacklist "wrong"
content after a copy.
|
|
|
|
When an arch:any package ships a .so file in a public library search
path (e.g. a symlink as many lib*-dev packages do) it most likely
shouldn't be M-A:foreign. A common exception is plugins loaded into
programs, so exclude that case.
Many thanks to Johannes Schauer and Guillem Jover for helping discover
this pattern of Multi-Arch: foreign abuse.
|
|
The list path got inadvertently prepended to all binary package urls.
Fixes: 420804c25797 ("autoimport: improve fetching package lists")
|
|
Many thanks to Paul Wise for his detailed feedback on the data format.
|
|
|
|
Since all users of archdepcandidate run the results through "exists()"
or "group by", "union" vs "union all" does not make any difference to
the results.
On the performance side however, it avoids a b-tree merge getting the
maforeign_candidate query down from hours to seconds.
|
|
It builds on the core functionality of dedup, but uses a different
database schema. Unlike dedup, it aborts downloading Arch:all packages
early and consumes any other architecture in its entirety instead.
|