Summary: | sys-apps/portage: enable --dynamic-deps=y by default once again | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Zac Medico <zmedico> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arthur, josef64, kensington, qa, skrattaren, tsmksubc, viklevin2 |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=645780 https://bugs.gentoo.org/show_bug.cgi?id=646622 https://bugs.gentoo.org/show_bug.cgi?id=516612 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 645194 |
Description
Zac Medico
![]() Patch posted for review: https://archives.gentoo.org/gentoo-portage-dev/message/1af1404b7715e89a898f10c3f74a08a9 https://github.com/gentoo/portage/pull/249 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=a6671c73f3d1aa74789534e5eebccbca23b48656 commit a6671c73f3d1aa74789534e5eebccbca23b48656 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-02-03 01:45:21 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-02-03 02:21:28 +0000 emerge: enable --dynamic-deps=y by default once again (bug 646458) There's been a lot of pushback involving the --dynamic-deps=n default. What we really need is a tool to apply dependency changes in-place, without the need for a rebuild. Reverts: 2905e1c2c28d ("Disable dynamic-deps by default") Bug: https://bugs.gentoo.org/646458 man/emerge.1 | 2 +- pym/_emerge/Scheduler.py | 3 ++- pym/_emerge/create_depgraph_params.py | 6 +++--- pym/_emerge/depgraph.py | 7 +++---- 4 files changed, 9 insertions(+), 9 deletions(-)} So the decision is that Portage will ignore PMS again? We need a strategy for in-place dependency updates, because there are a lot of noisy people who aren't willing to accept rebuilds as the answer. Actually, we have a council decision on this: | The following policy was accepted by unanimous vote: | "Maintainers must not assume that dynamic dependencies will be applied | by the package manager. When changing runtime dependencies the | maintainer should revision the ebuild if the changes are likely to | cause problems for end users." https://projects.gentoo.org/council/meeting-logs/20151011-summary.txt So as a maintainer, I should be able to rely on the fact the the package manager *won't* apply dynamic dependencies. (In reply to Ulrich Müller from comment #5) > Actually, we have a council decision on this: > > | The following policy was accepted by unanimous vote: > | "Maintainers must not assume that dynamic dependencies will be applied > | by the package manager. When changing runtime dependencies the > | maintainer should revision the ebuild if the changes are likely to > | cause problems for end users." > https://projects.gentoo.org/council/meeting-logs/20151011-summary.txt > > So as a maintainer, I should be able to rely on the fact the the package > manager *won't* apply dynamic dependencies. Ok, so let's force devs to use --dynamic-deps for some time, before we do it to users. Of course I mean, force devs to use --dynamic-deps=n. We could make the --dynamic-deps=n default conditional on USE="gentoo-dev", or something like that, and then tell developers that they have to enable it. If that's a success, then the dependency situation should improve to the point where it's usable for normal users. Basically, it's not fair to unleash the --dynamic-deps=n default on our users until we prove that our devs will cooperate. (In reply to Zac Medico from comment #7) > Of course I mean, force devs to use --dynamic-deps=n. I cannot think of any way how "not assume that dynamic dependencies will be applied by the package manager" could be read as to apply to developers' systems only. (In reply to Ulrich Müller from comment #10) > (In reply to Zac Medico from comment #7) > > Of course I mean, force devs to use --dynamic-deps=n. > > I cannot think of any way how "not assume that dynamic dependencies will be > applied by the package manager" could be read as to apply to developers' > systems only. The strategy that I'm suggesting involves 2 phases: 1) Roll out a USE="gentoo-dev" flag that triggers the default --dynamic-deps=n setting. 2) After gentoo dev's have shown a willingness and ability to do the revbumps, roll out the default --dynamic-deps=n setting to regular users. |