Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Jun 02, 2021
  2. May 04, 2021
    • Emily Pillmore's avatar
      Rewrite `cabal init` command · 10687555
      Emily Pillmore authored
      * Restructures the `cabal init` command to fix historical
        issues. All flags are preserved.
        * Codebases for interactive and non-interactive flags
          are disentangled.
        * Data structures now exploit relevant stanza structure
          and formatters only care about stanza data
        * Heuristics and prompts have a pure and impure implementation.
      
      * Sets default behavior to be `--interactive` as opposed to
        `--non-interactive`.
      
      * Rewrites tests to achieve 98% coverage
        * Golden files now test every stanza individually
        * Every flag is covered by a unit test
        * Interactive, simple, and non-interactive workflows are
          covered.
      10687555
  3. May 02, 2021
  4. Nov 23, 2020
  5. Oct 15, 2020
  6. Oct 13, 2020
    • Oleg Grenrus's avatar
      Move tests from Cabal to Cabal-tests package · 579bff0c
      Oleg Grenrus authored
      The are various motivation points:
      - I'm not aware anyone third party running Cabal tests (maybe nixpkgs?)
      - No need to do gen-extra-source-files, as Cabal-tests is not distributed
      - No multiple rebuilds of Cabal-QuickCheck, Cabal-tree-diff
      - Slightly smaller Cabal sdist (which is quite big still)
      579bff0c
  7. Jul 22, 2020
  8. May 13, 2020
    • Oleg Grenrus's avatar
      Create Cabal-described · f7ee3c1a
      Oleg Grenrus authored
      Move Described functionality there, out of Cabal the library.
      Similarly cabal-install doesn't contain Described instances,
      they are only in tests.
      f7ee3c1a
  9. May 12, 2020
    • Oleg Grenrus's avatar
      Create Cabal-tree-diff package · 6748dce7
      Oleg Grenrus authored
      Move Cabal instances from cabal-install TreeDiffInstances into it.
      Remove defaultToExprViaShow to get better diffs and dumps
      
      Also rename Cabal-QuickCheck (proper case), and add GenericArbitrary
      module there.
      6748dce7
  10. Mar 19, 2020
  11. Feb 25, 2020
  12. Nov 19, 2019
  13. Sep 24, 2019
  14. Mar 19, 2019
  15. Mar 15, 2019
  16. Dec 03, 2018
  17. Aug 20, 2018
    • Oleg Grenrus's avatar
      Preprocess cabal-install.cabal · b1c2eaac
      Oleg Grenrus authored
      - Disable cabal-install's haddock on CI
      - Temporarily disable cabal check (`-main-is` in tests)
      - Remove this is not a lib note
      - Tell to run git update-index --assume-unchanged
      
          ... when changing to -dev or -monolithic configuration.
      
          Run --no-assume-unchanged unconditionally, when
          changing to the production build.
      - Improve auto-gen note in cabal-install.cabal
      - Try to build haddock (with GHC-8.4.3 only)
      b1c2eaac
  18. Aug 01, 2018
  19. Feb 16, 2018
  20. Feb 15, 2018
  21. Feb 14, 2018
  22. Feb 10, 2018
  23. Jan 15, 2018
    • Oleg Grenrus's avatar
      Add validate.sh script [ci skip] · 6a9a101c
      Oleg Grenrus authored
      This script contains similar commands to appveyor.yml, except it relies
      on cabal new-build, so should be safe to run locally.
      
      Using this script can ease Travis stress.
      
      ATM I see following tests failing:
      
      - PackageTests/Backpack/Includes3/setup-external-ok.test.hs
          - https://github.com/haskell/cabal/issues/5039
      - PackageTests/CustomPlain/setup.test.hs
          - `<command line>: cannot satisfy -package-id Cabal-2.1.0.0-inplace`
      - PackageTests/CustomDep/sandbox.test.hs
          - `.../dist-sandbox-3402c05b/setup/setup: createProcess: runInteractiveProcess: exec: permission denied (Permission denied)`
      6a9a101c
  24. Dec 27, 2017
  25. Dec 19, 2017
  26. Dec 12, 2017
  27. Dec 04, 2017
  28. Dec 02, 2017
  29. Nov 03, 2017
  30. Aug 13, 2017
  31. Aug 10, 2017
  32. Jul 25, 2017
  33. Jun 09, 2017
  34. May 07, 2017
    • Edward Z. Yang's avatar
      Greatly reduce the amount of build product we upload. · bed3e5ca
      Edward Z. Yang authored
      
      See #4462 for the gory details.
      
      Main things about this commit:
      
      - New 'monolithic' flag on cabal-install, which combines
        all of the tests into a single binary.  It's not very
        much code, and you don't pay for any of it on a release
        build.  I quite like it.  The one downside is that
        we can't also pull in Cabal test suites this way.
      
      - Env vars got moved into travis-common.sh
      
      - travis-script.sh now runs the cabal-tests tests, because
        we aren't sending enough build product over to do them
        on the second Travis run
      
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      bed3e5ca
Loading