Gentoo Archives: gentoo-dev

From: tastytea <gentoo@××××××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v5] go-module.eclass: deprecate EGO_SUM
Date: Mon, 07 Mar 2022 12:10:57
Message-Id: 20220307131046.5d38c6ad@ventiloplattform.tastytea.de
In Reply to: [gentoo-dev] [PATCH v5] go-module.eclass: deprecate EGO_SUM by William Hubbs
1 On 2022-03-05 16:17-0600 William Hubbs <williamh@g.o> wrote:
2
3 > +# @CODE
4 > +#
5 > +# $ cd /path/to/project
6 > +# $ GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw
7 > +# $ tar -acf project-1.0-deps.tar.xz go-mod
8
9 What's the reason to use `go mod download` here and not `go mod
10 vendor`? The former seems to always generate much bigger directories.
11 For www-apps/hugo it is 1.5G vs. 65M and someone on IRC mentioned that
12 for another ebuild it is >600M vs 22M.
13
14 Kind regards, tastytea

Replies

Subject Author
Re: [gentoo-dev] [PATCH v5] go-module.eclass: deprecate EGO_SUM William Hubbs <williamh@g.o>