Skip to content

Commit 0f041b6

Browse files
authored
Merge branch 'master' into m-renaud-mrenaud-docs-getting-started
2 parents 00e842f + 888801b commit 0f041b6

File tree

221 files changed

+17797
-15850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+17797
-15850
lines changed

.arcconfig

Lines changed: 0 additions & 4 deletions
This file was deleted.

.ghci

Lines changed: 0 additions & 2 deletions
This file was deleted.

.ghcid

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/mergify.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
pull_request_rules:
2+
# rebase+merge strategy
3+
- actions:
4+
queue:
5+
name: default
6+
# Merge into master with a merge commit
7+
method: merge
8+
# Update the pr branch with rebase, so the history is clean
9+
update_method: rebase
10+
name: Put pull requests in the rebase+merge queue
11+
conditions:
12+
- label=merge me
13+
- '#approved-reviews-by>=2'
14+
# merge+squash strategy
15+
- actions:
16+
queue:
17+
name: default
18+
method: squash
19+
# both update methods get absorbed by the squash, so we use the most
20+
# reliable
21+
update_method: merge
22+
name: Put pull requests in the squash+merge queue
23+
conditions:
24+
- label=squash+merge me
25+
- '#approved-reviews-by>=2'
26+
27+
queue_rules:
28+
- name: default
29+
conditions: []

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
cabal v2-run cabal-install:unit-tests -- --pattern "! (/FileMonitor/ || /VCS/ || /Get/)"
6464
- name: cabal-tests
6565
# Using only one job, -j1, to fail less.
66-
run: cabal v2-run cabal-testsuite:cabal-tests -- -j1 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.6.5\cabal-install-3.6.0.0\x\cabal\build\cabal\cabal.exe
66+
run: cabal v2-run cabal-testsuite:cabal-tests -- -j1 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.6.5\cabal-install-3.7.0.0\x\cabal\build\cabal\cabal.exe
6767
test-windows-8_10_4:
6868
name: test ghc-8.10.4
6969
runs-on: windows-latest
@@ -111,4 +111,4 @@ jobs:
111111
cabal v2-run cabal-install:unit-tests -- --pattern "! (/FileMonitor/ || /VCS/ || /Get/)"
112112
- name: cabal-tests
113113
# Using only one job, -j1, to fail less.
114-
run: cabal v2-run cabal-testsuite:cabal-tests -- -j1 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.10.4\cabal-install-3.6.0.0\x\cabal\build\cabal\cabal.exe
114+
run: cabal v2-run cabal-testsuite:cabal-tests -- -j1 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.10.4\cabal-install-3.7.0.0\x\cabal\build\cabal\cabal.exe

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ cabal-tests.log
2626
/cabal-install/Setup
2727
/cabal-install/source-file-list
2828

29+
.stylish-haskell.yaml
30+
.stylish-haskell.yml
31+
.ghci
32+
.ghcid
33+
2934
# Output of release and bootstrap
3035
_build
3136

@@ -69,3 +74,6 @@ register.sh
6974

7075
# benchmarks
7176
bench.html
77+
78+
# Emacs
79+
.projectile

.mention-bot

Lines changed: 0 additions & 6 deletions
This file was deleted.

.projectile

Whitespace-only changes.

.stylish-haskell.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ cabal v2-build cabal-tests # etc...
2929
Running tests
3030
-------------
3131

32-
**Using Github Actions and AppVeyor.**
32+
**Using Github Actions.**
3333
If you are not in a hurry, the most convenient way to run tests on Cabal
3434
is to make a branch on GitHub and then open a pull request; our
35-
continuous integration service on Github Actions and AppVeyor will build and
36-
test your code. Title your PR with WIP so we know that it does not need
35+
continuous integration service on Github Actions builds and
36+
tests your code. Title your PR with WIP so we know that it does not need
3737
code review.
3838

3939
Some tips for using Github Actions effectively:
@@ -72,10 +72,6 @@ failures:
7272
tested. If you have an Ubuntu system, you can download
7373
the binaries and run them directly.
7474

75-
5. Is the test failing on AppVeyor? Consider logging in via
76-
Remote Desktop to the build VM:
77-
https://www.appveyor.com/docs/how-to/rdp-to-build-worker/
78-
7975
If none of these let you reproduce, there might be some race condition
8076
or continuous integration breakage; please file a bug.
8177

