Permalink
Switch branches/tags
Commits on Sep 21, 2012
  1. Bump version to 0.7.0

    samoht committed Sep 21, 2012
  2. Update changelog

    samoht committed Sep 21, 2012
  3. Tell the user to unset some variable which can be problematic during …

    …the build of packages.
    
    This should fix #107
    samoht committed Sep 21, 2012
  4. Merge pull request #184 from 0branch/master

    Synopsis typo fixes.
    samoht committed Sep 21, 2012
  5. Synopsis typo fixes.

    0branch committed Sep 21, 2012
  6. [switch] Fix the handling of CAML_LD_LIBRARY_PATH when switching betw…

    …een compilers.
    
    We need to add the path to the system compiler, not to the one previously in the path.
    samoht committed Sep 21, 2012
  7. Fix typo

    samoht committed Sep 21, 2012
  8. [remove] when removing a package which is not available upstream anym…

    …ore, do not try to get the archive.
    samoht committed Sep 21, 2012
  9. [update] If a compiler file is no more available upstream, then delet…

    …e it locally as well (unless there is already one local installation of this compiler).
    samoht committed Sep 21, 2012
  10. [update] give next upgrade statistics on update

    This commit fixes #179
    samoht committed Sep 21, 2012
  11. Merge pull request #183 from tuong/master

    activate the indentation of the field ".opam/build"
    samoht committed Sep 21, 2012
  12. Continue fff1b3b and really fix #163

    samoht committed Sep 21, 2012
Commits on Sep 20, 2012
  1. Merge pull request #182 from 0branch/master

    Distinguish between unknown and unavailable packages during installation.
    samoht committed Sep 20, 2012
  2. Distinguish between unknown and unavailable packages.

    The current error message is rather misleading. For example,
    
    $ opam install ocamlnet.3.5.1
    The package "ocamlnet" has no version 3.5.1.
      'opam install ocamlnet.3.5.1' failed
    
    This changeset introduces checks for unavailable packages, yielding
    slightly clearer errors:
    
    $ opam install ocamlnet.3.5.1
    Version 3.5.1 of "ocamlnet" is incompatible with your compiler.
      'opam install ocamlnet.3.5.1' failed
    0branch committed Sep 20, 2012
  3. Support for local path in compiler description files.

    This is useful when hacking on the compiler, mainly.
    samoht committed Sep 20, 2012
  4. [install] Add the ability to specify optional files to install

    In order to so, just prefix the filename with ?. Opam will not complain if he cannot install such a file.
    
    This commit fixes #139
    samoht committed Sep 20, 2012
  5. [config] we can use %{preinstalled}% in opam file to filter command w…

    …hen the compiler is preinstalled
    samoht committed Sep 20, 2012
  6. Add an optional filter to commands in opam files.

    This will fix #153 and will enable a lot of interesting extensions, and will make opam file more portable accross versions and OSes.
    samoht committed Sep 20, 2012
  7. Add the ability to overwrite default variables.

    It is now possible to tell opam to substitute variables in opam files in a more fine way. For instance, setting:
    
        $ opam config -var react:enable $ display "disable"
        $ opam install react
        $ opam config -var react:enable # display "enable"
        $ export foo_enabled=disable
        $ opam config -var react:enable # display "disable"
    
    Note: all the 'opam config -var <var>' have a similar semantics to the variable %{var}% appearing in opam files, ie. they will be substituted by the same string when opam run.
    samoht committed Sep 20, 2012
  8. Add the os string in the main configuration file.

    So 'opam config -var os' now returns the detected OS kind.
    samoht committed Sep 20, 2012
  9. Remove opam-repo-convert

    samoht committed Sep 20, 2012
  10. [list] print a useful first line message when displaying available/in…

    …stalled packages
    
    This is part of #178
    samoht committed Sep 20, 2012
  11. Double check that the file exists before linking it.

    This should fix #180
    samoht committed Sep 20, 2012
  12. Register a printer for Unix_error

    This is part of #180
    samoht committed Sep 20, 2012
  13. [opam-mk-repo] build archives for the transitive dependencies of the …

    …input package names
    
    This fix #171
    
    So now:
    
       $ opam-mk-repo core -dryrun
    
    gives:
    
    Packages to build: { variantslib.108.07.00, variantslib.108.00.02, type_conv.108.07.00, type_conv.108.00.02, sexplib.108.07.00, sexplib.108.00.02, sexplib.7.0.5, res.3.2.0, pipebang.108.07.00, pipebang.108.00.02, pa_ounit.108.07.00, pa_ounit.108.00.02, ounit.1.1.2, ounit.1.1.1, ounit.1.1.0, ocamlfind.1.3.4, ocamlfind.1.3.3, ocamlfind.1.3.2, ocamlfind.1.3.1, fieldslib.108.07.00, fieldslib.108.00.02, core.108.07.00, core.108.00.02, comparelib.108.07.00, comparelib.108.00.02, bin_prot.108.07.00, bin_prot.108.00.02 }
    samoht committed Sep 20, 2012