Commits on Jan 12, 2013
  1. Filename.get_temp_dir_name does not exists in OCaml 3.12.1

    samoht committed Jan 12, 2013
    This should fix #386
Commits on Jan 11, 2013
  1. Fix 'opam pin --force'

    samoht committed Jan 11, 2013
  2. Better message when the version of OPAM is not up-to-date.

    samoht committed Jan 11, 2013
    It's maybe a bit harsh to beg the user to upgrade on every opam invocation, but I guess we could improve that with 1.0.0.
    This should fix #382
  3. Improve the pin consistency checks, and consider that the pinned pack…

    samoht committed Jan 11, 2013
    …age is the one with max-version. I guess it would be better to give the option to the user to choose which is the corresponding version but no hurry.
  4. On startup check that repository state are consistent and try to fix …

    samoht committed Jan 11, 2013
    …eventual issues.
    This could be extended later by adding more consistency checks.
  5. Add consistency checks when using 'opam pin'.

    samoht committed Jan 11, 2013
    This will make the semantics easier to understand (but one could still use --force to bypass the checks).
    This should fix #384
  6. Always create a new archive from 'git -tar' when using dev packages, …

    samoht committed Jan 11, 2013
    …this is much more robust (and it not much slower anyway).
  7. On upgrade, if we recompile packages because of upstream changes (whi…

    samoht committed Jan 11, 2013
    …ch is typically the case when we use dev packages), remember which packages successfuly build and install to not have to handle them again on the next upgdrade.
    This was working well when we were upgrading because of new packages, so now the behavior is much more consistent.
  8. Clean up log files when the command is a success, and do not polute t…

    samoht committed Jan 11, 2013
    …he root of OPAM (ie. everything goes into ~/.opam/log or ~/.opam/<switch>/build/<package>/)
  9. By default, use the 'paranoid' strategy when an external solver is av…

    samoht committed Jan 11, 2013
    If you want to tweak the stategy used, change OPAMCRITERIA (for instance OPAMCRITERIA=-new,-remove), see /usr/bin/aspcud for available options (the package is available under debian in apt-cudf.
  10. When using the external solver, also display the command used to call…

    samoht committed Jan 11, 2013
    … the solver at the first line of the generated CUDF file (if using --cudf option)
  11. Fix 'opam remove' solver request.

    samoht committed Jan 11, 2013
    * Manually the packages depending on the ones we want to remove
    * keep the same version for the transitve closure of soft-dependencies of installed roots
    * and call the solver which will delete all the remaining non-root packages
  12. Installed packages are always available.

    samoht committed Jan 11, 2013
    This means that you can remove a repository and continue to use the packages normally as long as they are installed. Once uninstalled (because of upgrade/remove), then they will disapear.
    This should fix #309
  13. Improvements to opam-mk-repo.

    samoht committed Jan 11, 2013
    * Warn when skipping non-existant packages.
    * Do nothing if the user has provided no valid packages.
    * Be more robust when trying to create index.tar.gz or urls.txt in empty repositories (ie. do nothing in this case).
  14. Do not use spawn a shell to do redirect when creating index.tar.gz. A…

    samoht committed Jan 11, 2013
    …pparently it can fail on some system and tar simply accepts an output file as argument.
    This should fix #378
  15. Improve the output of opam-mk-error on error.

    samoht committed Jan 11, 2013
    This should help debugging #378
  16. Merge pull request #379 from cago/master

    samoht committed Jan 11, 2013
    Update completion script for zsh