From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: dotnet@gentoo.org, Fabian Groffen <grobian@gentoo.org>,
nicolasbock@gentoo.org, swegener@gentoo.org,
monsieurp@gentoo.org, zlogene@gentoo.org, x11@gentoo.org
Subject: Re: [gentoo-dev] Inconsistent use of || preferences for www-client/elinks, links, lynx, w3m, and w3mmee
Date: Mon, 10 Feb 2020 08:19:57 +0100 [thread overview]
Message-ID: <2aada49cfb3fb19cb4cb4acdd01f3b2db7c92e1b.camel@gentoo.org> (raw)
In-Reply-To: <eacb79c5-4524-417f-daad-e52608a84eac@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 2302 bytes --]
On Sun, 2020-02-09 at 22:51 -0800, Zac Medico wrote:
> On 2/9/20 10:44 PM, Michał Górny wrote:
> > On Sun, 2020-02-09 at 22:30 -0800, Zac Medico wrote:
> > > Hi all (especially package owners in CC),
> > >
> > > In various packages we have inconsistent use of || preferences for
> > > www-client/elinks, links, lynx, w3m, and w3mmee. This means that the
> > > default preference depends on the combination of packages that one has
> > > installed and the order that one has installed them, leading to
> > > unpredictable results.
> > >
> > > Here is a list of relevant packages and their dependencies:
> > >
> > > app-text/docbook-sgml-utils: || ( www-client/lynx www-client/links
> > > www-client/elinks virtual/w3m )
> > > app-text/sgmltools-lite: || ( www-client/w3m www-client/lynx )
> > > app-text/xmlto: || ( virtual/w3m www-client/lynx www-client/elinks )
> > > dev-lang/mono: || ( www-client/links www-client/lynx )
> > > mail-client/mutt: || ( www-client/lynx www-client/w3m www-client/elinks )
> > > mail-client/neomutt: || ( www-client/lynx www-client/w3m www-client/elinks )
> > > net-irc/irssi: || ( www-client/lynx www-client/elinks )
> > > sys-fs/gt5: || ( www-client/links www-client/elinks www-client/lynx )
> > > x11-base/xorg-server: || ( www-client/links www-client/lynx www-client/w3m )
> > >
> > > How about if we create some more virtuals to cover all of the relevant
> > > cases?
> >
> > I don't think that's a valid case for a virtual since those tools do not
> > provide a consistent API for other packages. It just happens that some
> > packages explicitly support multiple choices, and this is exactly what
> > > > indicates.
> >
> > The virtuals would really be arbitrary here. Developers would
> > repeatedly fail to use them because they wouldn't naturally expect
> > the virtual to exist.
>
> In that case, I suppose we'll have to apply consistency manually? Can we
> all agree on a global order of preference for the relevant packages?
That would be my idea, yes. I'd suggest going for the 'lightest'
package first. Would you be able to figure out some kind of measure
on how heavy each of those packages is? I suppose we need to account
for build time and dependencies.
--
Best regards,
Michał Górny
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]
next prev parent reply other threads:[~2020-02-10 7:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-10 6:30 [gentoo-dev] Inconsistent use of || preferences for www-client/elinks, links, lynx, w3m, and w3mmee Zac Medico
2020-02-10 6:44 ` Michał Górny
2020-02-10 6:51 ` Zac Medico
2020-02-10 7:19 ` Michał Górny [this message]
2020-02-11 10:32 ` Francesco Riosa
2020-02-11 13:47 ` Joonas Niilola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2aada49cfb3fb19cb4cb4acdd01f3b2db7c92e1b.camel@gentoo.org \
--to=mgorny@gentoo.org \
--cc=dotnet@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=grobian@gentoo.org \
--cc=monsieurp@gentoo.org \
--cc=nicolasbock@gentoo.org \
--cc=swegener@gentoo.org \
--cc=x11@gentoo.org \
--cc=zlogene@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox