darcs patch: Change dependency resolution algorithm. (and 4 more)

Thomas Schilling nominolo at googlemail.com
Sun Apr 13 14:28:39 EDT 2008


Sun Apr 13 15:18:07 CEST 2008  Thomas Schilling <nominolo at gmail.com>
  * Change dependency resolution algorithm.
  
  There were two reasons to do this.  Firstly, this formulation makes it
  easier to add the --constraint command line flag that adds additional
  constraints on the packages that should be used.
  
  Secondly, with the orgininal algorithm it was possible to satisfy the
  constraint "foo < 1, foo > 2" if we had two versions of package "foo"
  which each satisfy one constraint.  This patch fixes this by requiring
  the same package to satisfy both constraints (which of course is
  impossible in this case).

Sun Apr 13 15:18:39 CEST 2008  Thomas Schilling <nominolo at gmail.com>
  * Fix/Add documentation.

Sun Apr 13 15:20:02 CEST 2008  Thomas Schilling <nominolo at gmail.com>
  * Add simple test case for the dependency resolution case.  This should
  go into the test suite one day.

Sun Apr 13 20:20:42 CEST 2008  Thomas Schilling <nominolo at gmail.com>
  * Add 'readP_to_E' function that takes the longest parse.

Sun Apr 13 20:26:59 CEST 2008  Thomas Schilling <nominolo at gmail.com>
  * Fix #224.  We do not yet warn if the user specified a dependency that
  did not occur in the package (it is just silently ignored.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 10918 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/cabal-devel/attachments/20080413/c6a7edfc/attachment-0001.bin


More information about the cabal-devel mailing list