Re: [IDEA] Enumerate solutions for blockers, to avoid tedious manual work. (was: Re: [gentoo-dev] Releng breakage with respect to move from dev-python/python-exec to dev-lang/python-exec)

2013-11-04 Thread Ruud Koolen
On Sunday 03 November 2013 13:10:57 Tom Wijsman wrote:
 Let's say I have the blocker:

 dev-python/python-exec-1 is blocking
 dev-lang/python-exec-0.3.1

 We could have it additionally say something like:

 To resolve this blocker, you can run one of the following commands:

 emerge -1 '=dev-python/python-exec-1'

If portage can do that, what exactly is keeping it from resolving the 
situation fully automatically? If it reliably knows what to emerge to get 
unstuck, it sounds like it would only be a trivial step to actually add this 
information to the dependency resolver.

-- Ruud



Re: [IDEA] Enumerate solutions for blockers, to avoid tedious manual work. (was: Re: [gentoo-dev] Releng breakage with respect to move from dev-python/python-exec to dev-lang/python-exec)

2013-11-04 Thread Ciaran McCreesh
On Mon, 4 Nov 2013 21:00:16 +0100
Ruud Koolen redliz...@gentoo.org wrote:
 On Sunday 03 November 2013 13:10:57 Tom Wijsman wrote:
  Let's say I have the blocker:
 
  dev-python/python-exec-1 is blocking
  dev-lang/python-exec-0.3.1
 
  We could have it additionally say something like:
 
  To resolve this blocker, you can run one of the following
  commands:
 
  emerge -1 '=dev-python/python-exec-1'
 
 If portage can do that, what exactly is keeping it from resolving the 
 situation fully automatically?

Fully automatic blocker resolution leads to Portage silently
uninstalling bash.

 If it reliably knows what to emerge to get unstuck, it sounds like it
 would only be a trivial step to actually add this information to the
 dependency resolver.

If you want it to be reliable, you need to give the resolver lots more
information, and you need to make sure developers provide that
information correctly. Such a scheme can certainly be made to work:

http://exherbo.org/docs/exheres-for-smarties.html#annotations

-- 
Ciaran McCreesh


signature.asc
Description: PGP signature