Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 17, 2012
  1. Bump version number

    authored
  2. Update CHANGES

    authored
  3. Export OCAML_TOPLEVEL_PATH (=~/.opam/<alias>/lib/toplevel)

    authored
    The goal is to be able to use 'ocaml -I $OCAML_TOPLEVEL_PATH'
    
    This is not ideal, but better than nothing. I'm a bit relunctant for now on to install a wrapper, around ocaml to automatically install the -I ..., as it may interfere with existing aliases (as people use either 'alias ocaml=ledit ocaml' or 'alias ocaml=rlwrap'). This can be changed later, when I'm convince I will not break anything or when we choose to install an improved toplevel by default.
  4. Add stublibs and toplevel variables in the configuration package, so …

    authored
    …packages can start to use them.
  5. Remove the build dir when we remove a library. This doesn't change th…

    authored
    …e behavior of reinstall, it just clean up more space.
  6. GC old files on 'opam update'

    authored
    This will fix #24 and #49
  7. @tuong

    [N.t comparison] names of packages are compared in case insensitive m…

    tuong authored
    …ode (except if we encounter the same lowering).
    
    In particular, the order of "opam list" becomes natural.
  8. @tuong

    [solver optimization] Also consider packages manually entered by the …

    tuong authored
    …user as candidates for version upgrading, in case the user has not put some constraints on the version.
  9. @tuong
Commits on Jul 16, 2012
  1. @tuong

    [doc] update API

    tuong authored
  2. @tuong
  3. @tuong

    [solver optimization] New packages returned by the DOSE solver (not p…

    tuong authored
    …resent in the request) could have an old version (among available versions).
    
    We introduce an optimization trying to always return the last version of newly computed packages.
    
    Note that this remains an optimization as the solving problem being NP. For instance, the "opam upgrade" performed in #43 just after the "opam install" succeeds but could be unsuccessful in some other cases.
    However, this optimization should be useful in practice as the user targets the last version in general.
  4. Merge pull request #53 from avsm/fix-opam-env

    authored
    "opam config -env" now explicitly exports the variables it prints
Commits on Jul 14, 2012
  1. @avsm

    "opam config -env" now explicitly exports the variables it prints to …

    avsm authored
    …the external environment.
    
    Closes #47
Commits on Jul 12, 2012
  1. @tuong

    [solver] we modify the return type from [option] to [list].

    tuong authored
    Solving algorithm remains the same.
Commits on Jul 11, 2012
  1. Merge branch 'master' of github.com:OCamlPro/opam

    authored
    Conflicts:
    	src/client.ml
  2. [pin] first version of 'opam pin'

    authored
    Usage:
    * opam pin lwt 2.3.1 => fix the version of lwt to 2.3.1
    * opam pin lwt /local/path => use the contents of the local path to compile lwt, instead of downloading the archive
    * opam pin lwt none => remove the version pinning for lwt
  3. @tuong

    [install/upgrade] fix the restoration of old configuration

    tuong authored
    Suppose that "o.3" is installed and it exists a binary named "o" in $opam/bin .
    When the solver proposes to change from "o.3" to "o.2", the binary "o" was wrongly erased and not restored.
    
    Note that "o.2" could also install a binary "o". Here, the difficulty is to restore back the correct binary "o" in $opam/bin that were installed before the [proceed_tochange] execution. Because [proceed_tochange] performs some side effects modifications on variable with [File.Env], one solution is to call it again with a recursive call.
  4. @tuong

    [run.ml/run_process] fix the exit of [run_process] in case of error s…

    tuong authored
    …o that :
    
    - [command] continues the computation (as well as [commands])
    - [read_command_output] stops the execution
Commits on Jul 10, 2012
  1. @tuong

    [opam install] warning if at least one package contains dependencies …

    tuong authored
    …to some unknown packages
    
    Note that, in this case, the solver returns 'No solution has been found' everytime without failing.
Commits on Jul 9, 2012
  1. @tuong
  2. @tuong

    Remove tempory files to not saturate /tmp

    tuong authored
    We continue 3a0af3c . In particular, "/tmp/opam-%s.%d-%d" are removed as soon as possible
  3. @tuong
  4. @tuong

    Fix the locking of operations

    tuong authored
    The previous type of [with_flock] could return a higher order value as ['b], leading to some not protected situations.
  5. Add install instructions

    authored
Commits on Jul 7, 2012
  1. Build ocaml in ~/.opam/<alias>/build/ocaml

    authored
    this is better than .../build/_
  2. Fix README

    authored
Commits on Jul 6, 2012
  1. @tuong
Something went wrong with that request. Please try again.