This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 03 Nov, 2018 5 commits
  2. 23 Oct, 2018 1 commit
  3. 15 Oct, 2018 1 commit
  4. 12 Oct, 2018 1 commit
  5. 18 Sep, 2018 1 commit
    • Oleg Grenrus's avatar
      Remove Text from D.Simple · 91b55168
      Oleg Grenrus authored
      - Add Parsec/Pretty CompilerId instances
      - Fix Parsec PackageIdentifier instance (hopefully it wasn't used for
        anything important)
      91b55168
  6. 30 Aug, 2018 1 commit
  7. 29 Aug, 2018 1 commit
  8. 07 Aug, 2018 1 commit
  9. 06 Aug, 2018 1 commit
  10. 02 Aug, 2018 1 commit
  11. 31 Jul, 2018 5 commits
  12. 29 Jul, 2018 1 commit
  13. 27 Jul, 2018 1 commit
  14. 23 Jul, 2018 1 commit
  15. 13 Jul, 2018 7 commits
  16. 09 Jul, 2018 2 commits
    • quasicomputational's avatar
      Ensure cabal check doesn't error out early on invalid globs · dcc157c6
      quasicomputational authored
      This has been a problem since #5372 began expanding globs in `cabal
      check`. Now the logic of running a glob is separated from the parsing,
      giving the caller the opportunity to handle parsing failures flexibly.
      dcc157c6
    • quasicomputational's avatar
      Make cabal check warn about missing directories in globs · 6c1342a3
      quasicomputational authored
      This also significantly improves the error when trying to refer to
      missing directories, hopefully making it clear that it's coming from
      Cabal. #5318 and snowleopard/hadrian#634 are two bugs which manifested
      as Cabal trying to glob in a non-existent directory and both took some
      debugging because of the obscurity of the error.
      6c1342a3
  17. 08 Jul, 2018 1 commit
    • quasicomputational's avatar
      Make Setup.hs configure more CWD-independent. · a31ab06a
      quasicomputational authored
      Previously, we were checking the package with a hard-coded root
      directory of ".". This was not a problem before, but with #5372 we
      have started to expand globs while checking packages, which breaks if
      the CWD is not the directory containing the `.cabal` file and causes
      snowleopard/hadrian#634.
      
      Luckily, this is an easy fix: the correct directory is easy to
      determine. Writing a test and making sure it's tickling the failing
      case took longer than writing the fix!
      
      "." is hard-coded as the root directory passed to `checkPackageFiles`
      in a few other places, but those are (a) non-trivial to test, and (b)
      already in places that have other assumptions about their CWD, so I
      have simply documented the CWD requirement for those.
      a31ab06a
  18. 28 Jun, 2018 1 commit
    • quasicomputational's avatar
      Remove matchFileGlob. · 2b7be354
      quasicomputational authored
      This was only a convenience function, but its use could obscure how it
      is introducing a dependency on the CWD. By removing it, the "."
      argument to `matchDirFileGlob` is explicit.
      
      Any external code using `matchFileGlob` would have needed to be
      changed as #5284 changed its signature and the module it lives in; it
      is not much more of a burden to switch to `matchDirFileGlob` at the
      same time.
      2b7be354
  19. 26 Jun, 2018 3 commits
  20. 25 Jun, 2018 3 commits
  21. 22 Jun, 2018 1 commit