On Tue, Feb 18, 2020 at 12:26:05PM +0100, Marc Espie wrote:
> On Mon, Feb 10, 2020 at 09:23:24PM -0500, Morgan Aldridge wrote:
> > >Synopsis: `pkg_info -Q` shows incomplete package results on 6.6
> > release/stable
> > >Category: package management
> > >Environment:
> >
> > System : OpenBSD 6.6
> >
> > Details : OpenBSD 6.6 (GENERIC.MP) #4: Wed Jan 15 10:55:43 MST
> > 2020
> > r...@syspatch-66-amd64.openbsd.org:
> > /usr/src/sys/arch/amd64/compile/GENERIC.MP
> >
> >
> > Architecture: OpenBSD.amd64
> >
> > Machine : amd64
> >
> > >Description:
> >
> > Running `pkg_info -Q ruby` on 6.6 release/stable results in a
> > subset \
> > of matching packages, specifically those from packages-stable. One must \
> > manually specify a PKG_PATH for release to get the remaining matching \
> > packages.
>
> Thanks, the man page for pkg_info needs some love. Specifically, the
> description of -Q is a lie. It will look in installurl and/or PKG_PATH.
>
> Search *by design* stops at the first repository where matching packages are
> found.
>
> I won't change that behavior, but I can probably ask -a to look further.
>
> This requires surgery in Search.pm, don't hold your horses.
>
>
According to plan, Search.pm/PackageRepository.pm and pkg_info in -current
now feature -aQ to query *all* repos instead of stopping at the first one
with matching searches.