Permalink
Switch branches/tags
Commits on Jun 18, 2018
  1. Revert "Merge pull request #3407 from dra27/crlf-hashing"

    AltGr committed Jun 18, 2018
    This reverts commit 02c2933, reversing
    changes made to ae5bbc4.
    
    The PR raised some security concerns. Reverting to give us some more
    room to discuss and improve it.
Commits on Jun 15, 2018
  1. Merge pull request #3413 from OCamlPro/fix-opamenv-mv

    rjbou committed Jun 15, 2018
    Ensure OPAM_SWITCH_PREFIX is correctly set by `opam env`
  2. Merge pull request #3412 from OCamlPro/bwrap-tmp

    rjbou committed Jun 15, 2018
    bwrap script: allow writes to /tmp
  3. Merge pull request #3409 from rjbou/pin-version-git-local

    rjbou committed Jun 15, 2018
    Fix local git pinning with a version already set
  4. Merge pull request #3407 from dra27/crlf-hashing

    rjbou committed Jun 15, 2018
    Make hash function LF/CRLF-agnostic
  5. Merge pull request #3404 from rjbou/fx

    rjbou committed Jun 15, 2018
    Fixes: Env var & delimiters, unversionned opam file pin, doc
  6. Merge pull request #3349 from dra27/crlf-nonsense

    rjbou committed Jun 15, 2018
    Adapt patch behaviour for LF/CRLF compatibility
  7. Ensure OPAM_SWITCH_PREFIX is correctly set by `opam env`

    AltGr committed Jun 15, 2018
    even if the files have been moved / the switch renamed.
    
    This is not a complete fix to #3411 (doesn't add a warning, and the PATH
    will only become correct once a package operation has been done), but
    avoids the pathological cases.
  8. bwrap script: allow writes to /tmp

    AltGr committed Jun 14, 2018
    Previously, `/tmp` was made a dedicated tmpfs; but that completely
    breaks running from an opam root within /tmp.
  9. Update pin doc

    rjbou committed Jun 15, 2018
  10. Fix OpamStd.split_delim

    rjbou committed Jun 11, 2018
  11. Merge pull request #3406 from hannesm/no-bin-bash

    AltGr committed Jun 15, 2018
    use #!/usr/bin/env bash instead of #!/bin/bash
  12. Merge pull request #3405 from gasche/posix-shebangs

    AltGr committed Jun 15, 2018
    Posix shebangs
  13. Preprocess patch files to patch CRLF correctly

    dra27 committed Mar 10, 2018
    The aim here is that patch files should never emit "stripping CR
    warnings", but CR endings will be left/added as necessary if the target
    file requires them.
  14. Merge pull request #3394 from rjbou/just-install-option

    AltGr committed Jun 15, 2018
    Add `--assume-built` option
  15. Merge pull request #3410 from rjbou/fix-travis

    rjbou committed Jun 15, 2018
    Travis: opam boostrap version
Commits on Jun 14, 2018
  1. Make hash function LF/CRLF-agnostic

    dra27 committed Mar 16, 2018
    Git supports (and actively uses) conversion of line endings from
    LF<->CRLF. For opam, this means that a file may have had a checksum
    computed for one line ending but when the file is checked out on another
    system it may then have the other.
    
    This process can obviously be ignored for files which are self-evidently
    binary or which are likely to be binary (based on filename - e.g. .zip,
    .tar.gz, etc.).
    
    The implementation here is very inefficient, as it would obviously be
    much better to have the two possible hashes computed over just one pass
    of the file.
Commits on Jun 13, 2018
  1. sandbox_exec.sh: use POSIX shebangs (/usr/bin/env bash) to invoke bash

    gasche committed Jun 12, 2018
    bwrap.sh, which is meant to be used for Linux systems, keeps /bin/bash.
  2. Merge pull request #3392 from OCamlPro/link-sw

    AltGr committed Jun 13, 2018
    Provide 'opam switch link SWITCH', some linked switches fixes, etc.
  3. Merge pull request #3399 from gasche/ccache-sandbox

    AltGr committed Jun 13, 2018
    if 'ccache' is installed, add its cache directory to the sandbox (rw)
Commits on Jun 12, 2018
  1. if 'ccache' is installed, add its cache directory to the sandbox (rw)

    gasche committed Jun 8, 2018
    fixes #3395
    
    This implementation ignores the CCACHE_DISABLED setting: it will add
    the cache directory (rw) even if ccache is available but disabled in
    the system. We could take this into account (there is a line of
    the --print-config output that tells whether ccache is currently
    disabled), but I thought it wasn't worth the trouble and extra script
    complexity.
  2. Merge pull request #3397 from rjbou/download_errmsg

    AltGr committed Jun 12, 2018
    Download error message
Commits on Jun 8, 2018
Commits on Jun 7, 2018
  1. Add download error message

    rjbou committed Jun 6, 2018
Commits on Jun 5, 2018
  1. Format upgrade: don't add `ocaml` dependency to `conf` packages

    AltGr committed Jun 5, 2018
    not based on their name, but on the presence of the `conf` flag.