From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/devmanual:master commit in: general-concepts/ebuild-revisions/
Date: Tue, 29 Oct 2024 17:40:34 +0000 (UTC) [thread overview]
Message-ID: <1730219778.267ff220678b04b39acc3d32b6dfaea8c57d51ff.ulm@gentoo> (raw)
commit: 267ff220678b04b39acc3d32b6dfaea8c57d51ff
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 29 16:20:20 2024 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 29 16:36:18 2024 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=267ff220
general-concepts/ebuild-revisions: Almost always revbump when stable
Drop the paragraph after the example and make it a new list item with
updated wording.
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
general-concepts/ebuild-revisions/text.xml | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/general-concepts/ebuild-revisions/text.xml b/general-concepts/ebuild-revisions/text.xml
index 72087f0..b657b68 100644
--- a/general-concepts/ebuild-revisions/text.xml
+++ b/general-concepts/ebuild-revisions/text.xml
@@ -29,23 +29,28 @@ revision.
<p>
Developers are encouraged to use common sense when determining
-whether to introduce a new <c>-rX</c> revision. The following rule
+whether to introduce a new <c>-rX</c> revision. The following rules
of thumb could be used as a guideline:
</p>
+
<ol>
<li>
If the change can cause the package to be broken to the point
- of requiring users to revert to the previous version (in the case
- of packages marked stable, every non-trivial change is classified
- as such), then a new revision should be introduced and the old one
- kept. If the package has stable keywords, the new revision should
- be dropped to <c>~arch</c> (see
- <uri link="::keywording/#Keywording on upgrades"/>).
+ of requiring users to revert to the previous version, then a new
+ revision should be introduced and the old one kept.
For any such revision bump, the new ebuild should be based
on the previous revision to ensure that fixes aren't dropped
accidentally.
</li>
+ <li>
+ If the package has stable keywords, then a new revision should be
+ introduced for every non-trivial change, and its keywords should be dropped
+ to <c>~arch</c> (see <uri link="::keywording/#Keywording on upgrades"/>).
+ The general guideline here is conservatism and the need to minimize
+ the risk of accidental breakage for stable users.
+ </li>
+
<li>
If the change makes a substantial difference to the user who already
installed the package (fixes runtime issues, changes installed files,
@@ -125,11 +130,6 @@ of thumb could be used as a guideline:
</li>
</ul>
-<p>
-Note that the examples above should still be balanced against the general
-principle of conservatism and need to minimize risk for stable users.
-</p>
-
</body>
</chapter>
</guide>
next reply other threads:[~2024-10-29 17:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-29 17:40 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-29 17:40 [gentoo-commits] proj/devmanual:master commit in: general-concepts/ebuild-revisions/ Ulrich Müller
2023-08-26 5:43 Ulrich Müller
2023-01-14 20:24 Sam James
2022-11-10 7:17 Sam James
2022-11-10 7:17 Sam James
2021-09-24 14:07 Ulrich Müller
2021-09-24 12:00 Joonas Niilola
2021-09-24 12:00 Joonas Niilola
2021-09-24 12:00 Joonas Niilola
2021-09-24 12:00 Joonas Niilola
2021-07-03 16:21 Ulrich Müller
2021-07-03 16:21 Ulrich Müller
2017-09-25 4:23 Göktürk Yüksek
2017-09-25 4:23 Göktürk Yüksek
2017-09-25 4:23 Göktürk Yüksek
2017-09-25 4:23 Göktürk Yüksek
2015-05-09 15:22 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1730219778.267ff220678b04b39acc3d32b6dfaea8c57d51ff.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox