This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 16 Mar, 2020 7 commits
    • Oleg Grenrus's avatar
      Merge pull request #6586 from phadej/more-checks-in-version-range-parser · e9b0a715
      Oleg Grenrus authored
      More checks in version range parser
      e9b0a715
    • Oleg Grenrus's avatar
      Disallow wildcards and operators when spec is old · 2afbd0e1
      Oleg Grenrus authored
      Do this already in the Parsec instance parser.
      This allows removing checks from `D.PD.Check`.
      Later this would also allow removing non-relevant
      constructors from `VersionRange`, allowing easier testing.
      
      This change causes 10% slowdown: from
      
      ```
      135768 files processed
        7350 files contained warnings
      113156 files have check warnings
           0 files failed to parse
      
      120.901201s elapsed
      117.640431s elapsed
      119.663620s elapsed
      119.454329s elapsed
      119.785214s elapsed
      ```
      
      to
      
      ```
      135768 files processed
       31912 files contained warnings
      113109 files have check warnings
           0 files failed to parse
      
      130.969593s elapsed
      132.016403s elapsed
      134.214536s elapsed
      128.753382s elapsed
      131.503804s elapsed
      ```
      
      I hope the slowdown is acceptable, and I have an idea which may mitigate
      this. I'll try out it after I done further refactorings.
      
      Note how (parser) warnings grew by a factor. There are plenty of (old)
      files on Hackage, which don't use correct cabal-version.  For that
      reason we only issue warnings, and not fail.  Quirks approach won't
      scale for these. In comparison, there are even more files
      with check warnings
      2afbd0e1
    • Oleg Grenrus's avatar
      Simplify hackage-tests · 0da170cb
      Oleg Grenrus authored
      - remove parallel code, it's complicated and doesn't speedup reliably
      - count files with warning
      - add --keep-going
      - add `clock` measurement from inside the parsec test
      0da170cb
    • Oleg Grenrus's avatar
      Merge pull request #6588 from phadej/utf8-fix · 3d93cdd7
      Oleg Grenrus authored
      Add Quirk for single invalid UTF8 file.
      3d93cdd7
    • Oleg Grenrus's avatar
      Add Quirk for single invalid UTF8 file. · e4f3a7c4
      Oleg Grenrus authored
      Partially fixes https://github.com/haskell/cabal/issues/6587
      For local files, there might be invalid UTF8; but if
      file comes from Hackage, we can assume they are valid UTF8.
      e4f3a7c4
    • Oleg Grenrus's avatar
      Merge pull request #6585 from phadej/no-monolithic · e070dba5
      Oleg Grenrus authored
      Remove MONOLITHIC build
      e070dba5
    • Oleg Grenrus's avatar
      Remove MONOLITHIC build · 701071ee
      Oleg Grenrus authored
      701071ee
  2. 13 Mar, 2020 2 commits
  3. 12 Mar, 2020 1 commit
  4. 11 Mar, 2020 9 commits
  5. 09 Mar, 2020 4 commits
  6. 04 Mar, 2020 8 commits
  7. 25 Feb, 2020 6 commits
  8. 24 Feb, 2020 2 commits
  9. 23 Feb, 2020 1 commit