public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kent Fredric <kentnl@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Allow variable refs in HOMEPAGE
Date: Tue, 8 Aug 2017 02:05:38 +1200	[thread overview]
Message-ID: <20170808020538.2059f066@katipo2.lan> (raw)
In-Reply-To: <841a1d8c-c6ab-99ad-2b71-281fb8980492@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 2284 bytes --]

On Thu, 3 Aug 2017 19:21:12 +0200
Jonas Stein <jstein@gentoo.org> wrote:

> We have already some HOMEPAGES which are constructed by eclass magic
> [2]. These do not link to a useful website usually.

Statistically, that 99% of perl-module.eclass consumers do just this in
a useful way with factoring in ${PN} automatically, might tilt those
odds of "Usual"

It would be a net reduction in usefulness if every single
perl-module.eclass consumer was required to hard-code a human usable
HOMEPAGE.

In fact, one of the things we have as a future option is changing the
"base part" of these automatically generated URL's so they reference a
useful homepage on metacpan.org instead of search.cpan.org.

I'm glad we're not considering doing that manually for every ebuild.

Though, neither of these really are considered "the" home page, but
these projects don't typically even *have* "a" homepage,  they're
simply external-indexes of uploaded data, and they serve as defacto
homepages, and metadata inside that uploaded data can direct users to
the "real" home page.

So in a sense, these home pages also serve like a kind of resolver.

But people practically never use that "real" homepage, the defacto home
pages are what people care for.

> A string is also less error prone. We have already many broken
> HOMEPAGES

That clearly depends on circumstances, if well tuned, every ebuild hand
coding its home pages *increases* the net error prone-ness ( at least,
it does for CPAN ), because it creates quite literally thousands of
places humans might encode a home page wrong.

And at least with CPAN, if the autogenerated homepage does not resolve,
that usually doesn't mean you made a mistake in generating the
homepage:  It usually means you made big bungles somewhere else and the
ebuild won't even work, and/or upstream have pulled their rip cord and
have deleted all their files from public servers.

But this subject kinda reduces to a long-living decision quandry: "to
de-duplicate and unify, or not to deduplicate and keep sparse".

There are so many benefits and trade-offs to either. It only makes
sense to let the decision follow the nature of the problem at hand, not
creating a blind rule that must be followed religiously.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-08-07 14:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-03 15:33 [gentoo-dev] Allow variable refs in HOMEPAGE Mike Gilbert
2017-08-03 15:54 ` Michał Górny
2017-08-03 20:56   ` Mike Gilbert
2017-08-03 23:10   ` Sam Jorna
2017-08-03 17:21 ` Jonas Stein
2017-08-07 14:05   ` Kent Fredric [this message]
2017-08-03 18:21 ` Michael Orlitzky
2017-08-03 18:32   ` Michał Górny
2017-08-03 18:57   ` Mike Gilbert
2017-08-03 19:12     ` Michael Orlitzky
2017-08-03 19:39       ` Mike Gilbert
2017-08-03 19:56         ` Michael Orlitzky
2017-08-03 20:46           ` Mike Gilbert
2017-08-03 22:33           ` Ulrich Mueller
2017-08-04  3:24             ` Michael Orlitzky
2017-08-04  6:50               ` Michał Górny
2017-08-04 13:43                 ` Michael Orlitzky
2017-08-04 14:02                   ` Peter Stuge
2017-08-04  6:51               ` Ulrich Mueller
2017-08-03 19:39   ` Ulrich Mueller
2017-08-03 19:34 ` Ulrich Mueller

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=20170808020538.2059f066@katipo2.lan \
    --to=kentnl@gentoo.org \
    --cc=gentoo-dev@lists.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