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