Permalink
Switch branches/tags
Commits on Sep 11, 2012
  1. Bump version to 0.6.0

    samoht committed Sep 11, 2012
  2. On OSX, setting MANPATH breaks man, who is computing the man paths au…

    samoht committed Sep 11, 2012
    …tomatically. So for now on, simply export OCAML_MANPATH instead of MANPATH.
  3. Merge pull request #135 from vbmithr/master

    samoht committed Sep 11, 2012
    Updated man pages
  4. Updated man pages

    Vincent Bernardoff
    Vincent Bernardoff committed Sep 11, 2012
  5. Fix tests

    samoht committed Sep 11, 2012
Commits on Sep 10, 2012
  1. [opam-repo-check] provide a new script to normalize the contents of a…

    tuong committed Sep 10, 2012
    … repository
    
    Futur works : take into account comments (* *) so that the output does not delete them...
  2. Merge pull request #134 from vbmithr/master

    samoht committed Sep 10, 2012
    Display an error on "opam installed|remove" when no package is specified
  3. Display an error on "opam install|remove" if no package is specified.…

    Vincent Bernardoff
    Vincent Bernardoff committed Sep 10, 2012
    … Also changed deprecated function kprintf into new version ksprintf in different files.
  4. [upload] fix help message

    samoht committed Sep 10, 2012
  5. fix the order produced by `make_cnf_formula`

    tuong committed Sep 10, 2012
    In particular, the fix-point of `fun x -> OPAM.of_string (OPAM.to_string x)` is reached in 1 step now (instead of 2).
  6. Better error messages

    samoht committed Sep 10, 2012
  7. [variable .opam] add the variable "make" for opam-repository

    tuong committed Sep 10, 2012
    According to #132, we use the option `--makecmd <program_to_run>` to substitute variables that are behind `%{make}%` (that are used in .opam, see #132).
    By default, we take `gmake` for BSD and `make` otherwise.
  8. [install] new heuristic for the solver installer.

    samoht committed Sep 10, 2012
    Previously, when trying to install an old package which would trigger a downgrade, the solver heuristic was a bit lost and tried to randomly change some other package versions.
    
    Now the heuristic is the following:
    * we first run the solver to find a consistent solution
    * then, for all the new packages appearing in the solution:
      - if a solution with the most recent version of the package is consistent, then put the package in a bag
      - if the solution where all the packages in the bag are installed is consistent, then use it
      - otherwise, keep the original solution
    
    This ensure that no independant package is changed when downgrading a subset of packages to fillful the requirement to install a new package.
  9. [update] Fix association between packages and repositories

    samoht committed Sep 10, 2012
    Now, changing repository priorities in ~/.opam/repo/index + `opam update` works as expected.
  10. [update] When updating a specific repository, do not display the new …

    samoht committed Sep 10, 2012
    …packages from other repos.
  11. [list/search] improve the behavior of list search

    samoht committed Sep 10, 2012
    Now:
        $ opam list foo
    
    will return the package foo only, and not all the packages whose name contains foo.
    
    Also:
        $ opam search foo
    
    will return all the packages whose name or description contain foo.
  12. [switch] Keep some kind of backward compatibility in switch.

    samoht committed Sep 10, 2012
    So now, the first instance of:
    
        $ opam switch <foo>
    
    is equivalent to:
    
        $ opam switch -install <foo>
    
    iff `foo.comp` is a valid compiler description.
    
    Only installation of aliasing MUST be explicit:
    
       $ opam switch -install <bar> -alias-of <foo>
    
    For consistency reasons, it is still possible to `opam switch -install <foo>` when `foo.comp` is a valid package description.
  13. Continue #133

    samoht committed Sep 10, 2012
    update and upgrade take an optional argument
Commits on Sep 9, 2012
  1. Continue #133

    samoht committed Sep 9, 2012