thelema/odb — pull request #26 by hcarty (2011-12-18 03:49:21+00:00)
Title: Customization with environment variables, including multiple repository support

These commits add a few features and options to odb.ml:

1. Custom build and installation locations (can be defined separately). Helpful if you want a target other than `ocamlc -where` or `~/.odb` and/or if you want to manage multiple library trees.
1. Custom and multiple package repositories. This can help with mirror support, local web-based repositories for personal packages, and eventually repositories on local drives. Working with local repositories assumes, in this case, another tool which is a local equivalent to oasis-db.
1. An example bash snippet one can use to get going with odb in general and these customizable options in particular.
1. Some code cleanup (whitespace and dead code removal)

There is some room for cleanup and performance improvements in these changes, but in my testing with OCaml 3.12.1 they all work in their current state.