You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could we please add a cabal install cabal-install:exe:cabal --dry-run CI check to catch this before fixing it? We have .github/workflows/check-sdist.yml but this does less, creating a cabal sdist cabal-install and then installing that.
$ git checkout d165dfda4361a7c1c51b6e7869ffcb2c0311b6d0
...
HEAD is now at d165dfda4 Bump hlint warning counts
$ ~/.ghcup/bin/cabal-3.12.1.0 install cabal-install:exe:cabal --dry-run
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-described-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-syntax-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-hooks-3.16.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-install-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-install-solver-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/buildinfo-reference-generator-0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-QuickCheck-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-tests-3.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-tree-diff-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-validate-1.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-testsuite-3.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-benchmarks-3.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/solver-benchmarks-3.tar.gz
Resolving dependencies...
Build profile: -w ghc-9.10.1 -O1
In order, the following would be built (use -v for more details):
- Cabal-syntax-3.15.0.0 (lib) (requires build)
- hackage-security-0.6.2.6 (lib) (requires build)
- Cabal-3.15.0.0 (lib) (requires build)
- cabal-install-solver-3.15.0.0 (lib) (requires build)
- cabal-install-3.15.0.0 (lib) (requires build)
- cabal-install-3.15.0.0 (exe:cabal) (requires build)
$ git checkout 1c7243f612f95eb9de2914f719ca2a7b2005c323
...
HEAD is now at 1c7243f61 Merge pull request #10716 from jimbob88/fix-cabal-hooks-readme
$~/.ghcup/bin/cabal-3.12.1.0 install cabal-install:exe:cabal --dry-run
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-described-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-syntax-3.15.0.0.tar.gz
Error: [Cabal-6661]
filepath wildcard 'readme.md' does not match any files.
Making a dry run at the fix:
$ git diff
diff --git a/Cabal-hooks/Cabal-hooks.cabal b/Cabal-hooks/Cabal-hooks.cabal
index 6b41d1f00..5490807fb 100644
--- a/Cabal-hooks/Cabal-hooks.cabal+++ b/Cabal-hooks/Cabal-hooks.cabal@@ -15,7 +15,7 @@ category: Distribution
build-type: Simple
extra-source-files:
- readme.md changelog.md+ README.md CHANGELOG.md
source-repository head
type: git
$ ~/.ghcup/bin/cabal-3.12.1.0 install cabal-install:exe:cabal --dry-run
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-described-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-syntax-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-hooks-3.16.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-install-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-install-solver-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/buildinfo-reference-generator-0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-QuickCheck-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-tests-3.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-tree-diff-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-validate-1.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-testsuite-3.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-benchmarks-3.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/solver-benchmarks-3.tar.gz
Resolving dependencies...
Build profile: -w ghc-9.10.1 -O1
In order, the following would be built (use -v for more details):
- Cabal-syntax-3.15.0.0 (lib) (requires build)
- hackage-security-0.6.2.6 (lib) (requires build)
- Cabal-3.15.0.0 (lib) (requires build)
- cabal-install-solver-3.15.0.0 (lib) (requires build)
- cabal-install-3.15.0.0 (lib) (requires build)
- cabal-install-3.15.0.0 (exe:cabal) (requires build)
The text was updated successfully, but these errors were encountered:
#10716 changed the case of files included in
Cabal-hooks
but didn't change those in the.cabal
file.cabal/Cabal-hooks/Cabal-hooks.cabal
Lines 17 to 18 in 8e35c5d
Could we please add a
cabal install cabal-install:exe:cabal --dry-run
CI check to catch this before fixing it? We have.github/workflows/check-sdist.yml
but this does less, creating acabal sdist cabal-install
and then installing that.Making a dry run at the fix:
The text was updated successfully, but these errors were encountered: