This project is mirrored from Pull mirroring updated .
  1. 07 May, 2016 1 commit
    • 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.
  2. 06 May, 2016 13 commits
  3. 05 May, 2016 2 commits
  4. 04 May, 2016 12 commits
  5. 03 May, 2016 1 commit
  6. 02 May, 2016 5 commits
  7. 30 Apr, 2016 1 commit
  8. 29 Apr, 2016 1 commit
    • Lennart Kolmodin's avatar
      Fix bugs with bash completion · 0122e821
      Lennart Kolmodin authored
      The bash completion suffers from a number of issues,
      some fix with this patch;
      With this patch we expand the path to cabal as well as its arguments.
      For example;
      ~/code/cabal configure --with-ghc=$GHC <tab><tab>
      will now work. Both ~ and the $GHC variable will be expanded.
      If there are no .cabal files, or multiple files, the script will no longer
      We still invoke cabal to get completions. If cabal detects an error and writes
      errors to STDERR, these will no longer be printed to the console. Instead we
      don't offer any completions.
  9. 28 Apr, 2016 1 commit
  10. 27 Apr, 2016 3 commits