This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 01 Dec, 2018 3 commits
  2. 28 Nov, 2018 1 commit
    • Oleg Grenrus's avatar
      Move ReadP out of Cabal (to cabal-install) · baf78ca2
      Oleg Grenrus authored
      - Distribution.Compat.ReadP to Distribution.Deprecated.ReadP
      - Distribution.Text to Distribution.Deprecated.Text
      - all Text instances needed by cabal-install to Deprecated.Text too
      - Distribution.ParseUtils to Distribution.Deprecated.ParseUtils
      - Remove deprecated Distribution.PrettyUtils
      - new Distribution.Text with
      
          display = prettyShow
          simpleParse = simpleParsec
      
        to not break too much stuff (Custom Setup.hs)
      - parseInstalledPackageInfo type signature changed to use
        `base` types
      
      This removes around 2k lines from Cabal the library.
      git diff --stat shows less, as files are moved (git is smart).
      Even so, total 300 lines removal at this point.
      baf78ca2
  3. 25 Nov, 2018 1 commit
  4. 09 Nov, 2018 1 commit
  5. 20 Aug, 2018 2 commits
    • Oleg Grenrus's avatar
      fixup! Preprocess cabal-install.cabal · 1c14ece8
      Oleg Grenrus authored
      1c14ece8
    • 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
  6. 02 Aug, 2018 1 commit
  7. 01 Aug, 2018 2 commits
  8. 31 Jul, 2018 2 commits
  9. 15 Jul, 2018 1 commit
  10. 14 Jul, 2018 5 commits
    • Duncan Coutts's avatar
      0403b01f
    • Duncan Coutts's avatar
      Try yet again with the windows file lock problem · 6c09d448
      Duncan Coutts authored
      Try the "retry N times on permission errors" strategy.
      6c09d448
    • Duncan Coutts's avatar
      Add tests for the new 'get -s' implementation · 42e52bbb
      Duncan Coutts authored
      It covers all the failure modes, and currently includes one actual
      network test where we fetch a git repo. There is a new testsuite feature
      flag to disable network tests, and we probably want to use that in CI.
      42e52bbb
    • Duncan Coutts's avatar
      Add QC tests for the VCS abstraction · 9bcd5e20
      Duncan Coutts authored
      This is a hopefully rather comprehensive approach: we generate an
      arbitrary description of how to make a repo, and model what content we
      would expect for every tag/commit. Then we can compare with executing
      the description for the real VCS and comparing the actual file content
      for any tag/commit.
      
      This is then the basis for checking for the various VCS drivers that we
      can (construct and) clone and sync repos properly. In particular for
      syncing this gives some confidence that we can sync for any plausible
      cached previous repo state.
      9bcd5e20
    • Duncan Coutts's avatar
      Add a new VCS abstration · c738ddd1
      Duncan Coutts authored
      This is intended for two things:
       * replacing the Brancher abstraction backing the current 'get -s' impl
       * the basis for source repo support in cabal.package files
      
      The latter is a bit more complex as it requires not just fetching a
      fresh repo, but syncing a repo to a specific tag, commit or branch. The
      approach assumes that we keep a cached copy so that most changes are
      cheap and it optimises things by allowing sharing data between multiple
      commits of the same repo, and multiple packages within the same repo.
      
      For example, it will be possible to specify the same repo in the
      cabal.project file for more than one package, and have those packages
      either in separate subdirs of the same commit, or on different
      commits/tags/branches. In the former case we use a single checkout
      while in the latter case we use two checkouts, but share repo data as
      far as possible.
      c738ddd1
  11. 13 Jul, 2018 3 commits
  12. 07 Jul, 2018 1 commit
  13. 25 Jun, 2018 2 commits
  14. 19 Jun, 2018 1 commit
  15. 15 Jun, 2018 2 commits
  16. 12 Jun, 2018 1 commit
  17. 11 Jun, 2018 1 commit
  18. 16 Apr, 2018 1 commit
  19. 27 Mar, 2018 1 commit
  20. 08 Mar, 2018 1 commit
  21. 16 Feb, 2018 1 commit
  22. 14 Feb, 2018 2 commits
  23. 24 Jan, 2018 1 commit
  24. 21 Jan, 2018 1 commit
  25. 19 Jan, 2018 1 commit
  26. 11 Jan, 2018 1 commit