Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed Jul 10, 2020
1 parent 30998b3 commit d5eba37
Show file tree
Hide file tree
Showing 51 changed files with 281 additions and 100 deletions.
2 changes: 2 additions & 0 deletions changelog.d/Cabal-QuickCheck
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: Cabal-QuickCheck package
prs: #6557
2 changes: 2 additions & 0 deletions changelog.d/Cabal-tree-diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: Create Cabal-tree-diff package
prs: #6789
3 changes: 3 additions & 0 deletions changelog.d/PerCompilerFlavor-functor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
synopsis: Cabal.Distribution.Compiler: add Traversable instance for PerCompilerFlavor
prs: #6763
packages: Cabal
3 changes: 2 additions & 1 deletion changelog.d/active-repositories
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
synopsis: Add active-repositories configuration
packages: cabal-install
prs: #6724
prs: #6724 #6868
issues: #6819
11 changes: 11 additions & 0 deletions changelog.d/added-tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
synopsis: Tests additions
prs: #6753 #6759 #6802 #6842 #6872
issues: #6409

description: {

- Add shrinker, so writing big non-generic product shrinkers is easier
- Add hs-source-dirs: NL . test-case
- Add public multilib test(s)

}
3 changes: 3 additions & 0 deletions changelog.d/build-reports
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
synopsis: Change BuildReports parse/pretty to use FieldGrammar framework
prs: #6783
packages: cabal-install
3 changes: 2 additions & 1 deletion changelog.d/cabal-init
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
synopsis: Various `cabal init` improvements
packages: cabal-install
prs: #6619 #6661 #6641 #6650 #6603 #6632 #6607
prs: #6619 #6661 #6641 #6650 #6603 #6632 #6607 #6678 #6690 #6705 #6723

