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

changelog.d/described

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
synopsis: Grammar / Described
22
prs: #6591 #6593 #6704 #6766 #6778 #6780 #6781 #6791 #6800
3+
4+
description: {
5+
6+
TBW
7+
8+
}

changelog.d/documentation

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1-
synopsis: Documentation updates
2-
prs: #6613 #6560 #6660 #6668 #6669 #6697 #6761
1+
synopsis: Documentation updates and typo-fixes
2+
prs:
3+
#6613 #6560 #6660 #6668 #6669 #6697 #6761 #6940
4+
#6504 #6550 #6686 #6928
5+
6+
description: {
7+
8+
TODO: Higlight larged changes
9+
10+
}

changelog.d/expose-all-unfoldings

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
synopsis: Add -fexpose-all-unfoldings to parsec and Cabal in release project
1+
synopsis: Add -fexpose-all-unfoldings to parsec and Cabal in release project
2+
packages: cabal-install
23
prs: #6708
34

45
description: {
56

6-
This makes parser faster.
7+
This makes parser faster with acceptable code-size increase.
78

89
}

changelog.d/ghc-8.12

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
synopsis: Support GHC-8.12
2-
prs: #6735 #6844 #6865
2+
prs:
3+
#6735 #6844 #6865 #6848 #6908 #6947
4+
#6552 #6553 #6563 #6545
5+
issues: #6903 #6904 #6905
6+
significance: significant
37

48
description: {
59

610
- Support for -this-package-key deprecation
711
- Use process createPipe
8-
- TODO: add simplified subsumption here
12+
- Add support for WINIO to Cabal
13+
- Adopt to simplfied subsumption changes
914

15+
There are no magical 'IO =`WithCallStack Prelude.IO` alias in Cabal,
16+
as it is hard to get working with GHC-8.12's simplified subsumption.
17+
Accept "linux-androideabi" as an alias for Android
1018

1119
}

changelog.d/ghci-fix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
synopsis: Fix ghci being launched before other sources are built.
2+
prs: #6923
3+
4+
description: {
5+
6+
TBW. Related to foreign calls to C-sources.
7+
8+
}

changelog.d/help-remove-new-aliases

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
synopsis: Remove new- command from `--help` output (there are v2-)
2+
prs: #6930
3+
packages: cabal-install

changelog.d/index-state

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ synopsis: More rich `index-state` syntax. `v2-freeze` saves `index-state`.
22
packages: cabal-install
33
prs: #6596 #6581 #6597 #6591 #6682 #6733
44
issues: #6728
5+
significance: significant
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
synopsis: Installing (copy or symlink) executable message prints destination.
22
prs: #6590 #6582
3+
packages: cabal-install

changelog.d/issue-4267

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

changelog.d/issue-4746

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
synopsis: all extra-source-files are change-tracked
22
packages: cabal-install
33
issues: #4746
4+
prs: #6889

changelog.d/issue-5224

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
synopsis: `upload --help` now includes `password-command` as a config file option (#5224)
2+
packages: cabal-install
23
issues: #5224
34
prs: #6609 #6313 #6680

changelog.d/issue-5586

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1-
synopsis: source-repository-package directories aren't local
1+
synopsis: `source-repository-package` directories aren't local
2+
packages: cabal-install
23
issues: #5586
3-
prs: #6917
4+
prs: #6917 #6915
5+
significance: significant
6+
7+
description: {
8+
9+
Concretely these means that compiled `source-repository-package` entries
10+
used in different projects are stored in the global nix-style store.
11+
12+
}

changelog.d/issue-5813

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

changelog.d/issue-5973

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
synopsis: Use default install directory if not specified
2+
packages: cabal-install
23
prs: #6624
34
issues: #5973
45

changelog.d/issue-6083

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1-
synopsis: Treat pkg:sublib dependency syntax as is since 3.4
1+
synopsis: Treat pkg:sublib dependency syntax as is in `cabal-version: 3.4`
22
issues: #6083
3-
prs: #6907
3+
prs: #6907 #6893
4+
significance: significant
5+
6+
description: {
7+
8+
In `cabal-version: 3.4` cabal files the dependency definition
9+
10+
```cabal
11+
build-depends: somesublib
12+
```
13+
14+
is not using in-package sublibraries. You have to be explicit and write
15+
16+
```cabal
17+
build-depends: thispkg:somesublib
18+
```
19+
20+
This fixes an issue, where it was impossible to refer to extenral
21+
library, if you had sublibrary of the same name.
22+
23+
}

changelog.d/issue-6150

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

changelog.d/issue-6210

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
synopsis: Default to 'NoReports' for remote build reporting
2+
packages: cabal-install
23
issues: #6210
34
prs: #6625

changelog.d/issue-6565

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
synopsis: Update GHC environment location (fixes #6565)
1+
synopsis: Update GHC environment location
22
prs: #6822
33
issues: #6565
44
packages: cabal-install

changelog.d/issue-6610

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ prs: #6684
44

55
description: {
66

7-
Add pijul to known repository type
7+
Pijul is now explicitly recognized version control system.
8+
However `cabal-install` isn't yet able to use it in
9+
`source-repository-package`.
810

911
}

changelog.d/issue-6622

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
synopsis: Prepend hs-source-dir to match-component, fixes `cabal repl file`
2-
prs: #6623 #6826
2+
packages: cabal-install
3+
prs: #6623 #6826 #6875
34
issues: #6622

changelog.d/issue-6675

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

changelog.d/issue-6691

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
synopsis: Remove upgrade, uninstall and win32selfupgrade commands
2+
packages: cabal-install
23
issues: #6691
34
prs: #6707
45

changelog.d/issue-6710

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
11
synopsis: Rename Flag to CompilerFlag and PackageFlag
2+
packages: Cabal
23
issues: #6710
4+
prs: #6725
5+
6+
description: {
7+
8+
There was three Flag's. Now they are
9+
10+
- `Flag` (cli parsing)
11+
- `PackageFlag`
12+
- `CompilerFlag`
13+
14+
This allows wild-imports without `hiding (Flag)`.
15+
16+
}

changelog.d/issue-6729

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@ synopsis: Remove local-repo
22
packages: cabal-install
33
issues: #6729
44
prs: #6730
5+
6+
description: {
7+
8+
This functionality was mainly used by removed sandboxes.
9+
`file+noindex` repositories are better variant for local package repositories.
10+
11+
}

changelog.d/issue-6807

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
synopsis: Add list-bin command
22
packages: cabal-install
33
issues: #6807
4+
prs: #6931
5+
significance: significant
6+
7+
description: {
8+
9+
`cabal list-bin executable-component` tells the path to the build artifact.
10+
11+
}

changelog.d/linux-androideabi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
synopsis: Accept "linux-androideabi" as an alias for Android for determining buildOS
2+
prs: #6949 #6301
3+
packages: Cabal
4+
5+
description: {
6+
7+
`Cabal` will able to parse `linux-androideabi` from the value of `System.Info.os`.
8+
9+
}

changelog.d/man-command

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
synopsis: Change manpage command to man
2+
packages: cabal-install
23
prs: #6548

0 commit comments

Comments
 (0)