Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Feb 04, 2022
  2. Nov 02, 2021
    • andreas.abel's avatar
      Re #7777 #7778: check requirements.txt for security advisory · a57cbc44
      andreas.abel authored
      There is a new make file,
      
          doc/Makefile
      
      that defines these goals:
      
        - `check-requirements`:
          Check `requirements.txt` for security problems (CVEs) using `skjold`.
          This goal is intended for the "Users guide" CI.
          SKJOLD_GITHUB_API_TOKEN might have to be set if GITHUB_TOKEN is
          not in the environment, in order to access the GitHub GraphQL API.
      
        - `build-and-check-requirements`:
          Rebuild `requirements.txt` from `requirements.in` using `pip-compile`,
          and check with `check-requirements`.
          This goal is intended for manual invocation.
      
          It is invoked from the top Makefile via goal
          `users-guide-requirements`.
      
      Alternatively, these goals could be coupled with the doc build
      `make users-guide`.
      However, since these goals require a couple of seconds to run, I think
      it is annoying to call them on every build of the documentation.
      a57cbc44
  3. Sep 03, 2021
  4. Oct 10, 2020
  5. Sep 11, 2020
    • Oleg Grenrus's avatar
      Rewrite VersionInterval code · 1347791c
      Oleg Grenrus authored
      - The old code is preserved for now in VersionInterval.Legacy module
      - Add normaliseVersionRange bench, comparing new and old
      - We drop intersectVersionIntervals, which is complicated function for acceptable performance loss, but gained simplicity
      - Remove Ord instances (can be added back, removed to make sure we don't use them)
      1347791c
  6. Jul 27, 2020
    • Oleg Grenrus's avatar
      Add release.py · 9eae1714
      Oleg Grenrus authored
      A script essentially runs `v2-install cabal-install:exe:cabal`,
      but does some simple setup, so the result is less luckily
      to be influences by environment.
      
      Also improve bootstrap to do out-of-tree builds.
      - Use http, https tricky in some environments
      9eae1714
  7. Jul 16, 2020
  8. Jun 06, 2020
  9. Dec 04, 2018
  10. Jun 24, 2018
  11. Mar 07, 2017
  12. Jan 19, 2017
  13. Nov 27, 2016
  14. Oct 19, 2016
  15. Oct 06, 2016
  16. Sep 16, 2016
    • Leonid Onokhov's avatar
      Docs: added cabal domain for sphinx · 418a82f0
      Leonid Onokhov authored
      It features simple `pkg-section` directive for marking sections for
      which subsequent `pkg-field` fields are defined. Needed to disambiguate
      fields such as `type` or `main-is`.
      
      Converted most of `developing-packages.rst` to use new directives
      
      Future work:
      
      * Add directives for describing project.local, make it reference
        relevant cabal arguments
      
      * Add more meta, like since or deprecated which can be rendered in link
        titles and index.
      
      * Add "quick reference" indices for cabal args, package.cabal and
       project.local fields. Reference these from sidebar.
      
      * Using "since" and "deprectated field it is possible to create "what's
        new" index
      
      [ci skip]
      418a82f0
  17. Sep 10, 2016
  18. Apr 08, 2016
  19. Apr 05, 2016
  20. Mar 29, 2016
  21. Jan 31, 2016
  22. Jan 02, 2016
  23. Dec 29, 2015
  24. Dec 28, 2015
    • Edward Z. Yang's avatar
      Rewrite the package test suite. · e94552e8
      Edward Z. Yang authored
      
      I've rewritten the test suite to be more concise and "correct by
      construction".  The primary method that this is achieved by
      is introducing the 'TestM' monad, which carries around the
      important state for the tests so that (1) we don't have to
      pass it as an argument all around, and (2) we can automatically
      make the correct decisions about how to do things.  This new
      method emphasises "configuration by convention": we assume
      that a test-case named "Foo" has its test packages in the
      directory "tests/PackageTests/Foo".
      
      A secondary change is that all command functions automatically fail if
      they have a non-zero exit code (unless you use the 'shouldFail'
      combinator which inverts the sense.)  This saves a lot of typing
      on test-cases.  (In fact, I've reorganized all of the commands
      related here.)
      
      In the process, I've tightened up the logic for how to find the
      LocalBuildInfo of the Cabal we've testing, so we should now
      reliably be testing the inplace Cabal library, and not the
      system library (as was often the case.)
      
      Because things are a lot shorter, there is no good reason to
      make Check modules except for the biggest test cases.  Most
      test-cases have been folded into PackageTests.Tests; if you
      have a small test-case you should just put it there.
      
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      e94552e8
  25. Aug 08, 2015
  26. Jun 23, 2015
    • Michael Snoyman's avatar
      Add a stack.yaml file · fcdfb308
      Michael Snoyman authored
      I needed this when building cabal.exe for MinGHC (see:
      https://github.com/fpco/minghc/issues/69). I thought others might find
      this useful, especially for the use case of bootstrapping cabal
      development.
      
      I went the direction of no curation and explicit packages in the
      extra-deps, as I thought that would make more sense for a project low on
      the dependency chain, but this could certainly be tweaked to use LTS
      Haskell or Stackage Nightly instead.
      fcdfb308
  27. Jan 11, 2015
  28. Aug 26, 2014
  29. Jun 28, 2014
  30. Jun 19, 2014
  31. Apr 26, 2013
  32. Jan 28, 2013
  33. Aug 29, 2012
  34. Aug 06, 2012
  35. Jul 19, 2012
  36. Jun 14, 2012
  37. Apr 28, 2012
Loading