This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 08 May, 2016 5 commits
  2. 07 May, 2016 2 commits
    • Duncan Coutts's avatar
    • Duncan Coutts's avatar
      Report process output decoding errors in context · cc35a48a
      Duncan Coutts authored
      It turns out that in rawSystemStdInOut any IO errors, including text
      decoding, occurring while collecting the output (stderr or stdout) do
      not get reported immediately, but only later if/when the output is
      consumed. This is because the exceptions happened in the threads forked
      to force the output, but if the main thread looks at the output later
      then the exception is reported again.
      
      This leads to very confusing results. In particular we had a case where
      the configure process did not fail until writing out the LocalBuildInfo
      because that was the first point that forced the output. So the distance
      from when the exception really occurred and the fact that the exception
      message does not include the name of the program run means that this is
      then a pain to track down.
      
      This patch makes sure that any exceptions arising from forcing the
      program output occur immediately and with an error message that includes
      the name of the program in question.
      cc35a48a
  3. 06 May, 2016 1 commit
    • randen's avatar
      Add Verbose-level logging of the haddock response-file · 3579e749
      randen authored
      contents. Prior to the response file code, all of these
      details of the command line for haddock would have been
      logged (with level == Verbose), so this corrects an oversight
      and brings the information in the logging back to what it
      used to be for cabal's haddock invocations.
      
      * Cabal/Distribution/Simple/Haddock.hs
        * Restore the logging of the entire command line used when
          invoking haddock to what it used to be prior to adding
          the response-file creation.
      
      (cherry picked from commit 28bea0d7)
      3579e749
  4. 04 May, 2016 1 commit
  5. 25 Apr, 2016 1 commit
  6. 19 Apr, 2016 1 commit
  7. 14 Apr, 2016 1 commit
  8. 12 Apr, 2016 14 commits
  9. 10 Apr, 2016 1 commit
  10. 08 Apr, 2016 11 commits
  11. 05 Apr, 2016 1 commit
  12. 01 Apr, 2016 1 commit