On Sun, 11 Oct 2020 16:59:09 +0200, Dominique Dumont wrote:

> On mercredi 7 octobre 2020 16:49:30 CEST you wrote:
> > Maybe adding a regexp to
> > 
> >         if ( @res == 0 and not $virtual_hash{$pkg}) {
> > 
> > would be enough? Like (untested pseudo-code)
> > 
> >     … and $pkg =! /^dh-sequence-.+/
> 
> That's a good start.
> 
> But %virtual_hash is used in 2 other places.
> 
> I'd suggest:
> - create a method _is_virtual that uses %virtual_hash and the regexp you 
> suggested
> - use this method instead of directly reading $virtual_hash($pkg_name)
> 
> gregoa, do you want to try fixing this bug ?

After a slight delay *cough*:
Yes, I want to try :)

I just pushed the changes as proposed, looking forward to
reviews/feedback.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Leonard Cohen: Show Me The Place

Attachment: signature.asc
Description: Digital Signature

Reply via email to