This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 23 May, 2020 1 commit
-
-
Francesco Gazzetta authored
-
- 22 May, 2020 7 commits
-
-
kristenk authored
-
kristenk authored
-
kristenk authored
This commit also refactors the Dependencies type so that it can represent any combination of dependencies, buildability, and visibility.
-
kristenk authored
This commit tracks dependencies on sub-libraries by extending the functionality for tracking executables that was added in e86f8389. It also starts adding support for library visibility, though it currently only works for source packages. There is a TODO for handling installed packages. This commit handles visibility similarly to the way that the buildable field is handled currently. It only checks whether a component is made private by the current environment and flag constraints at the start of dependency solving. This means that the solver can treat a component as visible when the visibility is controlled by an automatic flag, and the build can fail later, depending on the value that is chosen for the flag. Fixes #6038.
-
kristenk authored
-
Oleg Grenrus authored
Fix Windows GitHub Action
-
Oleg Grenrus authored
- msys2 should be installed - there is cabal and GHC, but we want to be sure about versions, so we reinstall. - Reinstalling GHC doesnt' "just work", so we uninstall it first. This takes time, but makes CI work.
-
- 20 May, 2020 4 commits
-
-
Oleg Grenrus authored
Update dependency bounds
-
Oleg Grenrus authored
- Also drop GenericInstances as URI has Generic instance now. - simplifier goes nuts on ProjectConfig instances...
-
Oleg Grenrus authored
Prepend hs-source-dir to match-component
-
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
-
- 19 May, 2020 3 commits
-
-
Oleg Grenrus authored
Refactor shared TargetProblem data types into their own module.
-
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.
-
Oleg Grenrus authored
Make cabal-install compilable with NoImplicitPrelude
-
- 18 May, 2020 9 commits
-
-
Oleg Grenrus authored
I.e. find out where we don't yet used `Distribution.Client.Compat.Prelude`. - If the module is small I added direct `Prelude` imports. - Add Exception, deepseq stuff to Cabal Prelude - Add Parsec, Pretty and Verbosity to Client Prelude - use for, for_, traverse and traverse_ (removes need for Control.Monad)
-
Oleg Grenrus authored
Make own modules for InstallMethod and OverwritePolicy
-
Oleg Grenrus authored
-
Oleg Grenrus authored
Issue 6809: v2-update -z
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
Oleg Grenrus authored
This essentially makes -z/--ignore-project appear in all v2-commands
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
- 15 May, 2020 10 commits
-
-
Oleg Grenrus authored
Resolve #6804: v2-update reports new index-state
-
Oleg Grenrus authored
Fix #6805: More compatible rpmvercmp behavior
-
Oleg Grenrus authored
Regex list
-
Oleg Grenrus authored
For example: Downloading the latest package list from hackage.haskell.org Updated package list of hackage.haskell.org to index-state 2020-05-15T09:13:06Z To revert to previous state run: cabal v2-update 'hackage.haskell.org,2020-05-10T18:58:02Z' Or Package list of hackage.haskell.org is up to date at index-state 2020-05-15T09:13:06Z
-
Oleg Grenrus authored
-
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
-
Oleg Grenrus authored
Resolve #6409: Add public multilib test(s)
-
Oleg Grenrus authored
% cabal list transformers --installed * transformers Synopsis: Concrete functor and monad transformers Default available version: 0.5.6.2 Installed versions: 0.5.6.2 License: BSD3 % cabal list transformers --installed -w ghc-8.10.1 * transformers Synopsis: Concrete functor and monad transformers Default available version: 0.5.6.2 Installed versions: 0.5.6.2 License: BSD3 % cabal list transformers --installed -w ghc-7.6.3 No matches found. % cabal list transformers --installed -w ghc-7.8.4 * transformers Synopsis: Concrete functor and monad transformers Default available version: 0.5.6.2 Installed versions: 0.3.0.0 License: BSD3
-
Oleg Grenrus authored
Also add a test for current behaviour of https://github.com/haskell/cabal/issues/6083 And variant with mixin, for https://github.com/haskell/cabal/issues/6281 The tests are disable for GHC older than 8.8 Should they work?
-
Oleg Grenrus authored
Add NonEmptySet and use it in Dependency
-
- 14 May, 2020 3 commits
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
Described Mixin
-
Oleg Grenrus authored
-
- 13 May, 2020 3 commits
-
-
Oleg Grenrus authored
Remove Text type-class
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-