This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 18 May, 2020 1 commit
  2. 15 May, 2020 1 commit
    • Oleg Grenrus's avatar
      Resolve #6683: Make cabal list patterns be regular expressions (regex-posix) · 6a01fb14
      Oleg Grenrus authored
      To get exact match you can
      
          % cabal list ^QuickCheck$ -I
          * QuickCheck
              Synopsis: Automatic testing of Haskell programs
          ...
      
      But not the prefix/suffix/regexp matching is in your power for
      searching. e.g.
      
          % cabal list ^Cabal
          * Cabal
              Synopsis: A framework for packaging Haskell software
          ...
          * cabal-install
              Synopsis: The command-line interface for Cabal and Hackage.
          ...
          and many others
      6a01fb14
  3. 13 May, 2020 1 commit
  4. 12 May, 2020 1 commit
  5. 07 May, 2020 1 commit
  6. 06 May, 2020 1 commit
    • Oleg Grenrus's avatar
      Remove sandboxes. · 6248c742
      Oleg Grenrus authored
      Removes command and cleanups cabal-testsuite.
      The tests for #3199 #4099 #3436 are removed, but they seem to be
      sandbox specific issues.
      
      Removes Sandbox.Types, Sandbox.Index and Sandbox.Timestamp modules.
      The Sandbox and Sandbox.PackageEnvironment are still
      there as some configuration in v1-commands happens through them
      (~/.cabal/config vs ./cabal.config).
      
      BuildExFlags contained only sandbox specific parameter,
      so it's removed as well.
      
      Remove sandbox support from cabal-testsuite
      Remove sandbox from GlobalFlags and Sandbox unit-tests
      6248c742
  7. 30 Apr, 2020 1 commit
  8. 24 Apr, 2020 1 commit
  9. 13 Apr, 2020 1 commit
  10. 04 Apr, 2020 1 commit
    • Matt Renaud's avatar
      Split monolithic Init.hs module into 5 sub-modules. · 9bd18b6a
      Matt Renaud authored
      Init.Command - Main cabal init logic that ties everything together.
      Init.Defaults - Default values for items not specified in config or arguments
      Init.FileCreators - All the createXyz functions which write files (LICENSE, Main.hs, etc.)
      Init.Prompt - Utilities for prompting the user for selections
      Init.Utils - Misc utilities shared across the above modules
      9bd18b6a
  11. 03 Apr, 2020 1 commit
  12. 21 Mar, 2020 2 commits
  13. 11 Mar, 2020 1 commit
  14. 21 Feb, 2020 1 commit
  15. 20 Feb, 2020 1 commit
  16. 07 Feb, 2020 1 commit
  17. 22 Dec, 2019 2 commits
    • Oleg Grenrus's avatar
      Add --ignore-project flag to v2-run · e63a7050
      Oleg Grenrus authored
      e63a7050
    • Oleg Grenrus's avatar
      Implement file+noindex:///local/repositories · a07ef252
      Oleg Grenrus authored
      Resolve #6359
      
      `preferred-versions` are left out for now.
      It shouldn't be difficult to add, but needs work nevertheless.
      
      We also allow relative paths, which kind of work,
      if you are careful.
      
      In addtition
      - change the index cache to use `Distribution.Utils.Structured`,
        making Binary instances generically derived.
      - separate Distribution.Client.HashValue into own module.
        This allows to use HashValue for hashing the part of localRepoPath
        (breaks module dependency cycle).
      
      Almost as a feature generated 01-index.cache is never updated.
      If you change the contents of the directory, you have to purge
      01-index.cache file yourself.
      a07ef252
  18. 15 Dec, 2019 1 commit
  19. 12 Dec, 2019 1 commit
  20. 11 Dec, 2019 1 commit
    • Oleg Grenrus's avatar
      Add Distribution.Utils.Structured · ae33fcf9
      Oleg Grenrus authored
      It defines `Structured` type class, which we use to prepend
      a hash to cached `Binary` blobs. Thus we can catch early, if
      format is changed, avoiding corrupt cache making cabal
      behave weirdly.
      
      Plenty types got Typeable instances, as it's a superclass of Structured
      
      This commit also introduces new compat modules:
      
      - Distribution.Compat.Typeable with typeRep
      - Distribution.Client.Compat.Orphans,
        to collect at least some orphans into central place.
      ae33fcf9
  21. 02 Dec, 2019 1 commit
  22. 30 Nov, 2019 1 commit
    • Oleg Grenrus's avatar
      Use hackage-security-0.6 · 0165f0a7
      Oleg Grenrus authored
      Also in CI setup, install hackage-repo-tool using `cabal new-install`.
      And remove slightly confusing cabal.project.travis file.
      0165f0a7
  23. 14 Nov, 2019 1 commit
  24. 02 Oct, 2019 1 commit
  25. 24 Sep, 2019 1 commit
  26. 15 Aug, 2019 1 commit
  27. 25 Jul, 2019 1 commit
  28. 06 Jul, 2019 1 commit
  29. 10 May, 2019 1 commit
  30. 19 Mar, 2019 1 commit
  31. 12 Mar, 2019 1 commit
    • Francesco Gazzetta's avatar
      Add install-method, put new-install flags in config · 344c07ef
      Francesco Gazzetta authored
      Add an --install-method=symlink|copy flag which specifies how to perform
      the installation.
      
      * --symlink-bindir is now gone, replaced by --installdir
      * --install-method=copy is useful in Windows where symlinking is not
      supported
      
      All new-install flags can now be configured in ~/.cabal/config
      
      * NewInstallFlags changed to ClientInstallFlags (more descriptive than
      InstallExFlags (like ConfigExFlags))
      * ClientInstallFlags is now part of SavedConfig
      344c07ef
  32. 09 Mar, 2019 1 commit
  33. 07 Mar, 2019 1 commit
  34. 16 Jan, 2019 1 commit
    • Herbert Valerio Riedel's avatar
      Use `:pkg:fail`'s `MonadFail` class · 8e903011
      Herbert Valerio Riedel authored
      The `fail` package has been already in lib:Cabal's transitive
      dependencies via at least `lib:parsec` (for GHC < 8), so we might
      as well depend on it directly and avoid having to deal with two
      divergent compat `MonadFail` classes, as well as reduce the amount
      of CPP hackery.
      
      This should address the GHC < 8 build failures that were introduced
      via c3c29a49
      
      Future work: get rid of internal `Distribution.Compat.MonadFail` module.
      8e903011
  35. 03 Dec, 2018 1 commit
    • Herbert Valerio Riedel's avatar
      Sync up cabal metadata w/ metadata revision · 77610986
      Herbert Valerio Riedel authored
      cabal-install-2.4 doesn't build anymore w/ GHC 7.8 and older;
      so the metadata revision took care to fixup the lower bound of
      base and other boot libs to take the versions bundled w/ GHC 7.10.1
      as the lower bounds.
      
      Moreover, this also fixes some upper bounds not being PVP compliant.
      
      (cherry picked from commit 0ba16f5c)
      77610986
  36. 01 Dec, 2018 3 commits