Gearing up for a 1.18 release
roma at ro-che.info
Tue Aug 6 10:42:42 CEST 2013
May I ask you to include haskell suite support in this release?
Haskell suite adds a new compiler flavor to Cabal, except it is not
tied to any particular compiler. Hopefully, this may be the last
compiler flavor added to Cabal.
It is already used by the haskell suite interface generator.
Here's the patch (on top of the cabal-install-1.18 branch):
I can also create a pull request if needed.
I realize that including new code just before the release is usually not
a good idea, but in this case it's very low-risk. It doesn't change the
public Cabal API. All it does from the user's perspective is introducing
a new switch (--haskell-suite), which shouldn't impact in any way users
who don't use it.
The only possible issue is during compilation. Speaking of which, I've
verified that Cabal and cabal-install build with this patch using GHC
7.6.3 and 7.0.4.
Cabal's policy is to support being built by versions of GHC that are up
to 3 years old. That would be 6.12.3, released 12 June 2010. Cabal with
the patch indeed builds on 6.12.3; however, cabal-install fails to
Warning: Falling back to topdown solver for GHC < 7.
cabal: cannot configure process-126.96.36.199. It requires directory ==1.0.*
For the dependency on directory ==1.0.* there are these packages:
directory-188.8.131.52, directory-184.108.40.206, directory-220.127.116.11, directory-18.104.22.168 and
directory-22.214.171.124. However none of them are available.
directory-126.96.36.199 was excluded because directory-188.8.131.52 was selected instead
directory-184.108.40.206 was excluded because cabal-install-1.18.0 requires directory
directory-220.127.116.11 was excluded because directory-18.104.22.168 was selected instead
directory-22.214.171.124 was excluded because cabal-install-1.18.0 requires directory
directory-126.96.36.199 was excluded because directory-188.8.131.52 was selected instead
directory-184.108.40.206 was excluded because cabal-install-1.18.0 requires directory
directory-220.127.116.11 was excluded because directory-18.104.22.168 was selected instead
directory-22.214.171.124 was excluded because cabal-install-1.18.0 requires directory
directory-126.96.36.199 was excluded because directory-188.8.131.52 was selected instead
directory-184.108.40.206 was excluded because cabal-install-1.18.0 requires directory
* Johan Tibell <johan.tibell at gmail.com> [2013-08-06 08:37:57+0200]
> Hi all,
> The sandbox functionality now works well enough that I think we should
> let it out in the wild. I've created a 1.18 release branch at
> My intention is to make any necessary bug fixes on that branch before
> the release and then merge those fixes into master once the release is
> done (i.e. using a work flow similar to
> http://nvie.com/posts/a-successful-git-branching-model/ but without
> the develop branch).
> Are there any fixes that absolutely must make it in before a 1.18
> release? Remember, this release is already long overdue and there will
> be more frequent releases in the future so lets not try to cram in
> some extra functionality and delay this release further.
> P.S. In the future I hope we can make a release every 3-6 months
> instead of the current almost yearly release cycle.
> cabal-devel mailing list
> cabal-devel at haskell.org
More information about the cabal-devel