@@ -194,8 +190,9 @@ We like [this style guide][guide].
194190
Changelog
195191
---------
196192

197-
When opening a pull request, you should write a changelog entry.
198-
This is done by adding a file in the `changelog.d` directory.
193+
When opening a pull request, you should write a changelog entry
194+
(or more in case of multiple independent changes).
195+
This is done by adding files in the `changelog.d` directory.
199196

200197
The files follow a simple key-value format similar to the one for .cabal files.
201198

Cabal-QuickCheck/Cabal-QuickCheck.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: Cabal-QuickCheck
3-
version: 3.6.0.0
3+
version: 3.7.0.0
44
synopsis: QuickCheck instances for types in Cabal
55
category: Testing
66
description:
@@ -13,7 +13,7 @@ library
1313
build-depends:
1414
, base
1515
, bytestring
16-
, Cabal ^>=3.6.0.0
16+
, Cabal ^>=3.7.0.0
1717
, QuickCheck ^>=2.13.2 || ^>=2.14
1818

1919
if !impl(ghc >= 8.0)

Cabal-described/Cabal-described.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: Cabal-described
3-
version: 3.6.0.0
3+
version: 3.7.0.0
44
synopsis: Described functionality for types in Cabal
55
category: Testing, Parsec
66
description: Provides rere bindings
@@ -11,7 +11,7 @@ library
1111
ghc-options: -Wall
1212
build-depends:
1313
, base
14-
, Cabal ^>=3.6.0.0
14+
, Cabal ^>=3.7.0.0
1515
, containers
1616
, pretty
1717
, QuickCheck

Cabal-tests/Cabal-tests.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ test-suite unit-tests
3131
UnitTests.Distribution.Compat.Time
3232
UnitTests.Distribution.Described
3333
UnitTests.Distribution.PkgconfigVersion
34+
UnitTests.Distribution.Simple.Command
3435
UnitTests.Distribution.Simple.Glob
3536
UnitTests.Distribution.Simple.Program.GHC
3637
UnitTests.Distribution.Simple.Program.Internal
@@ -40,6 +41,7 @@ test-suite unit-tests
4041
UnitTests.Distribution.Types.GenericPackageDescription
4142
UnitTests.Distribution.Utils.CharSet
4243
UnitTests.Distribution.Utils.Generic
44+
UnitTests.Distribution.Utils.Json
4345
UnitTests.Distribution.Utils.NubList
4446
UnitTests.Distribution.Utils.ShortText
4547
UnitTests.Distribution.Utils.Structured
@@ -150,7 +152,6 @@ test-suite hackage-tests
150152
type: exitcode-stdio-1.0
151153
main-is: HackageTests.hs
152154

153-
-- TODO: need to get 01-index.tar on appveyor
154155
if os(windows)
155156
buildable: False
156157

