[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#80123: Interested



On Wed, 19 Feb 2020 15:24:29 +0100 Julian Andres Klode <jak@debian.org> wrote:
> On Wed, Feb 19, 2020 at 06:22:55PM +0530, Avinash Sonawane wrote:
[...]
> > I would love to see this implemented so that apt-listbugs can show the
> > bugs before downloading the megs of packages.
> 
> 
> We have hooks now that run before downloads, even before the y/n prompt,
> at least for apt's own command-line tools. apt-listbugs could use that
> I'm sure. See the doc for json-rpc hooks in the tree.

Hello Julian,
apt-listbugs maintainer speaking!

This interesting development has been just been [pointed out] to me by
Avinash.

[pointed out]: <https://bugs.debian.org/192787#50>

Are you referring to the [json hooks]?

[json hooks]: <https://salsa.debian.org/apt-team/apt/blob/master/doc/json-hooks-protocol.md>

They seem to be completely different from the DPkg::Pre-Install-Pkgs
hook and its version 3 protocol. Or am I misinterpreting the
documentation?

Isn't there a simple Pre-Download-Pkgs hook that speaks the version 3
protocol, so that I can just change /etc/apt/apt.conf.d/10apt-listbugs,
without redesigning all the interaction between apt-listbugs and
libapt-pkg?

Please let me know, thanks for your time!


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpadAcxeLyES.pgp
Description: PGP signature


Reply to: