Gentoo Archives: gentoo-dev

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] go-module.eclass: undeprecate EGO_SUM
Date: Mon, 13 Jun 2022 09:49:54
Message-Id: 946afe9b-1eb8-b791-b151-66b7a34ec92b@gentoo.org
In Reply to: [gentoo-dev] [PATCH] go-module.eclass: undeprecate EGO_SUM by Florian Schmaus
1 On 13/06/2022 09:44, Florian Schmaus wrote:
2 > Following the gentoo-dev@ mailing list discussion [1], this
3 > un-deprecates EGO_SUM.
4 >
5 > 1: https://archives.gentoo.org/gentoo-dev/message/1a64a8e7694c3ee11cd48a58a95f2faa
6 >
7 > Signed-off-by: Florian Schmaus <flow@g.o>
8 > ---
9 > eclass/go-module.eclass | 30 +++++++++++-------------------
10 > 1 file changed, 11 insertions(+), 19 deletions(-)
11 >
12 > diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
13 > index a5dafb45cab8..2e0b7dc1726d 100644
14 > --- a/eclass/go-module.eclass
15 > +++ b/eclass/go-module.eclass
16 > @@ -25,7 +25,9 @@
17 > #
18 > # If the software has a directory named vendor in its
19 > # top level directory, the only thing you need to do is inherit the
20 > -# eclass. If it doesn't, you need to also create a dependency tarball and
21 > +# eclass. If it doesn't, then you either 1) populate EGO_SUM in the ebuild and
22 > +# call go-module_set_globals as discussed below or 2) you need to create a
23 > +# dependency tarball and
24 > # host it somewhere, for example in your dev space.
25 > #
26 > # Here is an example of how to create a dependency tarball.
27
28 I agree that EGO_SUM shouldn't have been completely deprecated following
29 the previous discussion. It is not always possible or practical to host
30 a dependency tarball, especially for people who aren't Gentoo
31 developers. However, from what I remember from the previous discussion
32 there actually were some good arguments against using EGO_SUM, mainly
33 relating to the size of the ebuilds and manifests. So perhaps we can
34 find some middle ground here and keep EGO_SUM for e.g. third-party
35 repositories, while recommending dependency tarballs for use in
36 ::gentoo. Could we add something among those lines to the text here?
37
38 Best regards,
39 Andrew

Replies

Subject Author
Re: [gentoo-dev] [PATCH] go-module.eclass: undeprecate EGO_SUM Florian Schmaus <flow@g.o>