* Re: [gentoo-dev] Dependencies default to accept any slot value acceptable (:*), can we default to :0 instead?
@ 2013-12-08 19:39 99% ` Rich Freeman
0 siblings, 0 replies; 1+ results
From: Rich Freeman @ 2013-12-08 19:39 UTC (permalink / raw
To: gentoo-dev
On Sun, Dec 8, 2013 at 2:14 PM, Ulrich Mueller <ulm@gentoo.org> wrote:
>
> PMS just provides a mechanism, but doesn't prefer one SLOT value over
> another. Such a change would introduce policy into PMS which is not
> the right way to go.
Sure it does - it defaults to :* when :* was never specified. I don't
see how defaulting to :0= is a "policy" any more than :* is.
>
> If a dependency on a specific SLOT value is needed then it should be
> explicitly specified in the ebuild.
Honestly, I think this is kind of like saying that garbage collection
is useless because programmers should just correctly free anything
they create exactly once.
If maintainers were generally giving careful thought to slots in
dependencies then we wouldn't have packages that stick the slot in the
package name instead. Sure, we can just ban packages like these and
force everybody to fix all the breakage that results (which in theory
should never have existed), but it seems better to me to try to make
the best default the default.
I guess we could just ban any non-explicit slot version dependency (ie
90% of our current dependency atoms are now invalid), but that doesn't
really seems a bit like programming in Ada. :)
Rich
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-12-08 16:56 [gentoo-dev] Dependencies default to accept any slot value acceptable (:*), can we default to :0 instead? Tom Wijsman
2013-12-08 17:19 ` Andreas K. Huettel
2013-12-08 19:14 ` Ulrich Mueller
2013-12-08 19:39 99% ` Rich Freeman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox