This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 01 Apr, 2020 1 commit
  2. 30 Mar, 2020 2 commits
  3. 27 Mar, 2020 1 commit
  4. 26 Mar, 2020 2 commits
  5. 25 Mar, 2020 2 commits
  6. 24 Mar, 2020 1 commit
  7. 23 Mar, 2020 2 commits
  8. 22 Mar, 2020 5 commits
  9. 21 Mar, 2020 9 commits
  10. 20 Mar, 2020 6 commits
  11. 19 Mar, 2020 3 commits
  12. 16 Mar, 2020 6 commits
    • Oleg Grenrus's avatar
      Merge pull request #6590 from phadej/pr-6582-show-exe-path · 3642d2db
      Oleg Grenrus authored
      Installing (copy or symlink) executable message prints destination.
      3642d2db
    • Oleg Grenrus's avatar
      Merge pull request #6591 from phadej/index-state-tests · b71d3db6
      Oleg Grenrus authored
      Add Described to IndexState (incl. tests).
      b71d3db6
    • Oleg Grenrus's avatar
      Add Described to IndexState (incl. tests). · e45b013f
      Oleg Grenrus authored
      - Writing a regex to parse dates is awful.
      - Add ShortText conversions to PackageName and UnqualComponentName
      - Add mkDependency, which maintains the invariant
      - Remove VersionRangeParens - it's not preserved by parsec . pretty
        roundtrip
      - Move moree instances into Cabal-quickcheck,
        use the package in cabal-install tests
      e45b013f
    • 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
    • Lautaro Emanuel's avatar
    • 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