Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: OCamlPro/opam
base: 377425a98d
...
head fork: OCamlPro/opam
compare: 0.9.6
This comparison is big! We’re only showing the most recent 250 commits
Commits on Jan 30, 2013
@samoht samoht Remove duplicated code 58877cb
@samoht samoht Make compiler updates more robust 6c6a8d2
Commits on Feb 01, 2013
@samoht samoht Improvement to the solver heuristics
This should fix #415
8a6f9af
@samoht samoht Bump trunk version number 1b46b99
@samoht samoht Revert version bump 5f104d8
@samoht samoht Fix solver exn 3fb1a97
@samoht samoht Bump version again 60dc8ae
Commits on Feb 03, 2013
@samoht samoht Marshal the list of packages and descriptions on each update in order…
… to speed-up opam invocations.
770e32f
@samoht samoht Fix 'opam update' when a package suddendly become unavailable d6827fc
Commits on Feb 04, 2013
@oandrieu oandrieu check for camlp4 presence and version in configure
fixes issue #431
fddb3fe
@samoht samoht Do not remove the lock when it has not been locked 55420a8
@samoht samoht Merge branch 'issue/431' of git://github.com/oandrieu/opam 7d522fa
@samoht samoht Update generated configure file ea7b252
@avsm avsm autoconf: More helpful error message to indicate how to possibly fix …
…the camlp4 missing problem
61beca1
@avsm avsm remove caml4boot from the test, as its not used and sometimes (on Deb…
…ian?) not installed.
1465af9
@avsm avsm regenerate autoconf from 1465af9 b90ba46
@samoht samoht Merge pull request #433 from avsm/master
autoconf fixes for 3.12.1
3058a8e
@samoht samoht Expose Cudf.string_of_packages ed692c7
@samoht samoht Fix the solver when newer packages have bigger deps than old ones. 7017548
@samoht samoht Update CHANGES f90c18e
@samoht samoht Merge branch 'master' of github.com:OCamlPro/opam 5ce274b
@samoht samoht Remove unused variable 10cec9f
@oandrieu oandrieu truncate `opam list' output w.r.t. the size of the current terminal
Terminal size is determined using the `tput' or `stty' external commands.
No truncation when stdout is not a terminal (ie redirected to a file).
848d2f7
@samoht samoht Merge pull request #436 from oandrieu/truncate-terminal-output
truncate `opam list` output w.r.t. the size of the current terminal
ed79e55
Commits on Feb 05, 2013
@samoht samoht Fix embarrasing #439 4f6495d
@samoht samoht Fix typo c29509a
@samoht samoht Remove duplicated message about cached metadata on 'opam init'. c8ea767
@samoht samoht Speed-up 'opam update'. 213e168
@samoht samoht Add a better error message in case of cyclic dependencies.
This should help debugging issues like #438
932e6b8
@samoht samoht Fix a nasty bug in the solver with possible cyclic dependencies (this…
… should fix #438)
5bdb6d6
@samoht samoht More generic fix to #438 ec2f8b7
@samoht samoht Again a more generic fix for #438
now:
1/ we discard packages with cyclic dependencies
2/ we only keep the package P_k (name = P, version = k) iff reverse-deps(P_k) = U reverse-deps(P_j) for all other version j of P.
efc9dc2
Commits on Feb 06, 2013
@samoht samoht Improve messages on update 380af12
@samoht samoht Improve the detection of cyclic dependencies.
This should improve 932e6b8
ea5a4e3
@samoht samoht Better error messages when something goes wrong in OpamFilename 0ad722a
@samoht samoht copy_dir actually does something different than its name could let th…
…ink of: rename into copy_unique_dir and add a real copy_dir function
b690520
@samoht samoht Fix #440 6239c1c
@samoht samoht Update CHANGES b857ef8
@samoht samoht Fix #435
For pinned packages, 'opam reinstall <pkg>` is now a shortcut to 'opam upgrade <pkg> && opam update <pkg>`.
990d558
@samoht samoht Fix unit-tests.
The cache handling is quite sensitive to change, need to put some big flashing warning around this I guess ...
6e8c165
@samoht samoht Improving again the messages on 'opam update' deeddb3
@samoht samoht Add unit-test for complex os filters e68121e
@samoht samoht Fix parsing of complex os constraints 00c0dc7
@diml diml Fix OpamFormula.eval 967e20f
@samoht samoht Don't remove installed roots on upgrade ... b16b5a3
@samoht samoht Consistant naming of dependencies / reverse-dependencies 6746877
@samoht samoht Try to improve partial upgrade 25a1b71
@samoht samoht Merge pull request #442 from diml/master
Fix OpamFormula.eval
ee25816
Commits on Feb 07, 2013
@avsm avsm update CHANGES to be more changelog friendly 687127b
@samoht samoht Fix <git-path>#<revision> scheme when the revision is a tag (it was o…
…nly working with SHA1 of commits).
6a2c32e
@samoht samoht Merge pull request #444 from avsm/master
fix changes for ocl-reporter
fbeb1ba
@samoht samoht Fix #405
We now uninstall all the packages before starting the installation process.

This means that we must be very carefull when error arise, or the user will be let in a state where everything is broken. I think I found some bugs in the previous attempt to recover from errors, so we are now much more conservative (and hopefully safer). The rule now is:
* try to install most of the packages (ie. a package is installed if none of its dependencies have an error)
* on error, try to install the previous version of the package. If it's not possible, do nothing. Ideally, we should run the solver again to find a consistent solution without the eror package but I guess it's a bit overkill.
b334ef8
@samoht samoht Merge branch 'master' of github.com:OCamlPro/opam 637394a
Commits on Feb 08, 2013
@samoht samoht Improve OpamAction API to make clearer when metadata is updated or not.
Improve the display of 'opam install' as well.
4da38a8
@avsm avsm typo in CHANGES 594b1db
@samoht samoht Merge pull request #445 from avsm/master
another typo in changes
3e11532
Commits on Feb 12, 2013
@chambart chambart Update bash completion 971e3e9
@samoht samoht Merge pull request #453 from chambart/master
Update bash completion
5dbc9dc
@OCamlPro-Bozman OCamlPro-Bozman Update zsh completion script f846a3b
@samoht samoht Merge pull request #454 from cago/master
Update zsh completion
2c59a2a
@avsm avsm update jenkins 4e06a52
@avsm avsm jenkins: libglade 169e102
@avsm avsm jenkins: lzo 3183162
Commits on Feb 13, 2013
@avsm avsm jenkins: milter 9f57fed
@samoht samoht Merge pull request #458 from avsm/master
jenkins update
db928b2
@avsm avsm jenkins: manual libsrs install (deb missing from wheezy) f82e73a
@avsm avsm Merge branch 'master' of github.com:avsm/opam 4c67054
@samoht samoht Merge pull request #460 from avsm/master
jenkins: srs
d558357
@avsm avsm jenkins: oqamldebug 3adba84
@avsm avsm jenkins: spf e78742a
@samoht samoht Rebuild the metadata cache when adding/removing/changing the priority…
… of repositories.
d11b28a
@samoht samoht Do not fail badly if opam-lib is not in list of available packages. 6a54731
@samoht samoht Fix both #463 and #446
The error messages are now much clearer:
* in case of a dependency is not available due to compiler/OS constraints
* in case the request deals with non-existing package/version
8d9676f
@samoht samoht Merge pull request #462 from avsm/master
jenkins: oqamldebug
b167db2
@samoht samoht Merge branch 'master' of github.com:OCamlPro/opam b384ec6
@samoht samoht Fix #455
We now have a more precise OPAM and OS versions in error messages
136bc9b
@samoht samoht Fix infinite loop introduced in the last commit 28bc173
@samoht samoht Rename OpamGlobals.default_switch and OpamCompiler.default to system …
…(as this is the name of the string anyway).
17dfdbf
@samoht samoht Add a way to specify system compiler constraints.
The syntax is:

ocaml-version: [ !system ]
ocaml-version: [ "3.12.1" || system ]

Fix #461
e7c3f4a
@samoht samoht Update CHANGES c898594
Commits on Feb 14, 2013
@samoht samoht Fix build (I've updated the .ml instead of the .ml.in ...) 248e2d7
Commits on Feb 15, 2013
@dbuenzli dbuenzli Make judicious use of U+1F42B if env variable $OPAMUTF8MSGS is set. bb98a39
@samoht samoht Merge pull request #400 from dbuenzli/bactrian-log
Make judicious use of U+1F42B on darwin.
2a64f59
@samoht samoht Remove a wrong assertion 10cc5bf
@samoht samoht Merge branch 'master' of github.com:OCamlPro/opam dd282cb
@samoht samoht Fix indentation (no semantic changes) 9c998e9
@samoht samoht Tentative fix for #449
Use this as an excuse to clean-up this part of the code which has not been visited since a very long time.
2707d42
Commits on Feb 17, 2013
@samoht samoht Trim the universe before computing brute force heuristics.
Remark: we don't trim it before as it is useful to have a full universe to better report error messages.
235db72
@samoht samoht Fix duplication of error messages in case of conflicts (see #474) 1fc6a55
@samoht samoht Add a function to keep only installable packages 0cbf9be
@samoht samoht In opam list, only display the installable packages.
This fixes #474
577cd43
@samoht samoht Merge branch 'master' into HEAD e15ab3b
@samoht samoht Bump version 2849c57
@samoht samoht Fix #473 and #469
Now:

    opam info foo.version

will display the metadata associated to this given version
9946daa
@samoht samoht Update CHANGES 99dffca
Commits on Feb 18, 2013
@samoht samoht Fix typo in 'opam info' 81fd826
@samoht samoht Display dependencies and optional dependencies in 'opam info' a7be340
@samoht samoht Improve the error message when trying to upgrade a pinned package. 2951785
@samoht samoht Update CHANGES 1829176
@samoht samoht Fix partial upgrade.
Now:

    opam upgrade foo bar

Will only upgrade foo and bar (and the necessary dependencies).

Also simplify *a lot* the management of packages to be reinstalled: this is now always done when we add/remove packages, in the same way the installed and installed.roots file are managed. This should make the whole process much more robust (especially in case of errors).
950aa2a
@samoht samoht First draft of external dependency handling d327f7d
@samoht samoht Clean-up the handling of tags in OPAM files.
For the user, the main change is the move from 'ext-deps' to
'depexts'. This is not very nice, but at least it stays consistent
with 'depopts'. But maybe the good move it to rename depopts to
opt-detps ...
b0ea893
@samoht samoht Plug a query system to the external dependency tags.
Now: 'opam install <query> --external=<comma-separated-list-of-tags>'

will look for all the packages which need to be installed by the query
and return all the values associated to the tags which are subsets of
the given list of tags.

For instance, if we have: packages/foo.v/opam

   depexts: [
     [ "debian"          "foo"]
     [["debian" "amd64"] "bar"]
     [ "amd64"           ["toto" "titi"]
   ]

Then:

   opam install foo.v --external=debian,amd64  # return: bar
   opam install foo.v --external=debian        # return: foo bar
   opam install foo.v --external=amd64         # return: bar toto titi

Remark: the tags and their values are unordered.

Hopelfully this system will be flexible enough to fix part of the
external dependencies problem (it will at least help opamalot).
a26c1c9
@samoht samoht Try to keep the metadata consistent when saving them to disk. 9fd9436
@samoht samoht Update CHANGES 2a9c0dd
Commits on Feb 19, 2013
@samoht samoht Change the way we detect existing commands
`which` seems not very portable, so use `type` instead, because "type is standardized in POSIX" (thx @dbuenzli).

This should fix #471 and improve the BSD support.
e157b5f
@samoht samoht Update CHANGES 850d5d7
@adegroote adegroote teach opamGlobal and opamSystem.patch about NetBSD and DragonFlyBSD c67a2a3
@samoht samoht Revert "Change the way we detect existing commands"
This reverts commit e157b5f.
7144cea
@samoht samoht Merge pull request #480 from adegroote/more_bsd_support
Teach opamGlobal and opamSystem.patch about NetBSD and DragonFlyBSD
af597a5
@samoht samoht Improve the API. There are still some global state (the main one bein…
…g the filesystem -- it will be quite hard to abstract other it I'm afraid) but it's now easier to do all of the action available on the command-line using the API.

An example:

   let pkgs = OpamPackage.Name.Set.of_list [OpamPackage.Name.of_string "core"] in
   OpamClient.API.install pkgs

The message are still displayed on stdout/stderr so that could be a bit awkward.
cbe3ae2
@samoht samoht Merge branch 'master' of github.com:OCamlPro/opam 8a1ad9c
@samoht samoht Update the HTML docs 24d4d9c
@samoht samoht Update the man pages d4bc545
@samoht samoht Update the tutorials c3944a6
@samoht samoht New tentative fix for #471 (woud be easier with a test machine) e283616
@samoht samoht Remove 'opam remote' as it is replaced by 'opam repository' since 0.9.0
Remark: if you find 'repository' too long, you can use 'opam repo' instead (as cmdliner looks for matching commands with the same prefix)
40ef748
Commits on Feb 20, 2013
@samoht samoht Fix #471 6005519
@samoht samoht Update dev-manual
This should fix #468
d6ee4c2
@samoht samoht Refactoring f621715
@samoht samoht Reindent (no other changes) 432ac5d
@samoht samoht Add a 'tags' field in OPAM files.
This should help resolving part of #483
cd71361
@samoht samoht Add (very basic) man pages for opam-mk-repo and opam-check
This should fix #432
3ee3b73
@samoht samoht Update to latest version of ocp-build 11adfc6
@samoht samoht Fix copy/paste error (thx to @dbuenzli) e606cae
@samoht samoht The new ocp-build works well on cygwin, so OPAM will compile fine there. 8b1e3c1
Commits on Feb 21, 2013
@samoht samoht Add missing file to boostrap with ocp-build (regression introduced in 1… 4d00276
@samoht samoht Make 'opam config var switch' print the current switch
This can be useful when substituting variables in .opam files.
5ee67b2
@samoht samoht Fix #360
OPAM now fails if curl returns an error (it should already work properly when using wget).

It will also help fixing #452 and #467
f2ee0ec
@samoht samoht Add more logging to help debugging #479 2d887f5
@samoht samoht Fix #467
Now both curl and wget tries to download 10 time an archive before giving up.

(and remove a wrong debug statement ...)
08620e1
@samoht samoht First step towards a better handling of root packages (#470)
So now:

    'opam install <pkg>'

add <pkg> to the list of root packages even if <pkg> is already installed.
aa8e517
@samoht samoht Fix auto-detection of repository kind when using <git/repo/>#commit
The is related to #488
8c0a4b0
@samoht samoht Fix #488
It is now possible to add a given branch of a remote repository

    opam repository add genet-dev http://github.com/zoggy/opam-repository.git#genet
242f081
@samoht samoht Fix #470
Add an option to enable --autoremove when removing packages (by default it's off). You can also enable it by setting OPAMAUTOREMOVE.

The semantics is the following:

* `opam remove <pkg>` will simply remove the package
* `opam remove <pkg> -a` will remove the package and its dependencies
* `opam remove -a` will remove all the packages which have not been explicitely installed

(note: you can do `opam install <pkg>` to an already installed package to make it become a 'root' package which will not be uninstalled using `-a`).
a0afe3e
@samoht samoht Update CHANGES d635e4d
@avsm avsm let `make distclean` work idempotently
The `Makefile.config` include can be conditional.
66cb17b
Commits on Feb 22, 2013
@samoht samoht Merge pull request #490 from avsm/master
fix repeated make distclean
b13eb88
Commits on Feb 23, 2013
@avsm avsm jenkins: add system libs for new liquidsoap 946c06a
@avsm avsm Merge branch 'master' of github.com:avsm/opam d2ac7d5
@avsm avsm Merge pull request #494 from avsm/master
jenkins updates for liquidsoap
f225569
@avsm avsm Revert "Remove 'opam remote' as it is replaced by 'opam repository' s…
…ince 0.9.0"

This reverts commit 40ef748.
525c598
@samoht samoht Merge pull request #495 from avsm/revert_remote
Revert "Remove 'opam remote'
372db4b
Commits on Feb 26, 2013
@samoht samoht Uninstall dependencies in the right order.
This should fix #491
b55d81f
@samoht samoht Fix #492
don't break badly if the system compiler suddenly disapears from the path.
434ae1a
@samoht samoht From now on, the only reason to recompile a package becomes "it has c…
…hanged upstream"

This means we do nothing if the 'opam' file has changed, which means: we can now modify 'opam' files without fear (eg. we can add more metadata when we need it).

This should fix #497
5e76bc9
@samoht samoht Fix #394
Better error message when no OCaml compiler is available on init.
6187f7e
@samoht samoht Quiet the Makefile when compiling OPAM from a source archive 64c22c5
@samoht samoht Bump trunk version number f7e8ddd
@samoht samoht Fix compilation from source archives when using already-installed pac…
…kages.
d67a12d
Commits on Feb 27, 2013
@adegroote adegroote /bin/bash is not available on all systems
Use /bin/sh instead, and rewrite shell script to remove bashim.
c3d2182
@adegroote adegroote Improve the portability of the tar rules
tar is a strange beast. Try to make a more portable rule.
The default on BSD is to write on /dev/rst0 while Linux seems to write
on stdout.

One other possible solution is
	tar czf - $* > $*.tar.gz
b9ae325
@adegroote adegroote Simplify the packages rule
With the previous rule, gmake never matches properly the rules. Don't
know if it is a NetBSD issue or a gmake regression. Nevermind, I think
the new rules is correct enough.
37a9d58
@samoht samoht Merge pull request #499 from adegroote/portability_tests
Improve the portability of code used in tests
7e47f6d
@samoht samoht Better detection of git/non-git repository.
Fix #498
fb6b37a
@samoht samoht Update ocp files for dependencies 99cd873
@samoht samoht Automatically update ~/.ocamlinit on init.
This should fix #185
a703257
@samoht samoht Update CHANGES 6b4af98
Commits on Feb 28, 2013
@samoht samoht Stop yelling when OPAM is not up-to-date. Now OPAM is (almost) stable…
…, this is no so important.
8e86945
@samoht samoht Update CHANGES 3b92bfc
Commits on Mar 01, 2013
@samoht samoht Define the shell 'opam-switch-eval' function to switch and eval 062b2de
@samoht samoht Fix auto-completion scripts 005ba0d
@samoht samoht Get ride of `eval` in some cases and start configuring OPAM globally.
This is still quite experimental, I need some feedback on that.

This is linked to #306 and #482
d5d9ccb
@samoht samoht Add missing file f73f703
Commits on Mar 04, 2013
@samoht samoht More work on the global configuration feature.
* rename `opam config install` to `opam config global`
* add `opam config global --info` to display the current configuration
* add
* add `opam init --no-config` to tell OPAM to *NOT* modify the global user configuration
e25a9c9
Commits on Mar 05, 2013
@samoht samoht More consistency to the global and user configuration setup.
* rename (again) the option to become: `opam config setup`
* split the options into the user ones (~/.ocamlinit, ~/.profile) and the global ones (load auto-completion and opam-switch-eval)
* meta options: `opam config setup --all`, `opam config setup --global` and `opam config --user`
3acce65
@samoht samoht * better error message when ~/.profile has already been updated by a …
…different OPAM root

* add --dot-profile to `opam init` to select the default config file to update (default is ~/.profile)
* rename config options for `opam init` for setup: `--no-setup` and `--auto-setup`. Default behavior is asking the user.
7d184c9
@samoht samoht `opam init --dot-profile=FILE` should pick as default config file giv…
…en the one given by the user.
4908e07
@samoht samoht Update CHANGES 0d2fe38
@samoht samoht Fix message 8fde89f
@samoht samoht Improve the documentation for `opam init` and `opam config setup` c1e1a8c
@samoht samoht Fix initialisation of ~/.profile 931f3be
@samoht samoht Shorten some message displayed to the user 136b300
@samoht samoht The new repositories should always have the highest priority
Fix #506
26b056b
@rdicosmo rdicosmo Changed default OPAMCRITERIA to a more sensible one for opam 925b021
@samoht samoht Better error message when trying to upgrade a non-existing repository…
… / a non-pinned package.

Fix #507

Also improve the behavior of update of pinned packages: in this case it is neither necessary to run a full repository update and to rebuild the global cache so don't do it.
664ff39
@samoht samoht Merge branch 'master' of github.com:OCamlPro/opam 20be980
@samoht samoht Update CHANGES a19ff81
@samoht samoht Better error message when a directory cannot be removed.
Fix #508
26c7480
@samoht samoht Be more robust when loading the cache file.
This should avoid embarassing segfaults when the file is corrupted.

This probably fixes #505
0bfc6f4
@samoht samoht Run the tests with changing the global config. d7a5e2c
@samoht samoht Use List.rev_map instead of List.map when needed. a7ec825
@samoht samoht Simplify README
Add a small paragraph explaining how to upgrade (basically you don't have to do anything).

Fix #504
6b6a0bd
@samoht samoht Fix typos in README 51b063f
@samoht samoht More README tweaks 9178645
@samoht samoht More README tweaks
(shameless inspiration from the very good https://github.com/twitter/bootstrap/blob/master/README.md)
6cd85ba
@samoht samoht try to add a linebreak in the README 62e0a3a
@samoht samoht A less egocentric presentation in the README ca14f6f
@samoht samoht More portable Makefile
Fix #512 (thx to @avsm)
1e6ab00
@samoht samoht POSIX or not POSIX that is the question.
(thx to @avsm again)
3dba848
Commits on Mar 06, 2013
@samoht samoht Fix documentation e4eedab
@samoht samoht Add a way to execute a command in a subshell with the environment ass…
…ociated to a given shell.

For instance:

    opam config exec "ocamlfind query lwt" --switch=3.12.1

Fix #513
d4c6fa2
@samoht samoht Update CHANGES b377a7d
Commits on Mar 07, 2013
@samoht samoht Improve the update code 5f798dc
@samoht samoht Clean-up some code related to user & global configuration.
Now, we install the init scripts for all the different shells and the user choose which one he wants to load. I'm sure distros deal with that in a much better way, but well ... This at least let us to export the variables and hence read them n in subshells (such as the OCaml toplevel).

Fix #515
793856d
@samoht samoht Clean up the cache of metadata when upgrading OPAM. b0f5d78
@samoht samoht Don't forget to close openend channels (not really a problem here, bu…
…t that's cleaner)
4bb5869
@samoht samoht Fix 'opam config setup -l' when ~/.ocamlinit does not exist d91620d
@samoht samoht Scan for all `XXX/$package.$version/opam` files in a repository under…
…s packages/ (eg. don't stop at the first level).

This let people organize their repository as they want (by package name, by organisation, prefix, etc)

This is part of #483
6dfbc30
@samoht samoht Really fix `opam config setup -l` b14e9a0
@samoht samoht Really look for packages/XXX/.../YYY/$name.$version/opam
Which new means that XXX and YYY can contain '.'. Also, if a package appear multiple times in the repository (because of symlinks for instance) that should just pick the latest it see while it is scanning the tree.
1f042d2
@samoht samoht Compiler descriptions can be in subdirectories as well.
compilers/XXX/.../YYY/xxx.{comp,descr}

This means that we can now start sorting the 'official' compiler against the other ones.

Fix #483
0a5b756
@samoht samoht Add tags to compiler descriptions cea326e
Commits on Mar 08, 2013
@samoht samoht Add a --git-version option to opam (to display the git version it has…
… been compiled with)
0af8a58
@samoht samoht Add ocamlbuild rules to build and install OPAM. 3d9ad42
@samoht samoht Install lexers and parsers as well. 62e9a0b
@samoht samoht Also compile the scripts with ocamlbuild, and add a install-with-ocam…
…lbuild target to ease the life of packagers.
4b204b8
@samoht samoht Fix clean target 29c926e
@samoht samoht Better error message when you forget to run ./configure 782ca5a
@samoht samoht 'opam --version' was creating ~/.opam/log and thus subsequent opam co…
…mmands were failing with a non very helpful message about ~/.opam/config not existing.
210293d
@samoht samoht Cleaner error message when ~/.opam exists but not ~/.opam/config 590fed5
@samoht samoht Better error message on checksum errors cff02a6
@samoht samoht Update CHANGES 96cc89f
@samoht samoht Remove the prefix file when no more packages have a prefix 9fb2961
@samoht samoht Apply patches and substitute files before removing a package.
Fix #518
7136124
@samoht samoht Update CHANGES 9691852
@samoht samoht Update CHANGES for the release 295c1d9
@samoht samoht Bump trunk version number 86a692f
Commits on Mar 10, 2013
@samoht samoht Fix deletion on invalid symlinks.
It seems that Sys.file_exists returns false if a symbolic link exists but is broken. To avoid this, we also use Unix.lstat to be completely sure.

Fix #520
db5129d
Commits on Mar 11, 2013
@samoht samoht Fix user-configuration in case of syntax error (for instance when ~/.…
…profile is run by dash)
93cf842
@samoht samoht Update CHANGES 9ea1ad9
@samoht samoht Quiet OPAM init scripts (thx to @cago) 8ca0faa
@samoht samoht Propose to update ~/.profile if it does not exist e607943
@samoht samoht Fix update of ~/.profile to source the right ~/.opam/opam-init/init.{…
…sh,csh,zsh} or not.
120f9a8
@samoht samoht Fix the message after opam-init to source right init script (sh/csh/zsh) 2f52b75
@samoht samoht Update the documentation for --global 3c8c6e4
@samoht samoht Expand ~ in filename strings
This fixes `opam config setup --dot-profile=~/.bashrc`

Remark: this was already working fine if you do `opam config setup --dot-profile ~/.bashrc` (as this was shell-expanded)
de77416
@samoht samoht Uddate CHANGES e45bbb0
@avsm avsm make the git stamp more robust against not having any local annotated…
… tags. Now any failure results in a valid file for the version
ec5d549
@samoht samoht Improve error message in case of checksums on 'opam init' df9eb37
@samoht samoht Update doc API 4c111a9
@samoht samoht Update man pages 9c99b45
@samoht samoht Fix silly regression introduced in de77416 6324e18
@samoht samoht Add a 'release' target to facilitate releases c1d1c08
@samoht samoht Fix release target 4f3faee
@samoht samoht Merge pull request #521 from avsm/master
make the build more robust to git failure
d951a2b
@samoht samoht Merge branch 'master' of github.com:OCamlPro/opam 8e4c406
@samoht samoht Update the release/upload targets ddf25e2
@avsm avsm add new jenkins files f8a7c00
@avsm avsm Merge branch 'master' of git://github.com/OCamlPro/opam 8f47402
@avsm avsm Merge pull request #523 from avsm/master
jenkis updates
ecd7155
Commits on Mar 12, 2013
@AltGr AltGr Added a check for interactivity before shell completion initialization c56cf5e
@AltGr AltGr Using .zshrc instead of .profile for zsh users 701b658
@samoht samoht Merge pull request #526 from AltGr/master
Fixed shell integration with some setups (.profile loaded early, zsh...)
4c636ab
@samoht samoht Fix #527 20d3465
@samoht samoht Merge branch 'master' of github.com:OCamlPro/opam 7c4867b
@samoht samoht Fix release target a04b5ac
@samoht samoht Update CHANGES 4868531
@samoht samoht Fix the creation of the full archive 8d83b00
@samoht samoht Fix #529
'cp -a' is not standard
b015620