Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Nov 02, 2021
    • andreas.abel's avatar
      Re #7777 #7778: pass GITHUB_TOKEN correctly in CI; fix test expression · 7c9afa7f
      andreas.abel authored
      Because ${FOO} is already expanded in the Makefile, which leads to
      syntax errors in the CI when secrets are replaced by ***, we need to
      use $${FOO} so expansion only takes place in the shell.
      7c9afa7f
    • 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
  2. Oct 29, 2021
  3. Oct 28, 2021
  4. Oct 27, 2021
  5. Oct 26, 2021
  6. Oct 23, 2021
  7. Oct 22, 2021
  8. Oct 18, 2021
  9. Oct 16, 2021
  10. Oct 14, 2021
    • mergify[bot]'s avatar
      Merge pull request #7710 from andreasabel/issue5410-help-unpack · 3f1a5f2c
      mergify[bot] authored
      Fix #5410: include `unpack` in help text as deprecated alias for `get`
      3f1a5f2c
    • andreas.abel's avatar
      Fix #5410: include `unpack` in help text as deprecated alias for `get` · b88c365a
      andreas.abel authored
      ```
      $ cabal --help
      ...
       [package]
        get               Download/Extract a package's source code (repository).
        unpack            Deprecated alias for 'get'.
      ...
      
      $ cabal unpack --help
      Deprecated alias for 'get'.
      
      Usage: cabal unpack [PACKAGES]
      
      Creates a local copy of a package's source code. By default it gets the source
      tarball and unpacks it in a local subdirectory. Alternatively, with -s it will
      get the code from the source repository specified by the package.
      
      Flags for unpack:
       -h, --help                     Show this help text
       -v, --verbose[=n]              Control verbosity (n is 0--3, default
                                      verbosity level is 1)
       -d, --destdir=PATH             Where to place the package source, defaults to
                                      the current directory.
       -s, --source-repository[=[head|this|...]]
                                      Copy the package's source repository (ie git
                                      clone, darcs get, etc as appropriate).
       --index-state=STATE            Use source package index state as it existed
                                      at a previous time. Accepts unix-timestamps
                                      (e.g. '@1474732068'), ISO8601 UTC timestamps
                                      (e.g. '2016-09-24T17:47:48Z'), or 'HEAD'
                                      (default: 'HEAD'). This determines which
                                      package versions are available as well as
                                      .cabal file revision is selected (unless
                                      --pristine is used).
       --pristine                     Unpack the original pristine tarball, rather
                                      than updating the .cabal file with the latest
                                      revision from the package archive.
      
      Examples:
        cabal unpack hlint
          Download the latest stable version of hlint;
        cabal unpack lens --source-repository=head
          Download the source repository of lens (i.e. git clone from github).
      ```
      b88c365a
Loading