This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 12 Apr, 2020 1 commit
  2. 10 Apr, 2020 2 commits
  3. 09 Apr, 2020 6 commits
  4. 07 Apr, 2020 2 commits
  5. 06 Apr, 2020 2 commits
    • Oleg Grenrus's avatar
      Improve `cabal init` code a bit · 2fa83023
      Oleg Grenrus authored
      - Always ask for SPDX expression, we can "convert" them to old format
      - No default license
      - Add cabal-version: 3.0 to the list
      - cabal-version is asked using CabalSpecVersion type
      - seems to fix what #6619 tries to fix:
      
      ```
      % /code/shared-haskell/cabal/dist-newstyle/build/x86_64-linux/ghc-8.8.3/cabal-install-3.3.0.0/x/cabal/build/cabal/cabal init -l 'FOO AND BAR'
      Cannot parse license: FOO AND BAR
      CallStack (from HasCallStack):
        error, called at ./Distribution/ReadE.hs:42:24 in Cabal-3.3.0.0-inplace:Distribution.ReadE
      ```
      
      an error, but it doesn't loop.
      2fa83023
    • Oleg Grenrus's avatar
      Remove v1-sdist · 8f8b11a5
      Oleg Grenrus authored
      8f8b11a5
  6. 04 Apr, 2020 2 commits
  7. 02 Apr, 2020 2 commits
  8. 01 Apr, 2020 1 commit
  9. 30 Mar, 2020 1 commit
  10. 26 Mar, 2020 1 commit
  11. 25 Mar, 2020 1 commit
  12. 23 Mar, 2020 1 commit
  13. 22 Mar, 2020 2 commits
  14. 21 Mar, 2020 4 commits
  15. 20 Mar, 2020 1 commit
  16. 19 Mar, 2020 1 commit
  17. 16 Mar, 2020 2 commits
  18. 13 Mar, 2020 1 commit
    • Oleg Grenrus's avatar
      Add RepoName newtype · 2d0080cb
      Oleg Grenrus authored
      Make it, LocalRepo, RemoteRepo, IndexState and Timestamp use
      Pretty/Parsec instead of Text
      
      Mostly adding `unRepoName` to error printing statements
      2d0080cb
  19. 11 Mar, 2020 3 commits
  20. 09 Mar, 2020 1 commit
  21. 22 Feb, 2020 1 commit
  22. 20 Feb, 2020 1 commit
  23. 19 Feb, 2020 1 commit
    • Oleg Grenrus's avatar
      Include component name in unit-id · caa9be67
      Oleg Grenrus authored
      Only on non-Windows and non-macOS. The unit-ids become a bit longer:
      
      Changes e.g.
      
          component cabal-fmt-0.1.2-ff4d3d1e89ec09722d5bccbf9724beeddb2bd9dcd99a200ff350860e49ecb0f2
              include cabal-fmt-0.1.2-3fc69567df6c17a860b37365e18b4b35f7d2e64ffdbab5d91cd775762ae888f1
          unit cabal-fmt-0.1.2-ff4d3d1e89ec09722d5bccbf9724beeddb2bd9dcd99a200ff350860e49ecb0f2
              include cabal-fmt-0.1.2-3fc69567df6c17a860b37365e18b4b35f7d2e64ffdbab5d91cd775762ae888f1
      
      to
      
          component cabal-fmt-0.1.2-e-cabal-fmt-173382ac142508c938885649c3384b3512c441f46ff13c57cda2f345fe5f0859
              include cabal-fmt-0.1.2-l-cabal-fmt-internal-3fc69567df6c17a860b37365e18b4b35f7d2e64ffdbab5d91cd775762ae888f1
          unit cabal-fmt-0.1.2-e-cabal-fmt-173382ac142508c938885649c3384b3512c441f46ff13c57cda2f345fe5f0859
              include cabal-fmt-0.1.2-l-cabal-fmt-internal-3fc69567df6c17a860b37365e18b4b35f7d2e64ffdbab5d91cd775762ae888f1
      
      i.e.
      
          cabal-fmt-0.1.2-....
          cabal-fmt-0.1.2-....
      
      to
      
          cabal-fmt-0.1.2-e-cabal-fmt-...
          cabal-fmt-0.1.2-l-cabal-fmt-internal-...
      
      This helps debugging, especially when public multilibs will become more
      popular.
      
      Resolves https://github.com/haskell/cabal/issues/6485
      caa9be67