[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Versionned dependencies



Hi!

Am 02.02.2012 10:54, schrieb Tanguy Ortolo:
> Packages can currenctly declared dependencies on specific versions of
> other packages, with simple relations: <<, <=, =, >= and >>. For
> instance:
>     Package: xul-ext-adblock-plus
>     Depends: iceweasel (>= 3.6.13) | iceape (>= 2.1) | …
> 
> While this is sufficient for most cases, it does not cover one
> interesting case: a dependencies on a range of versions. For instance:
>     Package: xul-ext-adblock-plus
>     Depends: iceweasel (>= 3.6.13, << 12.0~a1+) | iceape (>= 2.1, << 2.9~a1+) | …
[..]

Isn't that why we have versioned provides?  E.g. iceweasel and iceape
could provide xul-api-3.6 (or whatever), while all the xul-ext packages
depends on xul-api-3.6.

Isn't the best solution, but seems to be more elegant that the break you
mentioned.


Best regards,
  Alexander


Reply to: