This project is mirrored from Pull mirroring updated .
  1. 06 Jun, 2008 3 commits
  2. 05 Jun, 2008 1 commit
  3. 04 Jun, 2008 3 commits
  4. 03 Jun, 2008 10 commits
  5. 02 Jun, 2008 6 commits
    • Duncan Coutts's avatar
    • Duncan Coutts's avatar
      Change the DependencyResolver type to take a per-package version pref · df953acf
      Duncan Coutts authored
      And add a few global package version pref policies and use them in
      ordinary install and upgrade. For install we use a policy that says
      that we prefer the latest version of a package that we specifically
      request and prefer the installed version of any other package. For
      upgrade we simple always prefer the latest version. One can imageine
      other policies where we prefer the latest version for only some
      interesting subset of packages and installed otherwise.
      No resolvers actually make use of this preference yet.
    • Duncan Coutts's avatar
      Fix improvePlan so the index is updated incrementally · df947224
      Duncan Coutts authored
      It's important since later packages can depend on earlier ones having
      been changed from configured to pre-existing. That is afterall the
      whole point of considering them in reverse toplogical order.
      Also, remove duplicates in the dependencies list of installed
      packages since ghc-pkg does not currently prevent duplicates in (eg
      multiple depends on the same version of base). See ghc bug #2230.
    • Duncan Coutts's avatar
      Support top level dependency version constraints · 6835d7f6
      Duncan Coutts authored
      and error messages for when they're unsatisfiable or conflict
    • Saizan's avatar
      Fix bug in passing the verbosity value when re-executing cabal · 8c63bd1a
      Saizan authored
      It was passing the value as another argument, distinct from the flag.
    • Duncan Coutts's avatar
      Implement plan improvement · e3f09219
      Duncan Coutts authored
      The idea is to improve the plan by swapping a configured package for
      an equivalent installed one. For a particular package the condition
      is that the package be in a configured state, that a the same version
      be already installed with the exact same dependencies and all the
      packages in the plan that it depends on are in the installed state.
  6. 30 May, 2008 4 commits
  7. 29 May, 2008 3 commits
  8. 28 May, 2008 2 commits
    • Duncan Coutts's avatar
      First version of the top-down package dependency resolver · bc07102a
      Duncan Coutts authored
      This is a new dependency resolver that produces valid install plans.
      It works in polynomial time however because the search space is 
      exponential in size it is not guaranteed to find a solution even if
      one exists. It works by generating and then exploring the search
      space represented as a lazy tree. It uses constraints to prune
      choices and heuristics when guesses are necessary. Currently it can
      generate install plans for 99% of the packages on hackage. The
      remaining 6 packages should be doable with two extra tricks.
      It is not finished and is not yet usable in practice.
    • Duncan Coutts's avatar
  9. 21 May, 2008 2 commits
  10. 16 May, 2008 1 commit
  11. 12 May, 2008 1 commit
  12. 10 May, 2008 4 commits