Lines changed: 92 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,92 @@
1-
InstalledPackageInfo
2-
{abiDepends = [AbiDependency
3-
{depAbiHash = AbiHash "35a7f6be752ee4f7385cb5bf28677879",
4-
depUnitId = UnitId "base-4.10.1.0"},
5-
AbiDependency
6-
{depAbiHash = AbiHash "inplace",
7-
depUnitId = UnitId "Includes2-0.1.0.0-inplace-mysql"}],
8-
abiHash = AbiHash "inplace",
9-
author = "Edward Z. Yang",
10-
category = "",
11-
ccOptions = [],
12-
compatPackageKey = "Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n",
13-
copyright = "",
14-
cxxOptions = [],
15-
dataDir = "/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2",
16-
depends = [UnitId "base-4.10.1.0",
17-
UnitId "Includes2-0.1.0.0-inplace-mysql"],
18-
description = "",
19-
exposed = False,
20-
exposedModules = [ExposedModule
21-
{exposedName = ModuleName "Mine", exposedReexport = Nothing}],
22-
extraGHCiLibraries = [],
23-
extraLibraries = [],
24-
frameworkDirs = [],
25-
frameworks = [],
26-
haddockHTMLs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2"],
27-
haddockInterfaces = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2/Includes2.haddock"],
28-
hiddenModules = [],
29-
homepage = "",
30-
hsLibraries = ["HSIncludes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"],
31-
importDirs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"],
32-
includeDirs = [],
33-
includes = [],
34-
indefinite = False,
35-
installedComponentId_ = ComponentId "",
36-
installedUnitId = UnitId
37-
"Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n",
38-
instantiatedWith = [_×_
39-
(ModuleName "Database")
40-
(OpenModule
41-
(DefiniteUnitId
42-
(DefUnitId (UnitId "Includes2-0.1.0.0-inplace-mysql")))
43-
(ModuleName "Database.MySQL"))],
44-
ldOptions = [],
45-
libVisibility = LibraryVisibilityPrivate,
46-
libraryDirs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"],
47-
libraryDynDirs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"],
48-
license = Right BSD3,
49-
maintainer = "[email protected]",
50-
pkgRoot = Nothing,
51-
pkgUrl = "",
52-
sourceLibName = LSubLibName (UnqualComponentName "mylib"),
53-
sourcePackageId = PackageIdentifier
54-
{pkgName = PackageName "Includes2",
55-
pkgVersion = mkVersion [0, 1, 0, 0]},
56-
stability = "",
57-
synopsis = "",
58-
trusted = False}
1+
InstalledPackageInfo {
2+
sourcePackageId =
3+
PackageIdentifier {
4+
pkgName = PackageName
5+
"Includes2",
6+
pkgVersion = mkVersion
7+
[0, 1, 0, 0]},
8+
sourceLibName = LSubLibName
9+
(UnqualComponentName "mylib"),
10+
installedComponentId_ =
11+
ComponentId "",
12+
libVisibility =
13+
LibraryVisibilityPrivate,
14+
installedUnitId = UnitId
15+
"Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n",
16+
instantiatedWith = [
17+
_×_
18+
(ModuleName "Database")
19+
(OpenModule
20+
(DefiniteUnitId
21+
(DefUnitId
22+
(UnitId
23+
"Includes2-0.1.0.0-inplace-mysql")))
24+
(ModuleName "Database.MySQL"))],
25+
compatPackageKey =
26+
"Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n",
27+
license = Right BSD3,
28+
copyright = "",
29+
maintainer =
30+
31+
author = "Edward Z. Yang",
32+
stability = "",
33+
homepage = "",
34+
pkgUrl = "",
35+
synopsis = "",
36+
description = "",
37+
category = "",
38+
abiHash = AbiHash "inplace",
39+
indefinite = False,
40+
exposed = False,
41+
exposedModules = [
42+
ExposedModule {
43+
exposedName = ModuleName "Mine",
44+
exposedReexport = Nothing}],
45+
hiddenModules = [],
46+
trusted = False,
47+
importDirs =
48+
[
49+
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"],
50+
libraryDirs =
51+
[
52+
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"],
53+
libraryDirsStatic = [],
54+
libraryDynDirs =
55+
[
56+
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"],
57+
dataDir =
58+
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2",
59+
hsLibraries = [
60+
"HSIncludes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"],
61+
extraLibraries = [],
62+
extraLibrariesStatic = [],
63+
extraGHCiLibraries = [],
64+
includeDirs = [],
65+
includes = [],
66+
depends = [
67+
UnitId "base-4.10.1.0",
68+
UnitId
69+
"Includes2-0.1.0.0-inplace-mysql"],
70+
abiDepends = [
71+
AbiDependency {
72+
depUnitId = UnitId
73+
"base-4.10.1.0",
74+
depAbiHash = AbiHash
75+
"35a7f6be752ee4f7385cb5bf28677879"},
76+
AbiDependency {
77+
depUnitId = UnitId
78+
"Includes2-0.1.0.0-inplace-mysql",
79+
depAbiHash = AbiHash
80+
"inplace"}],
81+
ccOptions = [],
82+
cxxOptions = [],
83+
ldOptions = [],
84+
frameworkDirs = [],
85+
frameworks = [],
86+
haddockInterfaces =
87+
[
88+
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2/Includes2.haddock"],
89+
haddockHTMLs =
90+
[
91+
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2"],
92+
pkgRoot = Nothing}

0 commit comments

Comments
 (0)