Hello community, here is the log from the commit of package stack for openSUSE:Factory checked in at 2019-06-19 21:12:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/stack (Old) and /work/SRC/openSUSE:Factory/.stack.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "stack" Wed Jun 19 21:12:47 2019 rev:21 rq:710654 version:2.1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/stack/stack.changes 2019-04-28 20:14:19.910385724 +0200 +++ /work/SRC/openSUSE:Factory/.stack.new.4811/stack.changes 2019-06-19 21:13:30.422807903 +0200 @@ -1,0 +2,317 @@ +Mon Jun 17 02:01:48 UTC 2019 - [email protected] + +- Update stack to version 2.1.1.1. + ## v2.1.1.1 + + Hackage-only release that removes `stack.yaml` from the sdist. This is because + `stack.yaml` now defines a multi-package project, whereas Hackage works on the + basis on individual packages (see + [#4860](https://github.com/commercialhaskell/stack/issues/4860)) + + If building a `stack` executable for distribution, please download the + source code from https://github.com/commercialhaskell/stack/releases/tag/v2.1.1 + and build it using Stack itself in order to ensure identical behaviour + to official binaries. This package on Hackage is provided for convenience + and bootstrapping purposes. + +------------------------------------------------------------------- +Fri Jun 14 02:03:36 UTC 2019 - [email protected] + +- Update stack to version 2.1.1. + ## v2.1.1 + + **Changes since v1.9.3** + + Major changes: + + * Switch over to pantry for managing packages. This is a major change + to Stack's internals, and affects user-visible behavior in a few + places. Some highlights: + * Drop support for multiple package indices and legacy + `00-index.tar` style indices. See + [#4137](https://github.com/commercialhaskell/stack/issues/4137). + * Support for archives and repos in the `packages` section has + been removed. Instead, you must use `extra-deps` for such + dependencies. `packages` now only supports local filepaths. + * Add support for Git repositories containing (recursive) submodules. + * Addition of new configuration options for specifying a "pantry + tree" key, which provides more reproducibility around builds, + and (in the future) will be used for more efficient package + content downloads. You can also specify package name and version + for more efficient config parsing. + * __NOTE__ The new `stack freeze` command provides support + for automatically generating this additional + information. + * Package contents and metadata are stored in an SQLite database + in place of files on the filesystem. The `pantry` library can be + used for interacting with these contents. + * Internally, Stack has changed many datatypes, including moving + to Cabal's definition of many data types. As a result of such + changes, existing cache files will in general be invalidated, + resulting in Stack needing to rebuild many previously cached + builds in the new version. Sorry :(. + * A new command, `stack freeze` has been added which outputs + project and snapshot definitions with dependencies pinned to + their exact versions. + * The `ignore-revision-mismatch` setting is no longer needed, and + has been removed. + * Overriding GHC boot packages results in any other GHC boot + packages depending on it being no longer available as a dependency, + such packages need to be added explicitly when needed. See + [#4510] (https://github.com/commercialhaskell/stack/issues/4510). + * Cabal solver integration was not updated to support newer + `cabal-install` versions so `stack solver` command was removed as + well as a related option `--solver` from `stack new` and + `stack init`. + * Upgrade to Cabal 2.4 + * Note that, in this process, the behavior of file globbing has + been modified to match that of Cabal. In particular, this means + that for Cabal spec versions less than 2.4, `*.txt` will + match `foo.txt`, but not `foo.2.txt`. + * Remove the `stack image` command. With the advent of Docker multistage + builds, this functionality is no longer useful. For an example, please see + [Building Haskell Apps with + Docker](https://www.fpcomplete.com/blog/2017/12/building-haskell-apps-with-docker). + * Support building GHC from source (experimental) + * Stack now supports building and installing GHC from source. The built GHC + is uniquely identified by a commit id and an Hadrian "flavour" (Hadrian is + the newer GHC build system), hence `compiler` can be set to use a GHC + built from source with `ghc-git-COMMIT-FLAVOUR` + * `stack.yaml` now supports a `configure-options`, which are passed directly to + the `configure` step in the Cabal build process. See + [#1438](https://github.com/commercialhaskell/stack/issues/1438) + * Remove support for building GHCJS itself. Future releases of Stack + may remove GHCJS support entirely. + * Support for lock files for pinning exact project dependency versions + + Behavior changes: + + * `stack.yaml` now supports `snapshot`: a synonym for `resolver`. See + [#4256](https://github.com/commercialhaskell/stack/issues/4256) + * `stack script` now passes `-i -idir` in to the `ghc` + invocation. This makes it so that the script can import local + modules, and fixes an issue where `.hs` files in the current + directory could affect interpretation of the script. See + [#4538](https://github.com/commercialhaskell/stack/pull/4538) + * When using `stack script`, custom snapshot files will be resolved + relative to the directory containing the script. + * Remove the deprecated `--upgrade-cabal` flag to `stack setup`. + * Support the `drop-packages` field in `stack.yaml` + * Remove the GPG signing code during uploads. The GPG signatures have + never been used yet, and there are no plans to implement signature + verification. + * Remove the `--plain` option for the `exec` family of commands + * Always use the `--exact-configuration` Cabal configuration option when + building (should mostly be a non-user-visible enhancement). + * No longer supports Cabal versions older than `1.19.2`. This means + projects using snapshots earlier than `lts-3.0` or + `nightly-2015-05-05` will no longer build. + * Remove the `stack docker cleanup` command. Docker itself now has + [`docker image prune`](https://docs.docker.com/engine/reference/commandline/image_prune/) + and + [`docker container prune`](https://docs.docker.com/engine/reference/commandline/container_prune/), + which you can use instead. + * Interleaved output is now turned on by default, see + [#4702](https://github.com/commercialhaskell/stack/issues/4702). In + addition, the `packagename> ` prefix is no longer included in + interelaved mode when only building a single target. + * The `-fhide-source-paths` GHC option is now enabled by default and + can be disabled via the `hide-source-paths` configuration option in + `stack.yaml`. See [#3784](https://github.com/commercialhaskell/stack/issues/3784) + * Stack will reconfigure a package if you modify your `PATH` environment + variable. See + [#3138](https://github.com/commercialhaskell/stack/issues/3138). + * For GHC 8.4 and later, disable the "shadowed dependencies" workaround. This + means that Stack will no longer have to force reconfigures as often. See + [#3554](https://github.com/commercialhaskell/stack/issues/3554). + * When building a package, Stack takes a lock on the dist directory in + use to avoid multiple runs of Stack from trampling each others' + files. See + [#2730](https://github.com/commercialhaskell/stack/issues/2730). + * Stack will check occassionally if there is a new version available and prompt + the user to upgrade. This will not incur any additional network traffic, as + it will piggy-back on the existing Hackage index updates. You can set + `recommend-stack-upgrade: false` to bypass this. See + [#1681](https://github.com/commercialhaskell/stack/issues/1681). + * `stack list-dependencies` has been removed in favour of `stack ls dependencies`. + * The new default for `--docker-auto-pull` is enabled. See + [#3332](https://github.com/commercialhaskell/stack/issues/3332). + + Other enhancements: + + * Support MX Linux in get-stack.sh. Fixes + [#4769](https://github.com/commercialhaskell/stack/issues/4769). + * Defer loading up of files for local packages. This allows us to get + plan construction errors much faster, and avoid some unnecessary + work when only building a subset of packages. This is especially + useful for the curator use case. + * Existing global option `--color=WHEN` is now also available as a + non-project-specific yaml configuration parameter `color:`. + * Adopt the standard proposed at http://no-color.org/, that color should not be + added by default if the `NO_COLOR` environment variable is present. + * New command `stack ls stack-colors` lists the styles and the associated 'ANSI' + control character sequences that stack uses to color some of its output. See + `stack ls stack-colors --help` for more information. + * New global option `--stack-colors=STYLES`, also available as a + non-project-specific yaml configuration parameter, allows a stack user to + redefine the default styles that stack uses to color some of its output. See + `stack --help` for more information. + * British English spelling of 'color' (colour) accepted as an alias for + `--color`, `--stack-colors`, `stack ls stack-colors` at the command line and + for `color:` and `stack-colors:` in yaml configuration files. + * New build option `--ddump-dir`. (See + [#4225](https://github.com/commercialhaskell/stack/issues/4225)) + * Stack parses and respects the `preferred-versions` information from + Hackage for choosing latest version of a package in some cases, + e.g. `stack unpack packagename`. + * The components output in the `The main module to load is ambiguous` message + now include package names so they can be more easily copy-pasted. + * Git repos are shared across multiple projects. See + [#3551](https://github.com/commercialhaskell/stack/issues/3551) + * Use en_US.UTF-8 locale by default in pure Nix mode so programs won't + crash because of Unicode in their output + [#4095](https://github.com/commercialhaskell/stack/issues/4095) + * Add `--tree` to `ls dependencies` to list dependencies as tree. + [#4101](https://github.com/commercialhaskell/stack/issues/4101) + * Add `--pedantic` to `ghci` to run with `-Wall` and `-Werror` + [#4463](https://github.com/commercialhaskell/stack/issues/4463) + * Add `--cabal-files` flag to `stack ide targets` command. + * Add `--stdout` flag to all `stack ide` subcommands. + * Use batches when unregistering packages with `ghc-pkg`. + (See [#2662](https://github.com/commercialhaskell/stack/issues/2662)) + * `get-stack` script now works on Windows CI machines of Appveyor, + Travis and Azure Pipelines. See + [#4535](https://github.com/commercialhaskell/stack/issues/4535)/ + * Show snapshot being used when `stack ghci` is invoked outside of a project + directory. See + [#3651](https://github.com/commercialhaskell/stack/issues/3651) + * The script interpreter now accepts a `--extra-dep` flag for adding + packages not present in the snapshot. Currently, this only works + with packages from Hackage, not Git repos or archives. + * When using the script interpreter with `--optimize` or `--compile`, + Stack will perform an optimization of checking whether a newer + executable exists, making reruns significantly faster. There's a + downside to this, however: if you have a multifile script, and + change one of the dependency modules, Stack will not automatically + detect and recompile. + * `stack clean` will delete the entire `.stack-work/dist` directory, ++++ 120 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/stack/stack.changes ++++ and /work/SRC/openSUSE:Factory/.stack.new.4811/stack.changes Old: ---- stack-1.9.3.1.tar.gz New: ---- stack-2.1.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stack.spec ++++++ --- /var/tmp/diff_new_pack.pYLca8/_old 2019-06-19 21:13:31.726809232 +0200 +++ /var/tmp/diff_new_pack.pYLca8/_new 2019-06-19 21:13:31.754809260 +0200 @@ -19,25 +19,26 @@ %global pkg_name stack %bcond_with tests Name: %{pkg_name} -Version: 1.9.3.1 +Version: 2.1.1.1 Release: 0 Summary: The Haskell Tool Stack License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/2.cabal#/%{name}.cabal +Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal Patch01: enable-undecidable-instances-extension.patch BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-annotated-wl-pprint-devel BuildRequires: ghc-ansi-terminal-devel +BuildRequires: ghc-array-devel BuildRequires: ghc-async-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-base64-bytestring-devel -BuildRequires: ghc-bindings-uname-devel BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-colour-devel BuildRequires: ghc-conduit-devel BuildRequires: ghc-conduit-extra-devel BuildRequires: ghc-containers-devel @@ -55,16 +56,17 @@ BuildRequires: ghc-generic-deriving-devel BuildRequires: ghc-hackage-security-devel BuildRequires: ghc-hashable-devel +BuildRequires: ghc-hi-file-parser-devel BuildRequires: ghc-hpack-devel BuildRequires: ghc-hpc-devel BuildRequires: ghc-http-client-devel BuildRequires: ghc-http-client-tls-devel BuildRequires: ghc-http-conduit-devel +BuildRequires: ghc-http-download-devel BuildRequires: ghc-http-types-devel BuildRequires: ghc-memory-devel BuildRequires: ghc-microlens-devel BuildRequires: ghc-mintty-devel -BuildRequires: ghc-monad-logger-devel BuildRequires: ghc-mono-traversable-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-mustache-devel @@ -72,6 +74,7 @@ BuildRequires: ghc-network-uri-devel BuildRequires: ghc-open-browser-devel BuildRequires: ghc-optparse-applicative-devel +BuildRequires: ghc-pantry-tmp-devel BuildRequires: ghc-path-devel BuildRequires: ghc-path-io-devel BuildRequires: ghc-persistent-devel @@ -82,19 +85,20 @@ BuildRequires: ghc-process-devel BuildRequires: ghc-project-template-devel BuildRequires: ghc-regex-applicative-text-devel +BuildRequires: ghc-resource-pool-devel BuildRequires: ghc-resourcet-devel BuildRequires: ghc-retry-devel BuildRequires: ghc-rio-devel +BuildRequires: ghc-rio-prettyprint-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-semigroups-devel BuildRequires: ghc-split-devel BuildRequires: ghc-stm-devel -BuildRequires: ghc-store-core-devel -BuildRequires: ghc-store-devel BuildRequires: ghc-streaming-commons-devel BuildRequires: ghc-tar-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-temporary-devel +BuildRequires: ghc-terminal-size-devel BuildRequires: ghc-text-devel BuildRequires: ghc-text-metrics-devel BuildRequires: ghc-th-reify-many-devel @@ -120,6 +124,7 @@ %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hspec-devel +BuildRequires: ghc-raw-strings-qq-devel BuildRequires: ghc-smallcheck-devel %endif @@ -133,6 +138,9 @@ * Testing your project. * Benchmarking your project. +Please see the documentation at <https://docs.haskellstack.org> for further +information. + %package -n ghc-%{name} Summary: Haskell %{name} library Group: System/Libraries ++++++ enable-undecidable-instances-extension.patch ++++++ --- /var/tmp/diff_new_pack.pYLca8/_old 2019-06-19 21:13:32.198809713 +0200 +++ /var/tmp/diff_new_pack.pYLca8/_new 2019-06-19 21:13:32.218809733 +0200 @@ -1,12 +1,9 @@ -Index: stack-1.9.3.1/src/Stack/Docker/GlobalDB.hs +Index: stack-2.1.1.1/src/Stack/Storage.hs =================================================================== ---- stack-1.9.3.1.orig/src/Stack/Docker/GlobalDB.hs 2019-04-17 12:43:52.000000000 +0000 -+++ stack-1.9.3.1/src/Stack/Docker/GlobalDB.hs 2019-04-26 20:54:25.561647858 +0000 -@@ -2,6 +2,7 @@ - {-# LANGUAGE QuasiQuotes, TemplateHaskell, TypeFamilies, OverloadedStrings, - GADTs, FlexibleContexts, MultiParamTypeClasses, GeneralizedNewtypeDeriving, - RankNTypes, NamedFieldPuns #-} +--- stack-2.1.1.1.orig/src/Stack/Storage.hs 2019-06-18 17:43:10.714699851 +0000 ++++ stack-2.1.1.1/src/Stack/Storage.hs 2019-06-18 17:43:23.411761299 +0000 +@@ -1,3 +1,4 @@ +{-# LANGUAGE UndecidableInstances #-} - - -- | Global sqlite database shared by all projects. - -- Warning: this is currently only accessible from __outside__ a Docker container. + {-# LANGUAGE FlexibleInstances #-} + {-# LANGUAGE GADTs #-} + {-# LANGUAGE GeneralizedNewtypeDeriving #-} ++++++ stack-1.9.3.1.tar.gz -> stack-2.1.1.1.tar.gz ++++++ ++++ 40086 lines of diff (skipped) ++++++ stack.cabal ++++++ ++++ 779 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/stack/stack.cabal ++++ and /work/SRC/openSUSE:Factory/.stack.new.4811/stack.cabal
