Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/common-mistakes/
Date: Sun, 01 Aug 2021 02:38:51
Message-Id: 1627785517.b27290e15d077e852be76bdf4e9627c9a84653a9.sam@gentoo
1 commit: b27290e15d077e852be76bdf4e9627c9a84653a9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 10 01:57:35 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 1 02:38:37 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=b27290e1
7
8 ebuild-writing/common-mistakes: mention using latest EAPI
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 ebuild-writing/common-mistakes/text.xml | 14 ++++++++++++++
13 1 file changed, 14 insertions(+)
14
15 diff --git a/ebuild-writing/common-mistakes/text.xml b/ebuild-writing/common-mistakes/text.xml
16 index 2313c50..23935be 100644
17 --- a/ebuild-writing/common-mistakes/text.xml
18 +++ b/ebuild-writing/common-mistakes/text.xml
19 @@ -477,6 +477,20 @@ at least when the ebuild hits the stable branch.
20 </p>
21 </body>
22 </subsection>
23 +
24 +<subsection>
25 +<title>Not using latest EAPI</title>
26 +<body>
27 +
28 +<p>
29 +Often, user-submitted ebuilds do not use the latest EAPI and may even
30 +be several versions behind. EAPIs bring new helper functions and improved
31 +methods for completing common tasks. It's recommended that submitted ebuilds
32 +use the latest EAPI possible (subject to eclass constraints) to improve
33 +the ebuild's quality and ease review.
34 +</p>
35 +</body>
36 +</subsection>
37 </section>