patch applied (cabal-install): Make cabal upload/check print out the error messages reported by the server

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Jun 4 14:08:07 EDT 2009


Thu Jun  4 05:48:36 PDT 2009  Duncan Coutts <duncan at haskell.org>
  * Make cabal upload/check print out the error messages reported by the server
  The code to do it was already there but we were checking for the
  mime type text/plain using just (==) when in fact the server reports  
    text/plain; charset="ISO-8859-1"
  so we have to parse the field a bit better (still a bit of a hack).

    M ./Distribution/Client/Upload.hs -4 +6

View patch online:
http://darcs.haskell.org/cabal-install/_darcs/patches/20090604124836-adfee-bbacf656f59f8ffb980fed2d1b6d7ffe2921ee4e.gz



More information about the cabal-devel mailing list