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 ?
All the best