Skip to content

Commit 3496228

Browse files
committed
WIP
1 parent d5eba37 commit 3496228

Some content is hidden

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

50 files changed

+216
-150
lines changed

changelog.d/Cabal-QuickCheck

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
synopsis: Cabal-QuickCheck package
2-
prs: #6557
1+
synopsis: Cabal-QuickCheck package with Arbirary instances
2+
prs: #6557 #6891
3+
issues: #6882
4+
packages: Cabal

changelog.d/Cabal-tree-diff

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
synopsis: Create Cabal-tree-diff package
1+
synopsis: Create Cabal-tree-diff package with ToExpr instances
22
prs: #6789
3+
packages: Cabal

changelog.d/active-repositories

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,13 @@ synopsis: Add active-repositories configuration
22
packages: cabal-install
33
prs: #6724 #6868
44
issues: #6819
5+
significance: significant
6+
7+
description: {
8+
9+
New `active-repositories` `cabal.project` fields allows
10+
specifying an order and ways various package repositories are combined.
11+
12+
The active `active-repositories` is saved in `cabal.project.freeze`.
13+
14+
}

changelog.d/cabal-init

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
synopsis: Various `cabal init` improvements
22
packages: cabal-install
3-
prs: #6619 #6661 #6641 #6650 #6603 #6632 #6607 #6678 #6690 #6705 #6723
3+
prs: #6619 #6661 #6641 #6650 #6603 #6632 #6607 #6678 #6690 #6705 #6723 #6676 #6677
4+
issues: #6150 #6675
5+
significance: significant
46

57
description: {
8+
69
- Default to `cabal-version: 2.4`
710
- `cabal` doesn't force a default license choice anymore
811
- Licenses are always asked using SPDX expression
912
- Fix an infinite loop when invalid license was passed on command line
1013
- `Setup.hs` is not written anymore
1114
- Default to --source-dir=src and --application-dir=app
1215
- Add FileCreators.generateCabalFile unit tests.
16+
- Default cabal init application-dir to app, and source-dir to src.
17+
- Default to SPDX.NONE license in cabal init interactive mode.
1318

1419
TODO: complete the description
20+
1521
}

changelog.d/cabal-list

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
synopsis: `cabal list` accepts regular expression
2+
packages: cabal-install
3+
prs: #6618 #6806
4+
issues: #4267 #6683
5+
significance: significant

changelog.d/cabal-project-local-tilde

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
synopsis: Tell users about cabal.project.local~ in `cabal v2-configure`
2+
prs: #6877
3+
packages: cabal-install

changelog.d/cabal-sdist

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,33 @@
1-
synopsis: Remove `v1-sdist` command. (TODO: change to sdist imporvements)
2-
issues: #6635 #4267 #6683
3-
prs: #6637 #6640 #6660 #6666 #6618 #6681 #6806
1+
synopsis: Rework `v2-sdist` command
2+
packages: cabal-install
3+
issues: #6635 #5813 #2940 #6611 #6514
4+
prs: #6454 #6637 #6640 #6660 #6666 #6618 #6681 #6884 #6916
5+
significance: significant
46

57
description: {
68

7-
TBW:
9+
`v2-sdist` marks all files as readonly in resulting tarballs.
810

9-
Fix sdist permissions
11+
The #2940 "cabal sdist should touch preprocessed .hs files" issue
12+
is fixed by virtue of not doing any preprocessing anymore.
13+
It's responsibility of packager.
14+
15+
The #6611 "v2-sdist includes a file twice in the tarball " issue
16+
is fixed as we don't consider only one file list,
17+
not two separate executable and ordinary file lists.
18+
19+
The #6514 "unpack doesn't preserve (executable) permissions" issue
20+
is partially resolved, as there shouldn't be executable permissions
21+
in the tar files.
22+
23+
The rationale for above simplification is simple. The only file
24+
Cabal machinery would run is `configure` script. These
25+
are run with explicit `sh` program. For package internal scripts,
26+
maintainers should also use interpreters explicitly as well.
27+
Scripts with shebangs are not executable on Windows.
28+
29+
30+
The `v1-sdist` command is removed, as its functionality is completely
31+
superseded by `v2-sdist`.
1032

1133
}

changelog.d/cabal-spec-3.4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
synopsis: Add cabal-version: 3.4
22
prs: #6663
3+
significance: significant
34

45
description: {
56

6-
TBW: link to spec
7+
See various changes in https://cabal.readthedocs.io/en/latest/file-format-changelog.html#cabal-version-3-4
78

89
}

changelog.d/ci

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,10 @@ prs:
1414
#6709
1515
#6827
1616
#6831
17+
#6900
18+
#6902
19+
#6914
20+
#6946
1721
issues:
1822
#6500
23+
#6945

changelog.d/dependency

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
synopsis: Dependency type refactorings
22
packages: Cabal
3-
prs: #6798 #6768
4-
issues: #5570
3+
prs: #6798 #6768 #6895 #6896 #6897 #6898
4+
issues: #5570 #6894
5+
significance: significant
56

67
description: {
78

0 commit comments

Comments
 (0)