[opam-devel] OPAM Roadmap -- what next ?

Peter Zotov whitequark at whitequark.org
Sun Dec 21 16:20:05 GMT 2014


On 2014-12-21 19:16, Daniel Bünzli wrote:
> Le dimanche, 21 décembre 2014 à 16:57, Peter Zotov a écrit :
> 
>> I still don't see a reason to have multiple versions installed at once
>> that would justify the migration cost.
> 
> You may be working on different projects whose recursive dependencies
> includes two different versions of a library or you are a library
> author working on an incompatible release of a library. Both already
> happened to me and it's painful. Using a switch just for that as it
> was once suggested to me is painful and error prone, one time out of
> two you end up starting your build in the wrong switch.

How about having your shell change the switch based on e.g. 
`.opamswitch`
file in the project root? I actually want this supported regardless, it
would be very convenient.

-- 
Peter Zotov


More information about the opam-devel mailing list