Browse thread
[OSR] Ports-like package management system
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Bünzli_Daniel <daniel.buenzli@e...> |
| Subject: | Re: [Caml-list] [OSR] Ports-like package management system |
Le 29 janv. 08 à 18:35, Berke Durak a écrit : >> It would also be nice to have a set of versions of the various >> libraries that hang together, as GODI does. Otherwise, problems in >> the case where there are packages A, B and C where A depends on B >> and C and B depends on C. You need a version of C that works with >> your versions of A and B, or you're sunk. So some central repo >> where you can maintain a set of "safe" versions would allow for a >> developer to ask for a easily pull a collection of working libraries. > > I recommend the use of a VCS precisely for that kind of thing: to > be able to depend on an exact revision. This won't solve the problem per se. If you have : A-v1 depends on C-v1 B-v1 depends on C-v2 You need a way to be able to tell A-v1 to use C-v2 (or B-v1 to use C- v1). So that you can use both A-v1 and B-v1 toghether. In a distributed setting you need a way to override the dependencies and pray that it works and if it doesn't contact the A's developer to release a new version that works with C-v2. Again this has nothing to do with the use of a vcs. Daniel