1 |
commit: 59d58d4c3074321d5ae7eb6c1feb2816b5f27775 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 3 02:39:35 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 3 03:09:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=59d58d4c |
7 |
|
8 |
emerge: disable --changed-deps-report by default (bug 645780) |
9 |
|
10 |
This option is too noisy to enable by default, since it reports |
11 |
hundreds of packages for most users. |
12 |
|
13 |
Suggested-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
Bug: https://bugs.gentoo.org/645780 |
15 |
|
16 |
man/emerge.1 | 7 +------ |
17 |
pym/_emerge/create_depgraph_params.py | 6 ++---- |
18 |
2 files changed, 3 insertions(+), 10 deletions(-) |
19 |
|
20 |
diff --git a/man/emerge.1 b/man/emerge.1 |
21 |
index f15532a1d..a17b65ed2 100644 |
22 |
--- a/man/emerge.1 |
23 |
+++ b/man/emerge.1 |
24 |
@@ -469,12 +469,7 @@ respect to changed build\-time dependencies is controlled by the |
25 |
Tells emerge to report ebuilds for which the ebuild dependencies have |
26 |
changed since the installed instance was built. Behavior with respect to |
27 |
changed build\-time dependencies is controlled by the |
28 |
-\fB\-\-with\-bdeps\fR option. If the \fB\-\-update\fR and \fB\-\-deep\fR |
29 |
-options are enabled then this option is enabled automatically for a |
30 |
-dependency calculation if the cost of report generation is relatively |
31 |
-insignificant (any calculation exclusively involving binary packages is |
32 |
-exempt). The \fIEMERGE_DEFAULT_OPTS\fR variable may be used to disable |
33 |
-this by default. |
34 |
+\fB\-\-with\-bdeps\fR option. |
35 |
.TP |
36 |
.BR \-\-changed\-use ", " \-U |
37 |
Tells emerge to include installed packages where USE flags have |
38 |
|
39 |
diff --git a/pym/_emerge/create_depgraph_params.py b/pym/_emerge/create_depgraph_params.py |
40 |
index 2fc907d37..fc7fa60d7 100644 |
41 |
--- a/pym/_emerge/create_depgraph_params.py |
42 |
+++ b/pym/_emerge/create_depgraph_params.py |
43 |
@@ -127,10 +127,8 @@ def create_depgraph_params(myopts, myaction): |
44 |
if changed_deps is not None: |
45 |
myparams['changed_deps'] = changed_deps |
46 |
|
47 |
- changed_deps_report = myopts.get('--changed-deps-report') |
48 |
- if (changed_deps_report != 'n' and |
49 |
- not (myaction == 'remove' or '--usepkgonly' in myopts) and |
50 |
- deep is True and '--update' in myopts): |
51 |
+ changed_deps_report = myopts.get('--changed-deps-report', 'n') == 'y' |
52 |
+ if changed_deps_report: |
53 |
myparams['changed_deps_report'] = True |
54 |
|
55 |
if myopts.get("--selective") == "n": |