commit: 220e51380c98cbe27e50d00d5c7f01916791ef32 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Wed Jun 22 13:31:32 2022 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Wed Jun 22 13:31:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=220e5138
CONTRIBUTING.md: add a few words about EGO_SUM Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fad9c4955..a6df9f02b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -66,6 +66,10 @@ Rust and Go packages automagically collect all dependencies. The licenses of the ## Other Tips and Tricks <a name="tips"></a> +- #### Don't use `EGO_SUM` + +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)). + - #### Use the cmake eclass instead of the cmake-utils eclass 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.
