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/eapi/
Date: Tue, 22 Feb 2022 07:11:47
Message-Id: 1645513887.9db2bfb9151258ce62a1854774a6d3bf60734af2.sam@gentoo
1 commit: 9db2bfb9151258ce62a1854774a6d3bf60734af2
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 10 01:25:20 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 22 07:11:27 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=9db2bfb9
7
8 ebuild-writing/eapi: mention blocker retention period
9
10 Bug: https://bugs.gentoo.org/821553
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12 Closes: https://github.com/gentoo/devmanual/pull/261
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 ebuild-writing/eapi/text.xml | 9 +++++++++
16 1 file changed, 9 insertions(+)
17
18 diff --git a/ebuild-writing/eapi/text.xml b/ebuild-writing/eapi/text.xml
19 index 257232c..fbf88a5 100644
20 --- a/ebuild-writing/eapi/text.xml
21 +++ b/ebuild-writing/eapi/text.xml
22 @@ -83,6 +83,15 @@ governing their use of newer EAPIs, as does the
23 <uri link="https://dev.gentoo.org/~mgorny/python-guide/package-maintenance.html#porting-packages-to-a-new-eapi">Python project</uri>.
24 </p>
25
26 +<p>
27 +It is also convention that blockers within ebuilds are retained for at least
28 +2 years after the last ebuild matching the block is removed from the tree to
29 +avoid file collisions for users upgrading older systems. <c>pkgcheck</c> has
30 +a warning for this called <c>OutdatedBlocker</c> (or even
31 +<c>NonexistentBlocker</c> for when the match is from pre-git times if using
32 +a non-grafted repository).
33 +</p>
34 +
35 </body>
36 </subsection>
37 </section>