description: {
- Default to `cabal-version: 2.4`
Expand All @@ -9,6 +9,7 @@ description: {
- Fix an infinite loop when invalid license was passed on command line
- `Setup.hs` is not written anymore
- Default to --source-dir=src and --application-dir=app
- Add FileCreators.generateCabalFile unit tests.

TODO: complete the description
}
11 changes: 11 additions & 0 deletions changelog.d/cabal-sdist
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
synopsis: Remove `v1-sdist` command. (TODO: change to sdist imporvements)
issues: #6635 #4267 #6683
prs: #6637 #6640 #6660 #6666 #6618 #6681 #6806

description: {

TBW:

Fix sdist permissions

}
8 changes: 8 additions & 0 deletions changelog.d/cabal-spec-3.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
synopsis: Add cabal-version: 3.4
prs: #6663

description: {

TBW: link to spec

}
8 changes: 8 additions & 0 deletions changelog.d/cabal-testsuite
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
synopsis: Improvements to cabal-testsuite framework
prs: #6643

desciption: {

- setupAndCabalTest uses cabal act-as-setup for cabal part

}
3 changes: 3 additions & 0 deletions changelog.d/cabalInstallVersion
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
synopsis: Refactor cabalInstallVersions, add make doctest-cli
packages: cabal-install
prs: #6720
2 changes: 2 additions & 0 deletions changelog.d/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: Changelog entries
prs: #6634 #6950
14 changes: 14 additions & 0 deletions changelog.d/ci
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,17 @@ synopsis: CI tweaks
prs:
#6494
#6518
#6559
#6564
#6571
#6577
#6578
#6579
#6585
#6617
#6636
#6709
#6827
#6831
issues:
#6500
16 changes: 16 additions & 0 deletions changelog.d/code-organization
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
synopsis: Code organization
prs: #6599 #6642 #6734 #6745 #6746 #6817 #6818 #6821 #6867

description: {

- Split D.Client.Types module
- Move cabal-testsuite code into `src/`
- Add ProjectFlags
- Make NixStyleOptions
- Internal refactorings to install command.
- Make own modules for InstallMethod and OverwritePolicy
- Make cabal-install compilable with NoImplicitPrelude
- Refactor shared TargetProblem data types into their own module.
- Template cabal-install.cabal using zinza

}
2 changes: 2 additions & 0 deletions changelog.d/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: Update copyright years to 2020
prs: #6644
15 changes: 15 additions & 0 deletions changelog.d/dependency
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
synopsis: Dependency type refactorings
packages: Cabal
prs: #6798 #6768
issues: #5570

description: {

With additions of (public) sublibraries, `Dependency` type use for multiple needs become painful.
Therefore a new type `PackageVersionConstraint` was added to serve *constraint on package* use-case.
`Dependency` type is *dependency on a library component*, i.e. representing `build-depends` entry.

- Use PackageVersionConstraint more
- Add NonEmptySet and use it in Dependency

}
2 changes: 2 additions & 0 deletions changelog.d/described
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: Grammar / Described
prs: #6591 #6593 #6704 #6766 #6778 #6780 #6781 #6791 #6800
2 changes: 1 addition & 1 deletion changelog.d/documentation
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
synopsis: Documentation updates
prs: #6613
prs: #6613 #6560 #6660 #6668 #6669 #6697 #6761
8 changes: 8 additions & 0 deletions changelog.d/expose-all-unfoldings
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
synopsis: Add -fexpose-all-unfoldings to parsec and Cabal in release project
prs: #6708

description: {

This makes parser faster.

}
3 changes: 3 additions & 0 deletions changelog.d/flag-assignment
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
synopsis: Flag assignment parsing refactorings
prs: #6854 #6858
issues: #6853
11 changes: 11 additions & 0 deletions changelog.d/ghc-8.12
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
synopsis: Support GHC-8.12
prs: #6735 #6844 #6865

description: {

- Support for -this-package-key deprecation
- Use process createPipe
- TODO: add simplified subsumption here


}
3 changes: 2 additions & 1 deletion changelog.d/index-state
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
synopsis: More rich `index-state` syntax. `v2-freeze` saves `index-state`.
packages: cabal-install
prs: #6596 #6581 #6597
prs: #6596 #6581 #6597 #6591 #6682 #6733
issues: #6728
2 changes: 2 additions & 0 deletions changelog.d/install-prints-destination
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: Installing (copy or symlink) executable message prints destination.
prs: #6590 #6582
13 changes: 13 additions & 0 deletions changelog.d/issue-5973
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
synopsis: Use default install directory if not specified
prs: #6624
issues: #5973

description: {

Cabal 3.0.0.0 added the --installdir option to specify the location that
binaries should be installed in. Running a cabal user-config update would
populate the config file with the default value, but the cabal install program
would error if it wasn't set. This change uses the default value that would be
written to the config if its unset, and outputs a warning.

}
5 changes: 5 additions & 0 deletions changelog.d/issue-6150
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
synopsis: Default cabal init application-dir to app, and source-dir to src.
issues: #6150
prs: #6676

description: Add FileCreators.generateCabalFile unit tests.
13 changes: 13 additions & 0 deletions changelog.d/issue-6565
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
synopsis: Update GHC environment location (fixes #6565)
prs: #6822
issues: #6565
packages: cabal-install

description: {

cabal-install currently assumes that the GHC environment files are always located in `$HOME/.ghc/`.
However, GHC itself doesn't query the home directory directly.
Instead, it uses `getAppUserDataDirectory "ghc"` which happens to coincide with `$HOME/.ghc`/ on UNIX systems.
On Windows, however, GHC ends up looking in `%APPDATA%/ghc/`.

}
1 change: 1 addition & 0 deletions changelog.d/issue-6589
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
synopsis: Remove `-any` and `-none` syntax for version ranges in cabal-version: 3.4
issues: #6589
prs: #6786

description:
Use `>=0` (or empty in dependencies) and `<0` respectively.
9 changes: 9 additions & 0 deletions changelog.d/issue-6610
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
synopsis: Add pijul to known repository type
issues: #6610
prs: #6684

description: {

Add pijul to known repository type

}
3 changes: 3 additions & 0 deletions changelog.d/issue-6622
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
synopsis: Prepend hs-source-dir to match-component, fixes `cabal repl file`
prs: #6623 #6826
issues: #6622
3 changes: 0 additions & 3 deletions changelog.d/issue-6635

This file was deleted.

5 changes: 5 additions & 0 deletions changelog.d/issue-6675
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
synopsis: Default to SPDX.NONE license in cabal init interactive mode.
issues: #6675
prs: #6677

description: TODO merge with cabal-init
9 changes: 9 additions & 0 deletions changelog.d/issue-6691
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
synopsis: Remove upgrade, uninstall and win32selfupgrade commands
issues: #6691
prs: #6707

description: {

Remove unimplemented commands. TBW note about win32selfupgrade

}
4 changes: 4 additions & 0 deletions changelog.d/issue-6729
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
synopsis: Remove local-repo
packages: cabal-install
issues: #6729
prs: #6730
1 change: 1 addition & 0 deletions changelog.d/issue-6869
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
synopsis: cxx-sources, asm-sources and cmm-sources are change-tracked
packages: cabal-install
issues: #6869
prs: #6870
9 changes: 9 additions & 0 deletions changelog.d/others
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
synopsis: other changes
prs:
-- Expand elem
#6556

--
#6552

-- Add forEachGPD to hackage-tests
#6598
8 changes: 8 additions & 0 deletions changelog.d/parser-benchmark
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
synopsis: Parser benchmark
prs: #6594

description: {

TBW... (easier to assert parser changes)

}
3 changes: 0 additions & 3 deletions changelog.d/pr-6798

This file was deleted.

9 changes: 9 additions & 0 deletions changelog.d/refactor-packagedescription-module
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
synopsis: Refactor Distribution.PackageDescription module
prs: #6855
packages: Cabal

description: {

Now it re-exports a collection of modules, not individual symbols.

}
4 changes: 4 additions & 0 deletions changelog.d/remove-sandbox
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
synopsis: Remove sandboxes
prs: #6747
issues: #6445
packages: cabal-install
11 changes: 11 additions & 0 deletions changelog.d/remove-text
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
synopsis: Remove text type-class
packages: cabal-install
prs: #6764 #6777 #6784 #6785 #6793 #6794

description: {

`Text` type-class was removed from `Cabal`, but it still lived in `cabal-install`.
Now it is finally removed.
`cabal-install` is still using `ReadP` parsers for various things though.

}
15 changes: 15 additions & 0 deletions changelog.d/rename-flag-types
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
synopsis: Rename Flag types
prs: #6725
packages: Cabal

description: {

There was three Flag's. Now they are

- `Flag` (cli parsing)
- `PackageFlag`
- `CompilerFlag`

This allows wild-imports without `hiding (Flag)`.

}
2 changes: 2 additions & 0 deletions changelog.d/rewriteFileLBS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: Add rewriteFileLBS and use it to write setup wrapper
prs: #6574
7 changes: 7 additions & 0 deletions changelog.d/simpified-subsumption
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
synopsis: Adopt to simplified subsumption
prs: #6553 #6563 #6545

description: {
There are no magical 'IO =`WithCallStack Prelude.IO` alias in Cabal,
as it is hard to get working with GHC-8.12's simplified subsumption.
}
2 changes: 2 additions & 0 deletions changelog.d/spdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: Add SPDX License List 3.9
prs: #6662
3 changes: 3 additions & 0 deletions changelog.d/specVersion-type
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
synopsis: Change specVersion to have CabalSpecVersion type
prs: #6653
packages: Cabal
2 changes: 1 addition & 1 deletion changelog.d/typo-fixes
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
synopsis: Various small typo fixes
prs: #6504
prs: #6504 #6550 #6686

description: {
IndexUtils: Add missing whitespace in warning
Expand Down
2 changes: 2 additions & 0 deletions changelog.d/version-range-parser
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: More checks in version range parser
prs: #6586
8 changes: 8 additions & 0 deletions changelog.d/version-type
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
synopsis: Remove AnyVersion and WildcardVersion constructors from Version
prs: #6742

description: {

Make Version type less "syntactic"

}
2 changes: 2 additions & 0 deletions changelog.d/versions-exact
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: Require cabal-versions `>=1.25` to be exact
prs: #6654
2 changes: 2 additions & 0 deletions changelog.d/weeder
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
synopsis: Add / use weeder
prs: #6779 #6790
Loading

0 comments on commit d5eba37

Please sign in to comment.