1 |
On 12/23/2014 12:45 PM, Zac Medico wrote: |
2 |
> The @changed-deps set is useful, but it has limitations similar to the |
3 |
> @installed set (see bug #387059), which can make it unsuitable for use |
4 |
> when updating the whole system. Therefore, implement two new options |
5 |
> that are analogous to --newuse and --binpkg-respect-use, called |
6 |
> --changed-deps and --binpkg-changed-deps. |
7 |
> |
8 |
> The rationale for having a separate --binpkg-* option is the same in |
9 |
> both cases: depending on the situation, people may want different |
10 |
> behavior for binary packages. For example, just like |
11 |
> ---binpkg-respect-use is automatically enabled if the user has not |
12 |
> specified --usepkgonly, so is --binpkg-changed-deps (though the user |
13 |
> can explicitly override the automatic behavior). In both cases, |
14 |
> inconsistencies in dependencies are automatically avoided, increasing |
15 |
> the probability of a successful dependency calculation. |
16 |
> |
17 |
> X-Gentoo-Bug: 282927 |
18 |
> X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=282927 |
19 |
> --- |
20 |
> man/emerge.1 | 22 +++- |
21 |
> pym/_emerge/create_depgraph_params.py | 16 +++ |
22 |
> pym/_emerge/depgraph.py | 138 ++++++++++++++++++++++-- |
23 |
> pym/_emerge/main.py | 26 +++++ |
24 |
> pym/portage/dep/_slot_operator.py | 13 +++ |
25 |
> pym/portage/tests/resolver/test_changed_deps.py | 120 +++++++++++++++++++++ |
26 |
> 6 files changed, 323 insertions(+), 12 deletions(-) |
27 |
> create mode 100644 pym/portage/tests/resolver/test_changed_deps.py |
28 |
|
29 |
Any feedback on this? I think it's good to merge. |
30 |
-- |
31 |
Thanks, |
32 |
Zac |