This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 23 Jul, 2020 2 commits
  2. 13 Jul, 2020 1 commit
  3. 30 Jun, 2020 1 commit
    • Oleg Grenrus's avatar
      Add list-bin command · 17e5e073
      Oleg Grenrus authored
      This is partial solution to #6807, because we invoke solver.
      The follow-up will be to modify Rebuild monad so,
      that it can be run without rebuilding (i.e. fail if cache is cold).
      17e5e073
  4. 16 Jun, 2020 1 commit
  5. 11 Jun, 2020 1 commit
  6. 03 Jun, 2020 1 commit
  7. 02 Jun, 2020 1 commit
  8. 20 May, 2020 2 commits
    • Oleg Grenrus's avatar
      Update dependency bounds · 986954c6
      Oleg Grenrus authored
      - Also drop GenericInstances as URI has Generic instance now.
      - simplifier goes nuts on ProjectConfig instances...
      986954c6
    • fendor's avatar
      Prepend hs-source-dir to match-component · ce1947a9
      fendor authored
      Add Integration tests for File Target Selector
      
      Add Integration test for Target Selecetors for files that
      are part of other-modules in sub-directories.
      
      Normalise Filepaths for target matching
      
      Add filepath and module target syntax to readthedocs
      
      Add ambiguous file target test-case
      ce1947a9
  9. 19 May, 2020 1 commit
    • Matt Renaud's avatar
      Refactor shared TargetProblem data types into their own module. · f00d3818
      Matt Renaud authored
      Moved "problem rendering" to CmdErrorMessages module
      
      Additions by Oleg Grenrus:
      
      - There were CommonTargetProblem, but now
        TargetProblem has an extension point so we can have just one type.
        A lot of code is simplified as we don't need to pass in injection
        from CommonTargetProblem to the resulting `err` type.
      f00d3818
  10. 18 May, 2020 1 commit
  11. 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
  12. 13 May, 2020 2 commits
  13. 12 May, 2020 2 commits
  14. 07 May, 2020 1 commit
  15. 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
  16. 30 Apr, 2020 1 commit
  17. 24 Apr, 2020 1 commit
  18. 13 Apr, 2020 1 commit
  19. 10 Apr, 2020 1 commit
  20. 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
  21. 03 Apr, 2020 1 commit
  22. 21 Mar, 2020 2 commits
  23. 16 Mar, 2020 2 commits
    • 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
      Remove MONOLITHIC build · 701071ee
      Oleg Grenrus authored
      701071ee
  24. 11 Mar, 2020 1 commit
  25. 21 Feb, 2020 1 commit
  26. 20 Feb, 2020 1 commit
  27. 07 Feb, 2020 1 commit
  28. 22 Jan, 2020 1 commit
  29. 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
  30. 15 Dec, 2019 1 commit
  31. 12 Dec, 2019 1 commit
  32. 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
  33. 02 Dec, 2019 1 commit