commit:     59d58d4c3074321d5ae7eb6c1feb2816b5f27775
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  3 02:39:35 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Feb  3 03:09:43 2018 +0000

emerge: disable --changed-deps-report by default (bug 645780)

This option is too noisy to enable by default, since it reports
hundreds of packages for most users.

Suggested-by: Michał Górny <mgorny <AT>>

 man/emerge.1                          | 7 +------
 pym/_emerge/ | 6 ++----
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/man/emerge.1 b/man/emerge.1
index f15532a1d..a17b65ed2 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -469,12 +469,7 @@ respect to changed build\-time dependencies is controlled 
by the
 Tells emerge to report ebuilds for which the ebuild dependencies have
 changed since the installed instance was built. Behavior with respect to
 changed build\-time dependencies is controlled by the
-\fB\-\-with\-bdeps\fR option. If the \fB\-\-update\fR and \fB\-\-deep\fR
-options are enabled then this option is enabled automatically for a
-dependency calculation if the cost of report generation is relatively
-insignificant (any calculation exclusively involving binary packages is
-exempt). The \fIEMERGE_DEFAULT_OPTS\fR variable may be used to disable
-this by default.
+\fB\-\-with\-bdeps\fR option.
 .BR \-\-changed\-use ", " \-U
 Tells emerge to include installed packages where USE flags have

diff --git a/pym/_emerge/ 
index 2fc907d37..fc7fa60d7 100644
--- a/pym/_emerge/
+++ b/pym/_emerge/
@@ -127,10 +127,8 @@ def create_depgraph_params(myopts, myaction):
        if changed_deps is not None:
                myparams['changed_deps'] = changed_deps
-       changed_deps_report = myopts.get('--changed-deps-report')
-       if (changed_deps_report != 'n' and
-               not (myaction == 'remove' or '--usepkgonly' in myopts) and
-               deep is True and '--update' in myopts):
+       changed_deps_report = myopts.get('--changed-deps-report', 'n') == 'y'
+       if changed_deps_report:
                myparams['changed_deps_report'] = True
        if myopts.get("--selective") == "n":

Reply via email to