This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 24 Jul, 2013 1 commit
  2. 10 Jun, 2013 1 commit
  3. 09 Jun, 2013 1 commit
  4. 08 Jun, 2013 1 commit
  5. 07 Jun, 2013 1 commit
  6. 05 Jun, 2013 1 commit
  7. 04 Jun, 2013 2 commits
  8. 03 Jun, 2013 1 commit
  9. 29 May, 2013 1 commit
  10. 17 May, 2013 3 commits
    • Mikhail Glushenkov's avatar
      Don't update 'cabal.sandbox.config' after 'configure -w'. · 077df38f
      Mikhail Glushenkov authored
      Use the values from 'ConfigFlags' that were read from 'dist/setup-config'
      instead.
      
      This way 'reinstallAddSourceDeps' won't reinstall deps for the wrong compiler,
      but the user will be forced to use 'install -w' when installing inside a
      sandbox. This is consistent with the normal mode of operation.
      
      Fixes #1333, in a way.
      077df38f
    • Mikhail Glushenkov's avatar
      Make newly-added add-source deps override previously installed versions. · e8742a5c
      Mikhail Glushenkov authored
      Fixes #1197.
      
      This patch is a bit large because it includes several related changes:
      
      1) Remove 'installUseSandbox' from 'InstallFlags' and pass 'useSandbox' as an
      additional argument instead.
      
      2) Instead of calling 'reinstallAddSourceDeps' from 'installAction', always pass
      'SandboxPackageInfo' to 'install'.
      
      3) Set the timestamps of newly-added add-source deps to 0 in the timestamp file.
      
      4) Move the timestamp file update to 'postInstallActions' from
      'withModifiedDeps'. This way, the timestamps are updated even when the user runs
      'install --only-dependencies' or 'install some-add-source-dep-package-id'.
      e8742a5c
    • Mikhail Glushenkov's avatar
  11. 16 May, 2013 1 commit
    • Mikhail Glushenkov's avatar
      Instead of pruning, make an install plan for the whole environment. · 99dc4056
      Mikhail Glushenkov authored
      Previously, we used a hack for reinstalling reverse dependencies: we created an
      install plan for the sandboxed package and the modified add-source deps and then
      pruned the sandboxed package from it. This missed those revdeps that the
      sandboxed package didn't depend on and also broke the sandboxed package if it
      was installed in the sandboxed package DB (see #1229).
      
      This commit replaces that hack with a more principled approach: we create a plan
      for the whole environment (all packages installed in the sandbox), constraining
      the modified add-source deps to be reinstalled and the already installed
      packages to be preferably not.
      
      Fixes #1229.
      99dc4056
  12. 15 May, 2013 1 commit
  13. 13 May, 2013 2 commits
  14. 09 May, 2013 1 commit
  15. 06 May, 2013 1 commit
  16. 05 May, 2013 1 commit
  17. 04 May, 2013 1 commit
  18. 03 May, 2013 1 commit
  19. 02 May, 2013 3 commits
  20. 30 Apr, 2013 2 commits
  21. 29 Apr, 2013 5 commits
  22. 28 Apr, 2013 4 commits
  23. 27 Apr, 2013 4 commits