Gentoo Archives: gentoo-dev

From: Jonas Stein <jstein@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Allow variable refs in HOMEPAGE
Date: Thu, 03 Aug 2017 17:21:23
Message-Id: 841a1d8c-c6ab-99ad-2b71-281fb8980492@gentoo.org
In Reply to: [gentoo-dev] Allow variable refs in HOMEPAGE by Mike Gilbert
1 Hi Mike,
2
3 > I would like to remove the ban on variable references in the HOMEPAGE
4 > variable in ebuilds.
5 >
6 > As I understand it, this ban was put in place so that people can
7 > easily copy/paste from an ebuild to a web browser.
8
9 It made it also possible to grep through the packages and find thousand
10 dead HOMEPAGES like [1] and many more.
11
12 If the HOMEPAGE is constructed by the power of bash variables it is hard
13 to track and to use.
14
15 We have already some HOMEPAGES which are constructed by eclass magic
16 [2]. These do not link to a useful website usually.
17
18 A string is also less error prone. We have already many broken
19 HOMEPAGES. This number would only increase if we add variables. On the
20 other hand it does not safe very much time for the maintainer.
21 Ebuilds are written once, but read many times.
22
23 Hence I suggest KISS (keep it simple stupid) and stick to the real URL
24 without variables.
25
26 [1] https://wiki.gentoo.org/wiki/Upstream_repository_shutdowns
27 [2] https://bugs.gentoo.org/show_bug.cgi?id=624498
28
29 --
30 Best,
31 Jonas

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Allow variable refs in HOMEPAGE Kent Fredric <kentnl@g.o>