This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 30 Apr, 2020 1 commit
  2. 24 Apr, 2020 1 commit
  3. 13 Apr, 2020 1 commit
  4. 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
  5. 03 Apr, 2020 1 commit
  6. 21 Mar, 2020 2 commits
  7. 11 Mar, 2020 1 commit
  8. 21 Feb, 2020 1 commit
  9. 20 Feb, 2020 1 commit
  10. 07 Feb, 2020 1 commit
  11. 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
  12. 15 Dec, 2019 1 commit
  13. 12 Dec, 2019 1 commit
  14. 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
  15. 02 Dec, 2019 1 commit
  16. 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
  17. 14 Nov, 2019 1 commit
  18. 02 Oct, 2019 1 commit
  19. 24 Sep, 2019 1 commit
  20. 15 Aug, 2019 1 commit
  21. 25 Jul, 2019 1 commit
  22. 06 Jul, 2019 1 commit
  23. 10 May, 2019 1 commit
  24. 19 Mar, 2019 1 commit
  25. 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
  26. 09 Mar, 2019 1 commit
  27. 07 Mar, 2019 1 commit
  28. 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
  29. 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
  30. 01 Dec, 2018 3 commits
  31. 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
  32. 25 Nov, 2018 1 commit
  33. 09 Nov, 2018 1 commit
  34. 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
  35. 02 Aug, 2018 1 commit