Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: /
Date: Wed, 22 Jun 2022 17:39:19
Message-Id: 1655904692.220e51380c98cbe27e50d00d5c7f01916791ef32.andrewammerlaan@gentoo
1 commit: 220e51380c98cbe27e50d00d5c7f01916791ef32
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Wed Jun 22 13:31:32 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 22 13:31:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=220e5138
7
8 CONTRIBUTING.md: add a few words about EGO_SUM
9
10 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 CONTRIBUTING.md | 4 ++++
13 1 file changed, 4 insertions(+)
14
15 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
16 index fad9c4955..a6df9f02b 100644
17 --- a/CONTRIBUTING.md
18 +++ b/CONTRIBUTING.md
19 @@ -66,6 +66,10 @@ Rust and Go packages automagically collect all dependencies. The licenses of the
20
21 ## Other Tips and Tricks <a name="tips"></a>
22
23 +- #### Don't use `EGO_SUM`
24 +
25 +This method of declaring Go module dependencies is deprecared. Please consider either hosting a dependency tarball somewhere (you can find out how to generate it in [go-module.eclass(5)](https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html)) or improving upstream release CI scripts (example: [noborus/ov#196](https://github.com/noborus/ov/pull/196/files)).
26 +
27 - #### Use the cmake eclass instead of the cmake-utils eclass
28
29 The [cmake-utils eclass](https://devmanual.gentoo.org/eclass-reference/cmake-utils.eclass/index.html) will be deprecated in favour of the [cmake eclass](https://devmanual.gentoo.org/eclass-reference/cmake.eclass/index.html). To make your ebuilds more future proof, you might want to use the cmake eclass instead. These eclasses are functionally equivalent, so replacing references to `cmake-utils_....` with `cmake_....` should just work.