[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    [Haskell-cafe] [ANN] cabal-bounds: A command line program for managing the bounds/versions of the de
From:       Daniel Trstenjak <daniel.trstenjak () gmail ! com>
Date:       2014-02-23 17:47:12
Message-ID: 20140223174712.GA16080 () machine
[Download RAW message or body]


Hi all,

If you have several cabalized projects, then it can be quite time consuming to keep \
the bounds of your dependencies up to date. Especially if you're following the \
package versioning policy, then you want to raise your upper bounds from time to \
time, to allow the building with newer versions of the dependencies.

`cabal-bounds` tries to automate this update process to some degree. So a typical \
update process might look like:

    $> # update the version infos of all libraries
    $> cabal update

    $> # drops the upper bound of all dependencies in 'myproject.cabal', most likely \
you want to ignore 'base'  $> cabal-bounds drop --upper --ignore=base myproject.cabal

    $> # create a cabal sandbox for building of 'myproject'
    $> cabal sandbox init
      
    $> # build 'myproject'
    $> cabal install

    $> # update the upper bound of all dependencies in 'myproject.cabal' by the cabal \
build information  $> cabal-bounds update --upper --ignore=base myproject.cabal \
dist/dist-sandbox-*/setup-config


Perhaps the currently most annoying thing is, that you have to live with the \
reformating of your `cabal` file done by the pretty printer of the `Cabal` library.

https://github.com/dan-t/cabal-bounds


Greetings,
Daniel
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic