Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Sep 30, 2022
    • Athas's avatar
      Adopt XDG Base Directory Specification (#7386) · 9f7dc559
      Athas authored
      
      * Move towards using XDG directories.
      
      * Install binaries in $HOME/.local/bin.
      
      * Fix tests.
      
      * Ensure config file is where it should be.
      
      * Require newer directory for XdgState.
      
      * Put world file in XDG_STATE_HOME.
      
      * Oops, forgot to import.
      
      * Remove uses of getCabalDir.
      
      * These all need directory-1.3.7.0 now.
      
      * Oh right, not a builtin anymore.
      
      If this works I will also change the other .json files.
      
      * Try it by hand.
      
      * Haskell is better than JSON.
      
      * Bump directory in all jsons.
      
      * Put directory first.
      
      * Let us assume that getConfigFilePath gets this right.
      
      * Implement backwards compatibility.
      
      * This is now elsewhere.
      
      * We need to create parents as well because ~/.local might not exist.
      
      * Put scripts-build in distinct cache directory.
      
      * Document XDG behaviour.
      
      * Remove help text references to ~/.cabal.
      
      * Remove references to .cabla/bin.
      
      * Backwards compatible install paths.
      
      * Remove more references to ~/.cabal.
      
      * Fix typo.
      
      * Fix ~/.cabal paths making their way into default config.
      
      * Reduce duplication.
      
      * Add changelog entry.
      
      * Also note install dir change.
      
      * It is the cabal-install config file.
      
      * Avoid dependending on cabal-install in Hackage-tests.
      
      * ALso respect CABAL_DIR here.
      
      * Try leaving InstallDirs alone.
      
      * Also need duplication here.
      
      * Add missing newline.
      
      * Fix doc typos.
      
      * Make this a Haddock comment.
      
      * Revision field must not be null.
      
      * Link directories.
      
      * Update doc/config.rst
      
      Co-authored-by: default avatarArtem Pelenitsyn <a.pelenitsyn@gmail.com>
      
      * No need for this.
      
      * We install foreign libraries here now.
      
      * Clarify Nothing case.
      
      * Avoid using ~/.config/cabal in manual.
      
      Co-authored-by: default avatarMikolaj Konarski <mikolaj@well-typed.com>
      Co-authored-by: default avatarArtem Pelenitsyn <a.pelenitsyn@gmail.com>
  2. Sep 23, 2022
  3. Sep 20, 2022
  4. Aug 28, 2022
  5. Aug 16, 2022
  6. Aug 11, 2022
  7. Aug 03, 2022
  8. Jul 29, 2022
    • ffaf1's avatar
      Document missing commands (#8309) · ca038646
      ffaf1 authored
      * Add `cabal get` documentation
      
      * Add `cabal upload` documentation
      
      * Add `cabal info` documentation
      
      * Add `cabal fetch` documentation
      
      * Add `cabal init` documentation stub
      
      * Add `cabal list` documentation
      
      * Add `cabal report` documentation
      
      * Add `cabal user-config` documentation
      
      * Add changelog for #8309
      
      * Document alternatives to `cabal fetch`
  9. Jul 28, 2022
  10. Jul 20, 2022
  11. Jul 16, 2022
  12. Jul 06, 2022
  13. Jul 04, 2022
  14. Jun 24, 2022
  15. Jun 15, 2022
  16. Jun 13, 2022
  17. Jun 08, 2022
  18. Jun 04, 2022
  19. Jun 03, 2022
  20. May 28, 2022
  21. May 27, 2022
  22. May 25, 2022
  23. May 19, 2022
  24. May 16, 2022
  25. May 13, 2022
    • Mike Pilgrem's avatar
      Clarify `runhaskell` in Cabal's guide · f51b4a24
      Mike Pilgrem authored
      The original Cabal proposal https://www.haskell.org/cabal/proposal/ explained that `runhaskell`, in the proposal, was to refer to a symlink to `runhugs`, `runghc`, or `runnhc`. That explanation has been lost from the Cabal guide. Since the date of the original proposal, HUGS and NHC have fallen by the wayside. This pull request proposes two minor additions to restore the explanation:
      
      1. A sentence "GHC provides the commands `runhaskell` and `runghc` (they are equivalent) to allow you to run Haskell programs without first having to compile them (scripts)." This wording closely follows that in the GHC user guide.
      
      2. A clarification that `--help` provides information about the `Setup.hs` script (not the `runhaskell` command).
      f51b4a24
  26. May 11, 2022
  27. May 02, 2022
  28. Apr 29, 2022
  29. Apr 21, 2022
    • danidiaz's avatar
      Docs: add 'gen-bounds' and 'oudated' to the list of commands. (#7425) · f358cada
      danidiaz authored
      
      This commit adds entries for the 'gen-bounds' and 'outdated'
      commands to the "cabal-install Commands" section of the user manual.
      
      Formerly, those commands were only described in the "Package
      description" section. Some, but not all, of the information in that
      section has been moved to the entires in the list of commands.
      
      This commit changes two other things:
      
      - The descriptions in the "Package description" were incorrectly placed
        as sub-sections of "Opening an interpreter session". They have been
        moved one level up.
      
      - changed the gen-bounds example, because it used dependencies which
        *already* had bounds as the starting point.
      
      Co-authored-by: default avatarDaniel Díaz <diaz_carrete@yahoo.com>
      Co-authored-by: default avatarEmily Pillmore <emilypi@cohomolo.gy>
      Co-authored-by: default avatargbaz <gershomb@gmail.com>
  30. Apr 13, 2022
  31. Apr 07, 2022
Loading