Gentoo Archives: gentoo-commits

From: Alexander Berntsen <bernalex@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/, man/
Date: Tue, 02 Feb 2016 10:10:25
Message-Id: 1454407727.3ff375e832d469f03dc922f7a30651726f86d3e0.bernalex@gentoo
1 commit: 3ff375e832d469f03dc922f7a30651726f86d3e0
2 Author: Alexander Berntsen <bernalex <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 1 16:37:48 2016 +0000
4 Commit: Alexander Berntsen <bernalex <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 10:08:47 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=3ff375e8
7
8 Make config update tools stand out (bug 543706)
9
10 Add a CONFIGURATION FILES UPDATE TOOLS header to the manpage, to make
11 the tools discussion stand out from the configuration files discussion
12 in general.
13
14 Refer to the new section in emerge's configuration file updates output.
15
16 X-Gentoo-Bug: 543706
17 X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=543706
18
19 Suggested-by: Julian Ospald <hasufell <AT> gentoo.org>
20 Signed-off-by: Alexander Berntsen <bernalex <AT> gentoo.org>
21
22 man/emerge.1 | 1 +
23 pym/_emerge/chk_updated_cfg_files.py | 6 +++---
24 2 files changed, 4 insertions(+), 3 deletions(-)
25
26 diff --git a/man/emerge.1 b/man/emerge.1
27 index 05b2a01..0f5782e 100644
28 --- a/man/emerge.1
29 +++ b/man/emerge.1
30 @@ -1237,6 +1237,7 @@ add this to \fBmake.conf\fR(5):
31 .LP
32 .I CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d"
33 .LP
34 +.SH "CONFIGURATION FILES UPDATE TOOLS"
35 Tools such as dispatch\-conf, cfg\-update, and etc\-update are also available
36 to aid in the merging of these files. They provide interactive merging and can
37 auto\-merge trivial changes.
38
39 diff --git a/pym/_emerge/chk_updated_cfg_files.py b/pym/_emerge/chk_updated_cfg_files.py
40 index 9f2ab6f..6903df9 100644
41 --- a/pym/_emerge/chk_updated_cfg_files.py
42 +++ b/pym/_emerge/chk_updated_cfg_files.py
43 @@ -36,7 +36,7 @@ def chk_updated_cfg_files(eroot, config_protect):
44
45 if result:
46 print(" " + yellow("*") + " See the " +
47 - colorize("INFORM", _("CONFIGURATION FILES")) +
48 - " " + _("section of the") + " " + bold("emerge"))
49 - print(" " + yellow("*") + " " +
50 + colorize("INFORM", _("CONFIGURATION FILES")) + " and " +
51 + colorize("INFORM", _("CONFIGURATION FILES UPDATE TOOLS")))
52 + print(" " + yellow("*") + " sections of the " + bold("emerge") + " " +
53 _("man page to learn how to update config files."))