openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
August 2022
- 1 participants
- 2549 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-snap-server for openSUSE:Factory checked in at 2022-08-01 21:31:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-snap-server (Old)
and /work/SRC/openSUSE:Factory/.ghc-snap-server.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-snap-server"
Mon Aug 1 21:31:16 2022 rev:5 rq:987146 version:1.1.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-snap-server/ghc-snap-server.changes 2021-03-28 11:58:03.892314405 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-snap-server.new.1533/ghc-snap-server.changes 2022-08-01 21:32:02.073938013 +0200
@@ -1,0 +2,6 @@
+Fri Apr 22 13:39:33 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update snap-server to version 1.1.2.0 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
snap-server.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-snap-server.spec ++++++
--- /var/tmp/diff_new_pack.g9Qw9x/_old 2022-08-01 21:32:02.925940457 +0200
+++ /var/tmp/diff_new_pack.g9Qw9x/_new 2022-08-01 21:32:02.929940469 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-snap-server
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-blaze-builder-devel
@@ -88,8 +89,9 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
cabal-tweak-dep-ver 'attoparsec' '< 0.14' '< 0.15'
-cabal-tweak-dep-ver 'base' '< 4.15' '< 5'
+cabal-tweak-dep-ver 'unix-compat' '< 0.6' '< 1'
%build
%ghc_lib_build
++++++ snap-server.cabal ++++++
name: snap-server
version: 1.1.2.0
x-revision: 1
synopsis: A web server for the Snap Framework
description:
Snap is a simple and fast web development framework and server written in
Haskell. For more information or to download the latest version, you can
visit the Snap project website at <http://snapframework.com/>.
.
The Snap HTTP server is a high performance web server library written in
Haskell. Together with the @snap-core@ library upon which it depends, it
provides a clean and efficient Haskell programming interface to the HTTP
protocol.
license: BSD3
license-file: LICENSE
author: Snap Framework Authors (see CONTRIBUTORS)
maintainer: snap(a)snapframework.com
build-type: Simple
cabal-version: >= 1.10
homepage: http://snapframework.com/
bug-reports: https://github.com/snapframework/snap-server/issues
category: Web, Snap, IO-Streams
extra-source-files:
CONTRIBUTORS,
LICENSE,
README.md,
README.SNAP.md,
test/bad_key.pem,
test/cert.pem,
test/dummy.txt,
test/key.pem,
testserver/static/hello.txt
tested-with:
GHC==7.6.3,
GHC==7.8.4,
GHC==7.10.3,
GHC==8.0.2,
GHC==8.2.2,
GHC==8.4.4,
GHC==8.6.5,
GHC==8.8.3,
GHC==8.10.1
Flag portable
Description: Compile in cross-platform mode. No platform-specific code or
optimizations such as C routines will be used.
Default: False
Flag openssl
Description: Enable https support using the HsOpenSSL library.
Default: False
Manual: True
Flag build-pong
Description: Build a server that just returns "PONG"? Normally useful only
for benchmarks.
Default: False
Manual: True
Flag build-testserver
Description: Build the blackbox testserver?
Default: False
Manual: True
Flag debug
Description: Enable support for debugging.
Default: False
Manual: True
Library
hs-source-dirs: src
Default-language: Haskell2010
exposed-modules:
Snap.Http.Server,
Snap.Http.Server.Config,
Snap.Http.Server.Types,
Snap.Internal.Http.Server.Config,
Snap.Internal.Http.Server.Types,
System.FastLogger
other-modules:
Paths_snap_server,
Control.Concurrent.Extended,
Snap.Internal.Http.Server.Address,
Snap.Internal.Http.Server.Clock,
Snap.Internal.Http.Server.Common,
Snap.Internal.Http.Server.Date,
Snap.Internal.Http.Server.Parser,
Snap.Internal.Http.Server.Session,
Snap.Internal.Http.Server.Socket,
Snap.Internal.Http.Server.Thread,
Snap.Internal.Http.Server.TimeoutManager,
Snap.Internal.Http.Server.TLS
build-depends:
attoparsec >= 0.12 && < 0.14,
base >= 4.6 && < 4.16,
blaze-builder >= 0.4 && < 0.5,
bytestring >= 0.9.1 && < 0.12,
bytestring-builder >= 0.10.4 && < 0.11,
case-insensitive >= 1.1 && < 1.3,
clock >= 0.7.1 && < 0.9,
containers >= 0.3 && < 0.7,
filepath >= 1.1 && < 2.0,
io-streams >= 1.3 && < 1.6,
io-streams-haproxy >= 1.0 && < 1.1,
lifted-base >= 0.1 && < 0.3,
mtl >= 2.0 && < 2.3,
network >= 2.3 && < 3.2,
old-locale >= 1.0 && < 1.1,
snap-core >= 1.0 && < 1.1,
text >= 0.11 && < 1.3,
time >= 1.0 && < 1.13,
transformers >= 0.3 && < 0.6,
unix-compat >= 0.2 && < 0.6,
vector >= 0.7 && < 0.13
other-extensions:
BangPatterns,
CPP,
MagicHash,
Rank2Types,
OverloadedStrings,
ScopedTypeVariables,
DeriveDataTypeable,
PackageImports,
ViewPatterns,
ForeignFunctionInterface,
EmptyDataDecls,
GeneralizedNewtypeDeriving
if !impl(ghc >= 8.0)
build-depends: semigroups >= 0.16 && < 0.19
if flag(portable) || os(windows)
cpp-options: -DPORTABLE
else
build-depends: unix < 2.8
if flag(openssl)
cpp-options: -DOPENSSL
build-depends: HsOpenSSL >= 0.10.4 && < 0.12,
openssl-streams >= 1.1 && < 1.3
if os(linux) && !flag(portable)
cpp-options: -DLINUX -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
other-modules:
System.SendFile,
System.SendFile.Linux
-- Disabling sendfile() on OSX for now. See
--
-- https://github.com/snapframework/snap-core/issues/274 and
-- https://github.com/snapframework/snap-core/issues/91
--
if os(darwin) && !flag(portable)
cpp-options: -DHAS_UNIX_SOCKETS
-- if os(darwin) && !flag(portable)
-- cpp-options: -DOSX -DHAS_UNIX_SOCKETS
if os(freebsd) && !flag(portable)
cpp-options: -DFREEBSD -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
other-modules:
System.SendFile,
System.SendFile.FreeBSD
if impl(ghc >= 6.12.0)
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -fno-warn-unused-do-bind
else
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
if flag(debug)
cpp-options: -DLABEL_THREADS
Test-suite testsuite
hs-source-dirs: src test
Type: exitcode-stdio-1.0
Main-is: TestSuite.hs
Default-language: Haskell2010
other-modules:
Control.Concurrent.Extended,
Paths_snap_server,
Snap.Http.Server,
Snap.Http.Server.Config,
Snap.Http.Server.Types,
Snap.Internal.Http.Server.Address,
Snap.Internal.Http.Server.Clock,
Snap.Internal.Http.Server.Common,
Snap.Internal.Http.Server.Config,
Snap.Internal.Http.Server.Date,
Snap.Internal.Http.Server.Parser,
Snap.Internal.Http.Server.Session,
Snap.Internal.Http.Server.Socket,
Snap.Internal.Http.Server.Thread,
Snap.Internal.Http.Server.TimeoutManager,
Snap.Internal.Http.Server.TLS
Snap.Internal.Http.Server.Types,
System.FastLogger,
Snap.Internal.Http.Server.Address.Tests,
Snap.Internal.Http.Server.Parser.Tests,
Snap.Internal.Http.Server.Session.Tests,
Snap.Internal.Http.Server.Socket.Tests,
Snap.Internal.Http.Server.TimeoutManager.Tests,
Snap.Test.Common,
Test.Blackbox,
Test.Common.Rot13,
Test.Common.TestHandler
build-depends:
attoparsec,
base,
base16-bytestring >= 0.1 && < 1.1,
blaze-builder,
bytestring-builder,
bytestring,
case-insensitive,
clock,
containers,
directory >= 1.1 && < 1.4,
filepath,
io-streams,
io-streams-haproxy,
lifted-base,
monad-control >= 1.0 && < 1.1,
mtl,
network,
old-locale,
random >= 1.0 && < 1.3,
snap-core,
text,
threads >= 0.5 && < 0.6,
time,
transformers >= 0.3 && < 0.6,
unix-compat,
vector,
HUnit >= 1.2 && < 2,
QuickCheck >= 2.3.0.2 && < 3,
deepseq >= 1.3 && < 2,
http-streams >= 0.7 && < 0.9,
http-common >= 0.7 && < 0.9,
parallel >= 3 && < 4,
test-framework >= 0.8.0.3 && < 0.9,
test-framework-hunit >= 0.2.7 && < 0.4,
test-framework-quickcheck2 >= 0.2.12.1 && < 0.4
other-extensions:
BangPatterns,
CPP,
MagicHash,
Rank2Types,
OverloadedStrings,
ScopedTypeVariables,
DeriveDataTypeable,
PackageImports,
ViewPatterns,
ForeignFunctionInterface,
EmptyDataDecls,
GeneralizedNewtypeDeriving
if !impl(ghc >= 8.0)
build-depends: semigroups
if flag(portable) || os(windows)
cpp-options: -DPORTABLE
else
build-depends: unix
-- always label threads in testsuite
cpp-options: -DLABEL_THREADS
if flag(openssl)
cpp-options: -DOPENSSL
build-depends: HsOpenSSL,
openssl-streams
if os(linux) && !flag(portable)
cpp-options: -DLINUX -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
other-modules:
System.SendFile,
System.SendFile.Linux,
System.SendFile.Tests
c-sources: test/cbits/errno_util.c
if os(darwin) && !flag(portable)
cpp-options: -DHAS_UNIX_SOCKETS
-- if os(darwin) && !flag(portable)
-- cpp-options: -DOSX -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
-- other-modules:
-- System.SendFile,
-- System.SendFile.Darwin,
-- System.SendFile.Tests
-- c-sources: test/cbits/errno_util.c
if os(freebsd) && !flag(portable)
cpp-options: -DFREEBSD -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
other-modules:
System.SendFile,
System.SendFile.FreeBSD,
System.SendFile.Tests
c-sources: test/cbits/errno_util.c
cpp-options: -DTESTSUITE
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-unused-do-bind -threaded
Benchmark benchmark
type: exitcode-stdio-1.0
hs-source-dirs: benchmark src
main-is: Benchmark.hs
default-language: Haskell2010
other-modules:
Snap.Internal.Http.Parser.Benchmark,
Snap.Internal.Http.Parser.Data,
Snap.Internal.Http.Server.Parser
build-depends:
attoparsec,
base,
blaze-builder,
bytestring,
bytestring-builder,
criterion >= 0.6 && < 1.6,
io-streams,
io-streams-haproxy,
snap-core,
transformers,
vector
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-unused-do-bind -rtsopts
other-extensions:
BangPatterns,
CPP,
MagicHash,
Rank2Types,
OverloadedStrings,
ScopedTypeVariables,
DeriveDataTypeable,
PackageImports,
ViewPatterns,
ForeignFunctionInterface,
EmptyDataDecls,
GeneralizedNewtypeDeriving
Executable snap-test-pong-server
hs-source-dirs: src pong
main-is: Main.hs
if !flag(build-pong)
buildable: False
default-language: Haskell2010
other-modules:
Paths_snap_server,
Snap.Internal.Http.Server.Address,
Snap.Internal.Http.Server.Clock,
Snap.Internal.Http.Server.Common,
Snap.Internal.Http.Server.Config,
Snap.Internal.Http.Server.Date,
Snap.Internal.Http.Server.Parser,
Snap.Internal.Http.Server.Session,
Snap.Internal.Http.Server.Socket,
Snap.Internal.Http.Server.Thread,
Snap.Internal.Http.Server.TimeoutManager,
Snap.Internal.Http.Server.TLS,
Snap.Internal.Http.Server.Types
if flag(portable) || os(windows)
cpp-options: -DPORTABLE
else
build-depends: unix
if os(linux) && !flag(portable)
cpp-options: -DLINUX -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
other-modules:
System.SendFile,
System.SendFile.Linux
if os(darwin) && !flag(portable)
cpp-options: -DHAS_UNIX_SOCKETS
-- if os(darwin) && !flag(portable)
-- cpp-options: -DOSX -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
-- other-modules:
-- System.SendFile,
-- System.SendFile.Darwin
if os(freebsd) && !flag(portable)
cpp-options: -DFREEBSD -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
other-modules:
System.SendFile,
System.SendFile.FreeBSD
if flag(openssl)
cpp-options: -DOPENSSL
build-depends: HsOpenSSL,
openssl-streams
build-depends:
attoparsec,
base,
blaze-builder,
bytestring,
bytestring-builder,
case-insensitive,
clock,
containers,
io-streams,
io-streams-haproxy,
lifted-base,
mtl,
network,
old-locale,
snap-core,
text,
time,
unix-compat,
vector
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-unused-do-bind -threaded -rtsopts
other-extensions:
BangPatterns,
CPP,
MagicHash,
Rank2Types,
OverloadedStrings,
ScopedTypeVariables,
DeriveDataTypeable,
PackageImports,
ViewPatterns,
ForeignFunctionInterface,
EmptyDataDecls,
GeneralizedNewtypeDeriving
Executable snap-test-server
hs-source-dirs: src testserver test
main-is: Main.hs
if !flag(build-testserver)
buildable: False
if flag(openssl)
cpp-options: -DOPENSSL
build-depends: HsOpenSSL,
openssl-streams
default-language: Haskell2010
other-modules:
Paths_snap_server,
Snap.Internal.Http.Server.Address,
Snap.Internal.Http.Server.Clock,
Snap.Internal.Http.Server.Common,
Snap.Internal.Http.Server.Config,
Snap.Internal.Http.Server.Date,
Snap.Internal.Http.Server.Parser,
Snap.Internal.Http.Server.Session,
Snap.Internal.Http.Server.Socket,
Snap.Internal.Http.Server.Thread,
Snap.Internal.Http.Server.TimeoutManager,
Snap.Internal.Http.Server.TLS,
Snap.Internal.Http.Server.Types
if flag(portable) || os(windows)
cpp-options: -DPORTABLE
else
build-depends: unix
if os(linux) && !flag(portable)
cpp-options: -DLINUX -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
other-modules:
System.SendFile,
System.SendFile.Linux
if os(darwin) && !flag(portable)
cpp-options: -DHAS_UNIX_SOCKETS
-- if os(darwin) && !flag(portable)
-- cpp-options: -DOSX -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
-- other-modules:
-- System.SendFile,
-- System.SendFile.Darwin
if os(freebsd) && !flag(portable)
cpp-options: -DFREEBSD -DHAS_SENDFILE -DHAS_UNIX_SOCKETS
other-modules:
System.SendFile,
System.SendFile.FreeBSD
build-depends:
attoparsec,
base,
blaze-builder,
bytestring,
bytestring-builder,
case-insensitive,
clock,
containers,
directory,
io-streams,
io-streams-haproxy,
lifted-base,
mtl,
network,
old-locale,
snap-core,
text,
time,
transformers,
unix-compat,
vector
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-unused-do-bind -threaded -rtsopts
other-extensions:
BangPatterns,
CPP,
MagicHash,
Rank2Types,
OverloadedStrings,
ScopedTypeVariables,
DeriveDataTypeable,
PackageImports,
ViewPatterns,
ForeignFunctionInterface,
EmptyDataDecls,
GeneralizedNewtypeDeriving
source-repository head
type: git
location: git://github.com/snapframework/snap-server.git
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-snap-core for openSUSE:Factory checked in at 2022-08-01 21:31:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-snap-core (Old)
and /work/SRC/openSUSE:Factory/.ghc-snap-core.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-snap-core"
Mon Aug 1 21:31:15 2022 rev:5 rq:987145 version:1.0.5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-snap-core/ghc-snap-core.changes 2021-03-28 11:58:03.148313746 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-snap-core.new.1533/ghc-snap-core.changes 2022-08-01 21:32:00.829934444 +0200
@@ -1,0 +2,12 @@
+Wed Apr 20 10:39:19 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update snap-core to version 1.0.5.0 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
+Wed Mar 2 21:40:29 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update snap-core to version 1.0.5.0.
+ Upstream does not provide a change log file.
+
+-------------------------------------------------------------------
Old:
----
snap-core-1.0.4.2.tar.gz
New:
----
snap-core-1.0.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-snap-core.spec ++++++
--- /var/tmp/diff_new_pack.jkp0ME/_old 2022-08-01 21:32:01.585936613 +0200
+++ /var/tmp/diff_new_pack.jkp0ME/_new 2022-08-01 21:32:01.589936625 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-snap-core
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name snap-core
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.0.4.2
+Version: 1.0.5.0
Release: 0
Summary: Snap: A Haskell Web Framework (core interfaces and types)
License: BSD-3-Clause
@@ -101,7 +101,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
-cabal-tweak-dep-ver 'attoparsec' '< 0.14' '< 0.15'
+cabal-tweak-dep-ver 'unix-compat' '< 0.6' '< 1'
%build
%ghc_lib_build
++++++ snap-core-1.0.4.2.tar.gz -> snap-core-1.0.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/CONTRIBUTORS new/snap-core-1.0.5.0/CONTRIBUTORS
--- old/snap-core-1.0.4.2/CONTRIBUTORS 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/CONTRIBUTORS 2001-09-09 03:46:40.000000000 +0200
@@ -9,3 +9,4 @@
Jurri��n Stutterheim <j.stutterheim(a)me.com>
Jasper Van der Jeugt <m(a)jaspervdj.be>
Bryan O'Sullivan <bos(a)serpentine.com>
+Koz Ross <koz(a)mlabs.city>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/cbits/timefuncs.c new/snap-core-1.0.5.0/cbits/timefuncs.c
--- old/snap-core-1.0.4.2/cbits/timefuncs.c 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/cbits/timefuncs.c 2001-09-09 03:46:40.000000000 +0200
@@ -10,9 +10,13 @@
}
+// When given invalid input, returns 0.
time_t c_parse_http_time(char* s) {
+ if (s == NULL) return 0;
struct tm dest;
- strptime(s, "%a, %d %b %Y %H:%M:%S GMT", &dest);
+ if (strptime(s, "%a, %d %b %Y %H:%M:%S GMT", &dest) == NULL) {
+ return 0;
+ }
return timegm(&dest);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/snap-core.cabal new/snap-core-1.0.5.0/snap-core.cabal
--- old/snap-core-1.0.4.2/snap-core.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/snap-core.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
name: snap-core
-version: 1.0.4.2
+version: 1.0.5.0
synopsis: Snap: A Haskell Web Framework (core interfaces and types)
description:
@@ -35,8 +35,8 @@
bug-reports: https://github.com/snapframework/snap-core/issues
category: Web, Snap, IO-Streams
Tested-With: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3,
- GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.3,
- GHC == 8.8.3, GHC == 8.10.1
+ GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,
+ GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.1
extra-source-files:
test/TestSuite.hs,
@@ -112,6 +112,7 @@
Snap.Internal.Debug,
Snap.Internal.Http.Types,
Snap.Internal.Parsing,
+ Snap.Internal.Util.FileServe,
Snap.Test,
Snap.Types.Headers,
Snap.Util.CORS,
@@ -125,15 +126,14 @@
Snap.Internal.Routing,
Snap.Internal.Test.RequestBuilder,
Snap.Internal.Test.Assertions,
- Snap.Internal.Util.FileServe,
Snap.Internal.Util.FileUploads
build-depends:
HUnit >= 1.2 && < 2,
- attoparsec >= 0.12 && < 0.14,
+ attoparsec >= 0.12 && < 0.15,
base >= 4 && < 5,
- bytestring >= 0.9 && < 0.11,
+ bytestring >= 0.9 && < 0.12,
bytestring-builder >= 0.10.4 && < 0.11,
case-insensitive >= 1.1 && < 1.3,
containers >= 0.3 && < 1.0,
@@ -148,7 +148,7 @@
readable >= 0.1 && < 0.4,
regex-posix >= 0.95 && < 1,
text >= 0.11 && < 1.3,
- time >= 1.0 && < 1.11,
+ time >= 1.0 && < 1.14,
transformers >= 0.3 && < 0.6,
transformers-base >= 0.4 && < 0.5,
unix-compat >= 0.3 && < 0.6,
@@ -184,7 +184,7 @@
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
else
- build-depends: fail == 4.9.*, semigroups == 0.18.*
+ build-depends: fail == 4.9.*, semigroups >= 0.18 && < 0.20
if flag(network-uri)
-- Leaving network-uri-2.7.0.0 out for now because it is marked deprecated
@@ -194,6 +194,11 @@
build-depends: network-uri >= 2.5 && < 2.6,
network >= 2.3 && < 2.6
+ if impl(ghc >= 7.6)
+ build-depends: unix-compat >= 0.3 && < 0.6
+ else
+ build-depends: unix-compat >= 0.3 && < 0.5.3
+
Test-suite testsuite
hs-source-dirs: src test
@@ -291,7 +296,7 @@
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
else
- build-depends: fail == 4.9.*, semigroups == 0.18.*
+ build-depends: fail == 4.9.*, semigroups >= 0.18 && < 0.20
other-extensions:
BangPatterns,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/src/Snap/Internal/Http/Types.hs new/snap-core-1.0.5.0/src/Snap/Internal/Http/Types.hs
--- old/snap-core-1.0.4.2/src/Snap/Internal/Http/Types.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/src/Snap/Internal/Http/Types.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1235,6 +1235,8 @@
------------------------------------------------------------------------------
-- | Converts an HTTP timestamp into a 'CTime'.
--
+-- If the given time string is unparseable, this function will return 0.
+--
-- Example:
--
-- @
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/src/Snap/Internal/Parsing.hs new/snap-core-1.0.5.0/src/Snap/Internal/Parsing.hs
--- old/snap-core-1.0.4.2/src/Snap/Internal/Parsing.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/src/Snap/Internal/Parsing.hs 2001-09-09 03:46:40.000000000 +0200
@@ -27,7 +27,15 @@
import Data.Maybe (Maybe (..), maybe)
import Data.Monoid (Monoid (mconcat, mempty), (<>))
import Data.Word (Word8)
-import GHC.Exts (Int (I#), uncheckedShiftRL#, word2Int#)
+import GHC.Exts ( Int (I#)
+ , word2Int#
+#if MIN_VERSION_base(4,16,0)
+ , uncheckedShiftRLWord8#
+ , word8ToWord#
+#else
+ , uncheckedShiftRL#
+#endif
+ )
import GHC.Word (Word8 (..))
import Prelude (Bool (..), Either (..), Enum (fromEnum, toEnum), Eq (..), Num (..), Ord (..), String, and, any, concatMap, elem, error, filter, flip, foldr, fst, id, map, not, otherwise, show, snd, ($), ($!), (&&), (++), (.), (||))
import Snap.Internal.Http.Types (Cookie (Cookie))
@@ -437,6 +445,9 @@
!hi = toDigit $ (c .&. 0xf0) `shiftr` 4
shiftr (W8# a#) (I# b#) = I# (word2Int# (uncheckedShiftRL# a# b#))
+#if MIN_VERSION_base(4,16,0)
+ uncheckedShiftRL# a# b# = word8ToWord# (uncheckedShiftRLWord8# a# b#)
+#endif
------------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/src/Snap/Internal/Test/RequestBuilder.hs new/snap-core-1.0.5.0/src/Snap/Internal/Test/RequestBuilder.hs
--- old/snap-core-1.0.4.2/src/Snap/Internal/Test/RequestBuilder.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/src/Snap/Internal/Test/RequestBuilder.hs 2001-09-09 03:46:40.000000000 +0200
@@ -19,6 +19,7 @@
, evalHandler
, evalHandlerM
, get
+ , head
, postMultipart
, postRaw
, postUrlEncoded
@@ -52,6 +53,7 @@
import qualified Data.Map as Map
import qualified Data.Vector as V
import Data.Word (Word8)
+import Prelude hiding (head)
import Snap.Core (Cookie (Cookie), Method (DELETE, GET, HEAD, POST, PUT), MonadSnap, Params, Request (rqContentLength, rqContextPath, rqCookies, rqHeaders, rqHostName, rqIsSecure, rqMethod, rqParams, rqPathInfo, rqPostParams, rqQueryParams, rqQueryString, rqURI, rqVersion), Response, Snap, deleteHeader, formatHttpTime, getHeader, parseUrlEncoded, printUrlEncoded, runSnap)
import Snap.Internal.Core (evalSnap, fixupResponse)
import Snap.Internal.Http.Types (Request (Request, rqBody), Response (rspBody, rspContentLength), rspBodyToEnum)
@@ -707,6 +709,30 @@
setQueryString params
setRequestPath uri
+------------------------------------------------------------------------------
+-- | Builds an HTTP \"HEAD\" request with the given query parameters.
+--
+-- Example:
+--
+-- @
+-- ghci> :set -XOverloadedStrings
+-- ghci> import qualified "Data.Map" as M
+-- ghci> 'buildRequest' $ 'head' \"\/foo\/bar\" (M.fromList ("param0", ["baz", "quux"])])
+-- HEAD \/foo\/bar?param0=baz¶m0=quux HTTP\/1.1
+-- host: localhost
+--
+-- sn="localhost" c=127.0.0.1:60000 s=127.0.0.1:8080 ctx=\/ clen=n\/a
+-- params: param0: ["baz","quux"]
+-- @
+-- @since 1.0.4.3
+head :: MonadIO m =>
+ ByteString -- ^ request path
+ -> Params -- ^ request's form parameters
+ -> RequestBuilder m ()
+head uri params = do
+ setRequestType . RequestWithRawBody HEAD $ ""
+ setQueryString params
+ setRequestPath uri
------------------------------------------------------------------------------
-- | Builds an HTTP \"DELETE\" request with the given query parameters.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/src/Snap/Internal/Util/FileServe.hs new/snap-core-1.0.5.0/src/Snap/Internal/Util/FileServe.hs
--- old/snap-core-1.0.4.2/src/Snap/Internal/Util/FileServe.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/src/Snap/Internal/Util/FileServe.hs 2001-09-09 03:46:40.000000000 +0200
@@ -24,6 +24,7 @@
, serveFileAs
-- * Internal functions
, decodeFilePath
+ , checkRangeReq
) where
------------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/src/Snap/Test.hs new/snap-core-1.0.5.0/src/Snap/Test.hs
--- old/snap-core-1.0.4.2/src/Snap/Test.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/src/Snap/Test.hs 2001-09-09 03:46:40.000000000 +0200
@@ -19,6 +19,7 @@
-- *** Convenience functions for generating common types of HTTP requests
, get
+ , head
, postUrlEncoded
, postMultipart
, put
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/test/Snap/Test/Tests.hs new/snap-core-1.0.5.0/test/Snap/Test/Tests.hs
--- old/snap-core-1.0.4.2/test/Snap/Test/Tests.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/test/Snap/Test/Tests.hs 2001-09-09 03:46:40.000000000 +0200
@@ -18,7 +18,7 @@
import Data.Text (Text)
import Data.Time.Clock (getCurrentTime)
import Prelude (Bool (True, False), IO, Int, Maybe (Just, Nothing), Monad (..), Ord (..), const, fail, fromIntegral, return, seq, show, ($), ($!), (*), (.))
-import Snap.Core (Cookie (Cookie, cookieExpires), Method (DELETE, GET, Method, PATCH, POST, PUT), Request (rqContentLength, rqContextPath, rqIsSecure, rqMethod, rqParams, rqPathInfo, rqPostParams, rqQueryParams, rqQueryString, rqURI, rqVersion), Snap, expireCookie, extendTimeout, getCookie, getHeader, getParam, logError, readCookie, redirect, runSnap, terminateConnection, writeBS)
+import Snap.Core (Cookie (Cookie, cookieExpires), Method (DELETE, GET, HEAD, Method, PATCH, POST, PUT), Request (rqContentLength, rqContextPath, rqIsSecure, rqMethod, rqParams, rqPathInfo, rqPostParams, rqQueryParams, rqQueryString, rqURI, rqVersion), Snap, expireCookie, extendTimeout, getCookie, getHeader, getParam, logError, readCookie, redirect, runSnap, terminateConnection, writeBS)
import Snap.Internal.Http.Types (Request (..), Response (rspCookies))
import qualified Snap.Internal.Http.Types as T
import Snap.Internal.Test.RequestBuilder (FileData (FileData), MultipartParam (Files, FormData), RequestBuilder, RequestType (DeleteRequest, GetRequest, MultipartPostRequest, RequestWithRawBody, UrlEncodedPostRequest), addCookies, addHeader, buildRequest, delete, evalHandler, get, postMultipart, postRaw, postUrlEncoded, put, requestToString, responseToString, runHandler, setContentType, setHeader, setHttpVersion, setQueryStringRaw, setRequestPath, setRequestType, setSecure)
@@ -104,6 +104,9 @@
request7 <- buildRequest $ setRequestType $ RequestWithRawBody PATCH "bar"
assertEqual "setRequestType/7/Method" PATCH (rqMethod request7)
+ request8 <- buildRequest $ setRequestType $ RequestWithRawBody HEAD ""
+ assertEqual "setRequestType/8/Method" HEAD (rqMethod request8)
+
where
rt4 = MultipartPostRequest [ ("foo", FormData ["foo"])
, ("bar", Files [fd4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/test/Snap/Util/CORS/Tests.hs new/snap-core-1.0.5.0/test/Snap/Util/CORS/Tests.hs
--- old/snap-core-1.0.4.2/test/Snap/Util/CORS/Tests.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/test/Snap/Util/CORS/Tests.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,6 @@
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
+{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
module Snap.Util.CORS.Tests (tests) where
@@ -7,7 +8,13 @@
------------------------------------------------------------------------------
import Data.ByteString.Char8 (ByteString)
import Data.CaseInsensitive (CI (..))
+#if !MIN_VERSION_base(4,8,0)
+import Data.Functor ((<$>))
+#endif
import qualified Data.HashSet as HashSet
+import qualified Data.Set as Set
+import qualified Data.Text as Text
+import qualified Data.Text.Encoding as Text
import Snap.Core (Method (..), getHeader, Response(..))
import Snap.Test (RequestBuilder, runHandler, setHeader, setRequestType, RequestType(..), setRequestPath)
import Snap.Util.CORS (applyCORS,CORSOptions(..),defaultOptions,HashableMethod(..))
@@ -60,7 +67,7 @@
opts $ return ()
checkAllowOrigin (Just origin) r
checkAllowCredentials (Just "true") r
- checkAllowHeaders (Just "X-STUFF, Content-Type") r
+ checkAllowHeaders (Just "Content-Type, X-STUFF") r
checkAllowMethods (Just "GET") r
---------------------------------------------------------
s <- runHandler (mkMethReq OPTIONS
@@ -97,7 +104,12 @@
checkExposeHeaders = checkHeader "Access-Control-Expose-Headers"
checkAllowHeaders :: Maybe ByteString -> Response -> Assertion
-checkAllowHeaders = checkHeader "Access-Control-Allow-Headers"
+checkAllowHeaders v r =
+ assertEqual "Header Access-Control-Allow-Headers"
+ (getSet <$> v)
+ (getSet <$> getHeader "Access-Control-Allow-Headers" r)
+ where
+ getSet = Set.fromList . Text.splitOn ", " . Text.decodeUtf8
checkAllowMethods :: Maybe ByteString -> Response -> Assertion
checkAllowMethods = checkHeader "Access-Control-Allow-Methods"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/snap-core-1.0.4.2/test/Snap/Util/GZip/Tests.hs new/snap-core-1.0.5.0/test/Snap/Util/GZip/Tests.hs
--- old/snap-core-1.0.4.2/test/Snap/Util/GZip/Tests.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/snap-core-1.0.5.0/test/Snap/Util/GZip/Tests.hs 2001-09-09 03:46:40.000000000 +0200
@@ -23,7 +23,7 @@
import Snap.Test.Common (coverTypeableInstance, expectException, expectExceptionH, liftQ)
import Snap.Util.GZip (BadAcceptEncodingException, noCompression, withCompression)
import qualified System.IO.Streams as Streams
-import System.Random (Random (randomIO))
+import System.Random (randomIO)
import Test.Framework (Test)
import Test.Framework.Providers.HUnit (testCase)
import Test.Framework.Providers.QuickCheck2 (testProperty)
++++++ snap-core.cabal ++++++
--- /var/tmp/diff_new_pack.jkp0ME/_old 2022-08-01 21:32:01.713936980 +0200
+++ /var/tmp/diff_new_pack.jkp0ME/_new 2022-08-01 21:32:01.717936992 +0200
@@ -1,5 +1,5 @@
name: snap-core
-version: 1.0.4.2
+version: 1.0.5.0
x-revision: 1
synopsis: Snap: A Haskell Web Framework (core interfaces and types)
@@ -36,8 +36,8 @@
bug-reports: https://github.com/snapframework/snap-core/issues
category: Web, Snap, IO-Streams
Tested-With: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3,
- GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.3,
- GHC == 8.8.3, GHC == 8.10.1
+ GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,
+ GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.1
extra-source-files:
test/TestSuite.hs,
@@ -113,6 +113,7 @@
Snap.Internal.Debug,
Snap.Internal.Http.Types,
Snap.Internal.Parsing,
+ Snap.Internal.Util.FileServe,
Snap.Test,
Snap.Types.Headers,
Snap.Util.CORS,
@@ -126,13 +127,12 @@
Snap.Internal.Routing,
Snap.Internal.Test.RequestBuilder,
Snap.Internal.Test.Assertions,
- Snap.Internal.Util.FileServe,
Snap.Internal.Util.FileUploads
build-depends:
HUnit >= 1.2 && < 2,
- attoparsec >= 0.12 && < 0.14,
+ attoparsec >= 0.12 && < 0.15,
base >= 4 && < 5,
bytestring >= 0.9 && < 0.12,
bytestring-builder >= 0.10.4 && < 0.11,
@@ -142,14 +142,14 @@
filepath >= 1.1 && < 2.0,
lifted-base >= 0.1 && < 0.3,
io-streams >= 1.3 && < 1.6,
- hashable >= 1.2.0.6 && < 1.4,
+ hashable >= 1.2.0.6 && < 1.5,
monad-control >= 1.0 && < 1.1,
mtl >= 2.0 && < 2.3,
random >= 1 && < 2,
readable >= 0.1 && < 0.4,
regex-posix >= 0.95 && < 1,
- text >= 0.11 && < 1.3,
- time >= 1.0 && < 1.11,
+ text >= 0.11 && < 2.1,
+ time >= 1.0 && < 1.14,
transformers >= 0.3 && < 0.6,
transformers-base >= 0.4 && < 0.5,
unix-compat >= 0.3 && < 0.6,
@@ -195,6 +195,11 @@
build-depends: network-uri >= 2.5 && < 2.6,
network >= 2.3 && < 2.6
+ if impl(ghc >= 7.6)
+ build-depends: unix-compat >= 0.3 && < 0.6
+ else
+ build-depends: unix-compat >= 0.3 && < 0.5.3
+
Test-suite testsuite
hs-source-dirs: src test
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-servant-server for openSUSE:Factory checked in at 2022-08-01 21:31:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-servant-server (Old)
and /work/SRC/openSUSE:Factory/.ghc-servant-server.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-servant-server"
Mon Aug 1 21:31:14 2022 rev:6 rq:987144 version:0.19.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-servant-server/ghc-servant-server.changes 2022-02-11 23:11:34.123320674 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-servant-server.new.1533/ghc-servant-server.changes 2022-08-01 21:31:59.713931243 +0200
@@ -1,0 +2,22 @@
+Tue Mar 29 16:33:37 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update servant-server to version 0.19.1 revision 2.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
+Mon Mar 21 14:54:33 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update servant-server to version 0.19.1 revision 1.
+ 0.19.1
+ ------
+
+ - Add `MonadFail` instance for `Handler` wrt [#1545](https://github.com/haskell-servant/servant/issues/1545)
+ - Support GHC 9.2 [#1525](https://github.com/haskell-servant/servant/issues/1525)
+
+-------------------------------------------------------------------
+Wed Feb 23 10:00:38 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update servant-server to version 0.19 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
Old:
----
servant-server-0.19.tar.gz
New:
----
servant-server-0.19.1.tar.gz
servant-server.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-servant-server.spec ++++++
--- /var/tmp/diff_new_pack.kLKrY5/_old 2022-08-01 21:32:00.405933228 +0200
+++ /var/tmp/diff_new_pack.kLKrY5/_new 2022-08-01 21:32:00.409933239 +0200
@@ -19,12 +19,13 @@
%global pkg_name servant-server
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.19
+Version: 0.19.1
Release: 0
Summary: A family of combinators for defining webservices APIs and serving them
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal…
BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
@@ -93,7 +94,8 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cabal-tweak-dep-ver base-compat '< 0.12' '< 1'
+cp -p %{SOURCE1} %{pkg_name}.cabal
+cabal-tweak-dep-ver http-api-data '< 0.4.4' '< 1'
%build
%ghc_lib_build
++++++ servant-server-0.19.tar.gz -> servant-server-0.19.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/servant-server-0.19/CHANGELOG.md new/servant-server-0.19.1/CHANGELOG.md
--- old/servant-server-0.19/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
+++ new/servant-server-0.19.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
@@ -3,6 +3,12 @@
Package versions follow the [Package Versioning Policy](https://pvp.haskell.org/): in A.B.C, bumps to either A or B represent major versions.
+0.19.1
+------
+
+- Add `MonadFail` instance for `Handler` wrt [#1545](https://github.com/haskell-servant/servant/issues/1545)
+- Support GHC 9.2 [#1525](https://github.com/haskell-servant/servant/issues/1525)
+
0.19
----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/servant-server-0.19/servant-server.cabal new/servant-server-0.19.1/servant-server.cabal
--- old/servant-server-0.19/servant-server.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/servant-server-0.19.1/servant-server.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: servant-server
-version: 0.19
+version: 0.19.1
synopsis: A family of combinators for defining webservices APIs and serving them
category: Servant, Web
@@ -60,12 +60,12 @@
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
build-depends:
- base >= 4.9 && < 4.16
+ base >= 4.9 && < 4.17
, bytestring >= 0.10.8.1 && < 0.12
, constraints >= 0.2 && < 0.14
, containers >= 0.5.7.1 && < 0.7
, mtl >= 2.2.2 && < 2.3
- , text >= 1.2.3.0 && < 1.3
+ , text >= 1.2.3.0 && < 2.1
, transformers >= 0.5.2.0 && < 0.6
, filepath >= 1.4.1.1 && < 1.5
@@ -78,7 +78,7 @@
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
- base-compat >= 0.10.5 && < 0.12
+ base-compat >= 0.10.5 && < 0.13
, base64-bytestring >= 1.0.0.1 && < 1.3
, exceptions >= 0.10.0 && < 0.11
, http-media >= 0.7.1.3 && < 0.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/servant-server-0.19/src/Servant/Server/Internal/Handler.hs new/servant-server-0.19.1/src/Servant/Server/Internal/Handler.hs
--- old/servant-server-0.19/src/Servant/Server/Internal/Handler.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/servant-server-0.19.1/src/Servant/Server/Internal/Handler.hs 2001-09-09 03:46:40.000000000 +0200
@@ -13,17 +13,19 @@
import Control.Monad.Catch
(MonadCatch, MonadMask, MonadThrow)
import Control.Monad.Error.Class
- (MonadError)
+ (MonadError, throwError)
import Control.Monad.IO.Class
(MonadIO)
import Control.Monad.Trans.Control
(MonadBaseControl (..))
import Control.Monad.Trans.Except
(ExceptT, runExceptT)
+import Data.String
+ (fromString)
import GHC.Generics
(Generic)
import Servant.Server.Internal.ServerError
- (ServerError)
+ (ServerError, errBody, err500)
newtype Handler a = Handler { runHandler' :: ExceptT ServerError IO a }
deriving
@@ -32,6 +34,9 @@
, MonadThrow, MonadCatch, MonadMask
)
+instance MonadFail Handler where
+ fail str = throwError err500 { errBody = fromString str }
+
instance MonadBase IO Handler where
liftBase = Handler . liftBase
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/servant-server-0.19/src/Servant/Server/Internal.hs new/servant-server-0.19.1/src/Servant/Server/Internal.hs
--- old/servant-server-0.19/src/Servant/Server/Internal.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/servant-server-0.19.1/src/Servant/Server/Internal.hs 2001-09-09 03:46:40.000000000 +0200
@@ -41,7 +41,7 @@
import qualified Data.ByteString.Builder as BB
import qualified Data.ByteString.Char8 as BC8
import qualified Data.ByteString.Lazy as BL
-import Data.Constraint (Dict(..))
+import Data.Constraint (Constraint, Dict(..))
import Data.Either
(partitionEithers)
import Data.Maybe
@@ -821,7 +821,7 @@
-- Erroring instance for 'HasServer' when a combinator is not fully applied
instance TypeError (PartialApplication HasServer arr) => HasServer ((arr :: a -> b) :> sub) context
where
- type ServerT (arr :> sub) _ = TypeError (PartialApplication HasServer arr)
+ type ServerT (arr :> sub) _ = TypeError (PartialApplication (HasServer :: * -> [*] -> Constraint) arr)
route = error "unreachable"
hoistServerWithContext _ _ _ _ = error "unreachable"
++++++ servant-server.cabal ++++++
cabal-version: 2.2
name: servant-server
version: 0.19.1
x-revision: 2
synopsis: A family of combinators for defining webservices APIs and serving them
category: Servant, Web
description:
A family of combinators for defining webservices APIs and serving them
.
You can learn about the basics in the <http://docs.servant.dev/en/stable/tutorial/index.html tutorial>.
.
<https://github.com/haskell-servant/servant/blob/master/servant-server/examp… Here>
is a runnable example, with comments, that defines a dummy API and implements
a webserver that serves this API, using this package.
.
<https://github.com/haskell-servant/servant/blob/master/servant-server/CHANG… CHANGELOG>
homepage: http://docs.servant.dev/
bug-reports: http://github.com/haskell-servant/servant/issues
license: BSD-3-Clause
license-file: LICENSE
author: Servant Contributors
maintainer: haskell-servant-maintainers(a)googlegroups.com
copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
build-type: Simple
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: http://github.com/haskell-servant/servant.git
library
exposed-modules:
Servant
Servant.Server
Servant.Server.Experimental.Auth
Servant.Server.Generic
Servant.Server.Internal
Servant.Server.Internal.BasicAuth
Servant.Server.Internal.Context
Servant.Server.Internal.Delayed
Servant.Server.Internal.DelayedIO
Servant.Server.Internal.ErrorFormatter
Servant.Server.Internal.Handler
Servant.Server.Internal.RouteResult
Servant.Server.Internal.Router
Servant.Server.Internal.RoutingApplication
Servant.Server.Internal.ServerError
Servant.Server.StaticFiles
Servant.Server.UVerb
-- deprecated
exposed-modules:
Servant.Utils.StaticFiles
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
build-depends:
base >= 4.9 && < 4.17
, bytestring >= 0.10.8.1 && < 0.12
, constraints >= 0.2 && < 0.14
, containers >= 0.5.7.1 && < 0.7
, mtl >= 2.2.2 && < 2.3
, text >= 1.2.3.0 && < 2.1
, transformers >= 0.5.2.0 && < 0.6
, filepath >= 1.4.1.1 && < 1.5
-- Servant dependencies
-- strict dependency as we re-export 'servant' things.
build-depends:
servant >= 0.19 && < 0.20
, http-api-data >= 0.4.1 && < 0.4.4
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
base-compat >= 0.10.5 && < 0.13
, base64-bytestring >= 1.0.0.1 && < 1.3
, exceptions >= 0.10.0 && < 0.11
, http-media >= 0.7.1.3 && < 0.9
, http-types >= 0.12.2 && < 0.13
, network-uri >= 2.6.1.0 && < 2.8
, monad-control >= 1.0.2.3 && < 1.1
, network >= 2.8 && < 3.2
, sop-core >= 0.4.0.0 && < 0.6
, string-conversions >= 0.4.0.1 && < 0.5
, resourcet >= 1.2.2 && < 1.3
, tagged >= 0.8.6 && < 0.9
, transformers-base >= 0.4.5.2 && < 0.5
, wai >= 3.2.1.2 && < 3.3
, wai-app-static >= 3.1.6.2 && < 3.2
, word8 >= 0.1.3 && < 0.2
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -Wno-redundant-constraints
executable greet
main-is: greet.hs
hs-source-dirs: example
ghc-options: -Wall
default-language: Haskell2010
build-depends:
base
, base-compat
, servant
, servant-server
, wai
, text
build-depends:
aeson >= 1.4.1.0 && < 3
, warp >= 3.2.25 && < 3.4
test-suite spec
type: exitcode-stdio-1.0
ghc-options: -Wall
default-language: Haskell2010
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Servant.ArbitraryMonadServerSpec
Servant.Server.ErrorSpec
Servant.Server.Internal.ContextSpec
Servant.Server.Internal.RoutingApplicationSpec
Servant.Server.RouterSpec
Servant.Server.StaticFilesSpec
Servant.Server.StreamingSpec
Servant.Server.UsingContextSpec
Servant.Server.UsingContextSpec.TestCombinators
Servant.HoistSpec
Servant.ServerSpec
-- Dependencies inherited from the library. No need to specify bounds.
build-depends:
base
, base-compat
, base64-bytestring
, bytestring
, http-types
, mtl
, resourcet
, safe
, servant
, servant-server
, sop-core
, string-conversions
, text
, transformers
, transformers-compat
, wai
-- Additional dependencies
build-depends:
aeson >= 1.4.1.0 && < 3
, directory >= 1.3.0.0 && < 1.4
, hspec >= 2.6.0 && < 2.10
, hspec-wai >= 0.10.1 && < 0.12
, QuickCheck >= 2.12.6.1 && < 2.15
, should-not-typecheck >= 2.1.0 && < 2.2
, temporary >= 1.3 && < 1.4
, wai-extra >= 3.0.24.3 && < 3.2
build-tool-depends:
hspec-discover:hspec-discover >= 2.6.0 && <2.10
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-servant-client-core for openSUSE:Factory checked in at 2022-08-01 21:31:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-servant-client-core (Old)
and /work/SRC/openSUSE:Factory/.ghc-servant-client-core.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-servant-client-core"
Mon Aug 1 21:31:13 2022 rev:6 rq:987143 version:0.19
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-servant-client-core/ghc-servant-client-core.changes 2022-02-11 23:11:33.479318811 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-servant-client-core.new.1533/ghc-servant-client-core.changes 2022-08-01 21:31:58.969929108 +0200
@@ -1,0 +2,12 @@
+Mon Mar 21 14:53:21 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update servant-client-core to version 0.19 revision 3.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
+Wed Feb 23 09:58:25 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update servant-client-core to version 0.19 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
servant-client-core.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-servant-client-core.spec ++++++
--- /var/tmp/diff_new_pack.EPzEGI/_old 2022-08-01 21:31:59.513930668 +0200
+++ /var/tmp/diff_new_pack.EPzEGI/_new 2022-08-01 21:31:59.517930680 +0200
@@ -25,6 +25,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-base-compat-devel
@@ -68,7 +69,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cabal-tweak-dep-ver base-compat '< 0.12' '< 1'
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ servant-client-core.cabal ++++++
cabal-version: 2.2
name: servant-client-core
version: 0.19
x-revision: 3
synopsis: Core functionality and class for client function generation for servant APIs
category: Servant, Web
description:
This library provides backend-agnostic generation of client functions. For
more information, see the README.
homepage: http://docs.servant.dev/
bug-reports: http://github.com/haskell-servant/servant/issues
license: BSD-3-Clause
license-file: LICENSE
author: Servant Contributors
maintainer: haskell-servant-maintainers(a)googlegroups.com
copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
build-type: Simple
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
, GHCJS ==8.6.0.1
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: http://github.com/haskell-servant/servant.git
library
exposed-modules:
Servant.Client.Core
Servant.Client.Free
Servant.Client.Generic
Servant.Client.Core.Reexport
Servant.Client.Core.Auth
Servant.Client.Core.BaseUrl
Servant.Client.Core.BasicAuth
Servant.Client.Core.ClientError
Servant.Client.Core.HasClient
Servant.Client.Core.Request
Servant.Client.Core.Response
Servant.Client.Core.RunClient
other-modules:
Servant.Client.Core.Internal
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends:
base >= 4.9 && < 4.17
, bytestring >= 0.10.8.1 && < 0.12
, constraints >= 0.2 && < 0.14
, containers >= 0.5.7.1 && < 0.7
, deepseq >= 1.4.2.0 && < 1.5
, text >= 1.2.3.0 && < 2.1
, transformers >= 0.5.2.0 && < 0.6
, template-haskell >= 2.11.1.0 && < 2.19
if !impl(ghc >= 8.2)
build-depends:
bifunctors >= 5.5.3 && < 5.6
-- Servant dependencies
build-depends:
servant >= 0.19
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
aeson >= 1.4.1.0 && < 3
, base-compat >= 0.10.5 && < 0.13
, base64-bytestring >= 1.0.0.1 && < 1.3
, exceptions >= 0.10.0 && < 0.11
, free >= 5.1 && < 5.2
, http-media >= 0.7.1.3 && < 0.9
, http-types >= 0.12.2 && < 0.13
, network-uri >= 2.6.1.0 && < 2.7
, safe >= 0.3.17 && < 0.4
, sop-core >= 0.4.0.0 && < 0.6
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
test-suite spec
type: exitcode-stdio-1.0
ghc-options: -Wall
default-language: Haskell2010
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Servant.Client.Core.Internal.BaseUrlSpec
Servant.Client.Core.RequestSpec
-- Dependencies inherited from the library. No need to specify bounds.
build-depends:
base
, base-compat
, servant-client-core
-- Additional dependencies
build-depends:
deepseq >= 1.4.2.0 && < 1.5
, hspec >= 2.6.0 && < 2.10
, QuickCheck >= 2.12.6.1 && < 2.15
build-tool-depends:
hspec-discover:hspec-discover >= 2.6.0 && <2.10
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-servant for openSUSE:Factory checked in at 2022-08-01 21:31:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-servant (Old)
and /work/SRC/openSUSE:Factory/.ghc-servant.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-servant"
Mon Aug 1 21:31:13 2022 rev:10 rq:987142 version:0.19
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-servant/ghc-servant.changes 2022-02-11 23:11:32.347315536 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-servant.new.1533/ghc-servant.changes 2022-08-01 21:31:57.713925504 +0200
@@ -1,0 +2,12 @@
+Mon Mar 21 14:55:15 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update servant to version 0.19 revision 4.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
+Wed Feb 23 10:01:26 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update servant to version 0.19 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
servant.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-servant.spec ++++++
--- /var/tmp/diff_new_pack.ATVLVs/_old 2022-08-01 21:31:58.577927983 +0200
+++ /var/tmp/diff_new_pack.ATVLVs/_new 2022-08-01 21:31:58.581927995 +0200
@@ -25,6 +25,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-aeson-devel
@@ -76,8 +77,8 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cabal-tweak-dep-ver base-compat '< 0.12' '< 1'
-cabal-tweak-dep-ver mmorph '< 1.2' '< 2'
+cp -p %{SOURCE1} %{pkg_name}.cabal
+cabal-tweak-dep-ver http-api-data '< 0.4.4' '< 1'
%build
%ghc_lib_build
++++++ servant.cabal ++++++
cabal-version: 2.2
name: servant
version: 0.19
x-revision: 4
synopsis: A family of combinators for defining webservices APIs
category: Servant, Web
description:
A family of combinators for defining webservices APIs and serving them
.
You can learn about the basics in the <http://docs.servant.dev/en/stable/tutorial/index.html tutorial>.
.
<https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md CHANGELOG>
homepage: http://docs.servant.dev/
bug-reports: http://github.com/haskell-servant/servant/issues
license: BSD-3-Clause
license-file: LICENSE
author: Servant Contributors
maintainer: haskell-servant-maintainers(a)googlegroups.com
copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
build-type: Simple
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
, GHCJS ==8.6.0.1
extra-source-files:
CHANGELOG.md
source-repository head
type: git
location: http://github.com/haskell-servant/servant.git
library
exposed-modules:
Servant.API
Servant.API.Alternative
Servant.API.BasicAuth
Servant.API.Capture
Servant.API.ContentTypes
Servant.API.Description
Servant.API.Empty
Servant.API.Experimental.Auth
Servant.API.Fragment
Servant.API.Generic
Servant.API.Header
Servant.API.HttpVersion
Servant.API.IsSecure
Servant.API.Modifiers
Servant.API.NamedRoutes
Servant.API.QueryParam
Servant.API.Raw
Servant.API.RemoteHost
Servant.API.ReqBody
Servant.API.ResponseHeaders
Servant.API.Status
Servant.API.Stream
Servant.API.Sub
Servant.API.TypeErrors
Servant.API.TypeLevel
Servant.API.UVerb
Servant.API.UVerb.Union
Servant.API.Vault
Servant.API.Verbs
Servant.API.WithNamedContext
-- Types
exposed-modules:
Servant.Types.SourceT
-- Test stuff
exposed-modules:
Servant.Test.ComprehensiveAPI
-- Safe links
exposed-modules:
Servant.Links
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends:
base >= 4.9 && < 4.17
, bytestring >= 0.10.8.1 && < 0.12
, constraints >= 0.2
, mtl >= 2.2.2 && < 2.3
, sop-core >= 0.4.0.0 && < 0.6
, transformers >= 0.5.2.0 && < 0.6
, text >= 1.2.3.0 && < 2.1
-- We depend (heavily) on the API of these packages:
-- i.e. re-export, or allow using without direct dependency
build-depends:
http-api-data >= 0.4.1 && < 0.4.4
, singleton-bool >= 0.1.4 && < 0.1.7
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
base-compat >= 0.10.5 && < 0.13
, aeson >= 1.4.1.0 && < 3
, attoparsec >= 0.13.2.2 && < 0.15
, bifunctors >= 5.5.3 && < 5.6
, case-insensitive >= 1.2.0.11 && < 1.3
, deepseq >= 1.4.2.0 && < 1.5
, http-media >= 0.7.1.3 && < 0.9
, http-types >= 0.12.2 && < 0.13
, mmorph >= 1.1.2 && < 1.3
, network-uri >= 2.6.1.0 && < 2.7
, QuickCheck >= 2.12.6.1 && < 2.15
, string-conversions >= 0.4.0.1 && < 0.5
, tagged >= 0.8.6 && < 0.9
, vault >= 0.3.1.2 && < 0.4
hs-source-dirs: src
default-language: Haskell2010
other-extensions: AllowAmbiguousTypes
, CPP
, ConstraintKinds
, DataKinds
, DeriveDataTypeable
, DeriveGeneric
, ExplicitNamespaces
, FlexibleContexts
, FlexibleInstances
, FunctionalDependencies
, GADTs
, KindSignatures
, MultiParamTypeClasses
, OverloadedStrings
, PolyKinds
, RankNTypes
, ScopedTypeVariables
, TupleSections
, TypeFamilies
, TypeOperators
, UndecidableInstances
ghc-options: -Wall -Wno-redundant-constraints
test-suite spec
type: exitcode-stdio-1.0
ghc-options: -Wall
default-language: Haskell2010
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Servant.API.ContentTypesSpec
Servant.API.ResponseHeadersSpec
Servant.API.StreamSpec
Servant.LinksSpec
-- Dependencies inherited from the library. No need to specify bounds.
build-depends:
base
, base-compat
, aeson
, bytestring
, http-media
, mtl
, servant
, string-conversions
, text
, transformers
-- Additional dependencies
build-depends:
hspec >= 2.6.0 && < 2.10
, QuickCheck >= 2.12.6.1 && < 2.15
, quickcheck-instances >= 0.3.19 && < 0.4
build-tool-depends:
hspec-discover:hspec-discover >= 2.6.0 && < 2.10
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-protolude for openSUSE:Factory checked in at 2022-08-01 21:31:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-protolude (Old)
and /work/SRC/openSUSE:Factory/.ghc-protolude.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-protolude"
Mon Aug 1 21:31:11 2022 rev:6 rq:987141 version:0.3.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-protolude/ghc-protolude.changes 2022-02-15 23:57:53.996315178 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-protolude.new.1533/ghc-protolude.changes 2022-08-01 21:31:56.737922704 +0200
@@ -1,0 +2,15 @@
+Sun Jun 12 18:31:19 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update protolude to version 0.3.2.
+ 0.3.2
+ ====
+ * GHC 9.2.2 support
+ * Drop export executable
+
+ 0.3.1
+ =====
+ * GHC 9.0.1 and 9.2.1 support
+ * Add `HasCallStack` to unsafe* functions.
+ * Banish `String` on `readMaybe` and `readEither`.
+
+-------------------------------------------------------------------
Old:
----
protolude-0.3.0.tar.gz
New:
----
protolude-0.3.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-protolude.spec ++++++
--- /var/tmp/diff_new_pack.DZsZZE/_old 2022-08-01 21:31:57.249924173 +0200
+++ /var/tmp/diff_new_pack.DZsZZE/_new 2022-08-01 21:31:57.253924185 +0200
@@ -18,7 +18,7 @@
%global pkg_name protolude
Name: ghc-%{pkg_name}
-Version: 0.3.0
+Version: 0.3.2
Release: 0
Summary: A small prelude
License: MIT
@@ -55,7 +55,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cabal-tweak-dep-ver transformers-compat '<0.7' '< 1'
%build
%ghc_lib_build
++++++ protolude-0.3.0.tar.gz -> protolude-0.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/protolude-0.3.0/ChangeLog.md new/protolude-0.3.2/ChangeLog.md
--- old/protolude-0.3.0/ChangeLog.md 2020-03-21 14:19:57.000000000 +0100
+++ new/protolude-0.3.2/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,14 @@
+0.3.2
+====
+* GHC 9.2.2 support
+* Drop export executable
+
+0.3.1
+=====
+* GHC 9.0.1 and 9.2.1 support
+* Add `HasCallStack` to unsafe* functions.
+* Banish `String` on `readMaybe` and `readEither`.
+
0.3.0
=====
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/protolude-0.3.0/Exports.hs new/protolude-0.3.2/Exports.hs
--- old/protolude-0.3.0/Exports.hs 2020-03-21 14:19:57.000000000 +0100
+++ new/protolude-0.3.2/Exports.hs 1970-01-01 01:00:00.000000000 +0100
@@ -1,59 +0,0 @@
-{-# LANGUAGE CPP #-}
-module Main
- ( main,
- )
-where
-
-import Control.Applicative ((<$>))
-import Control.Monad.Trans
-import Data.Foldable (concat)
-import qualified Data.List as List
-import Data.Maybe
-import Data.Ord (comparing)
-import DynFlags
-import GHC
-import GhcMonad
-import GHC.Paths
-import Outputable
-import System.FilePath.Posix
-import Prelude hiding (concat, mod)
-
-autoModule :: FilePath -> IO ()
-autoModule mod = runGhc (Just GHC.Paths.libdir) $ do
- dflags <- GHC.getSessionDynFlags
-#if (__GLASGOW_HASKELL__ > 706)
- _ <- setSessionDynFlags ( dflags `gopt_set` Opt_GhciSandbox )
-#else
- _ <- setSessionDynFlags ( dflags `dopt_set` Opt_GhciSandbox )
-#endif
- target <- guessTarget ("src" </> addExtension mod ".hs") Nothing
- setTargets [target]
- _ <- load LoadAllTargets
- modSum <- getModSummary $ mkModuleName mod
- p <- GHC.parseModule modSum
- t <- typecheckModule p
- let modInfo = tm_checked_module_info t
- let exports = modInfoExports modInfo
- exportThings <- sequence <$> mapM lookupName exports
- let sortedThings = List.sortBy (comparing getOccName) (concat exportThings)
- GhcMonad.liftIO (mapM_ (showThing dflags) sortedThings)
-
-showNamed :: NamedThing a => DynFlags -> a -> IO ()
-showNamed df a = do
- let nm = showSDoc df (ppr (getOccName a))
- let mod = showSDoc df (ppr (nameModule (getName a)))
- putStrLn (nm ++ " from " ++ mod)
-
-showThing :: DynFlags -> TyThing -> IO ()
-showThing df (AnId a) = showNamed df a
-#if (__GLASGOW_HASKELL__ > 706)
-showThing df (AConLike a) = showNamed df a
-#endif
-showThing df (ATyCon a) = showNamed df a
-showThing _ _ = error "Should never happen."
-
---showGhc :: (Outputable a) => a -> String
---showGhc = showPpr unsafeGlobalDynFlags
-
-main :: IO ()
-main = autoModule "Protolude"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/protolude-0.3.0/README.md new/protolude-0.3.2/README.md
--- old/protolude-0.3.0/README.md 2020-03-27 13:40:22.000000000 +0100
+++ new/protolude-0.3.2/README.md 2001-09-09 03:46:40.000000000 +0200
@@ -1,7 +1,6 @@
Protolude
=========
-[![Build Status](https://travis-ci.org/protolude/protolude.svg?branch=master)](https…
[![Build Status](https://github.com/protolude/protolude/workflows/Cabal%20CI/badge.s…
[![Build Status](https://github.com/protolude/protolude/workflows/Stack%20CI/badge.s…
[![Build Status](https://github.com/protolude/protolude/workflows/Nix%20CI/badge.svg…
@@ -31,31 +30,23 @@
Supports:
- * GHC 7.6.1
- * GHC 7.6.2
* GHC 7.6.3
- * GHC 7.8.1
- * GHC 7.8.2
- * GHC 7.8.3
* GHC 7.8.4
- * GHC 7.10.1
- * GHC 7.10.2
* GHC 7.10.3
- * GHC 8.0.1
* GHC 8.0.2
- * GHC 8.2.1
+ * GHC 8.2.2
* GHC 8.4.1
+ * GHC 8.4.4
* GHC 8.6.1
+ * GHC 8.6.4
+ * GHC 8.6.5
* GHC 8.8.1
* GHC 8.10.1
+ * GHC 9.0.1
+ * GHC 9.2.1
Stack LTS:
-* lts-4.x
-* lts-5.x
-* lts-6.x
-* lts-7.x
-* lts-8.x
* lts-9.x
* lts-10.x
* lts-11.x
@@ -63,6 +54,8 @@
* lts-13.x
* lts-14.x
* lts-15.x
+* lts-16.x
+* lts-17.x
Usage
-----
@@ -108,7 +101,7 @@
| ----------- | -------- | -------- |
| array | 0.4 | 0.6 |
| async | 2.0 | 2.3 |
-| base | 4.6 | 4.15 |
+| base | 4.6 | 4.16 |
| bytestring | 0.10 | 0.11 |
| containers | 0.5 | 0.7 |
| deepseq | 1.3 | 1.5 |
@@ -147,11 +140,10 @@
* **How do I write manual Show instances if ``show`` isn't provided?**
-Generally speaking writing manual instances of Show is a [Haskell antipattern](
-http://www.stephendiehl.com/posts/strings.html) because it produces
-law-violating instances of Show. You probably want to use a [pretty
-printer](https://hackage.haskell.org/package/wl-pprint-text) library for custom
-printing.
+Generally speaking writing manual instances of Show is a
+[Haskell antipattern](http://www.stephendiehl.com/posts/strings.html) because it produces
+law-violating instances of Show. You probably want to use a
+[pretty printer](https://hackage.haskell.org/package/wl-pprint-text) library for custom printing.
If backwards compatibility is needed then the base library can be imported
manually.
@@ -211,7 +203,7 @@
There is a massive test suite that tests all versions of GHC 7.6 - GHC HEAD
alongside all Stack resolvers to ensure no regressions. Any pull requests or
-patch has to pass the 40 integrity checks before being considered. Any pull
+patch has to pass the 47 integrity checks before being considered. Any pull
request must keep the export list consistent across GHC and Base version and not
have any accidental symbol dropping or drift without updating the export golden
tests.
@@ -220,4 +212,4 @@
-------
Released under the MIT License.
-Copyright (c) 2016-2020, Stephen Diehl
+Copyright (c) 2016-2022, Stephen Diehl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/protolude-0.3.0/protolude.cabal new/protolude-0.3.2/protolude.cabal
--- old/protolude-0.3.0/protolude.cabal 2020-03-28 09:55:52.000000000 +0100
+++ new/protolude-0.3.2/protolude.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,27 +1,20 @@
name: protolude
-version: 0.3.0
+version: 0.3.2
synopsis: A small prelude.
description: A sensible set of defaults for writing custom Preludes.
homepage: https://github.com/sdiehl/protolude
license: MIT
license-file: LICENSE
author: Stephen Diehl
-maintainer: stephen.m.diehl(a)gmail.com
-copyright: 2016-2020 Stephen Diehl
+maintainer: adamwespiser(a)gmail.com, stephen.m.diehl(a)gmail.com
+copyright: 2016-2022 Stephen Diehl
category: Prelude
build-type: Simple
cabal-version: >=1.10
bug-reports: https://github.com/sdiehl/protolude/issues
tested-with:
- GHC ==7.6.1
- || ==7.6.2
- || ==7.6.3
- || ==7.8.1
- || ==7.8.2
- || ==7.8.3
+ GHC ==7.6.3
|| ==7.8.4
- || ==7.10.1
- || ==7.10.2
|| ==7.10.3
|| ==8.0.1
|| ==8.2.1
@@ -29,16 +22,13 @@
|| ==8.6.1
|| ==8.8.1
|| ==8.10.1
+ || ==9.0.1
+ || ==9.2.2
extra-source-files:
README.md
ChangeLog.md
-flag dev
- description: Build development tools
- manual: True
- default: False
-
source-repository head
type: git
location: git@github.com:protolude/protolude.git
@@ -77,42 +67,21 @@
build-depends:
array >=0.4 && <0.6
, async >=2.0 && <2.3
- , base >=4.6 && <4.15
- , bytestring >=0.10 && <0.11
+ , base >=4.6 && <4.17
+ , bytestring >=0.10 && <0.11.4
, containers >=0.5 && <0.7
, deepseq >=1.3 && <1.5
- , ghc-prim >=0.3 && <0.7
- , hashable >=1.2 && <1.4
+ , ghc-prim >=0.3 && <0.9
+ , hashable >=1.2 && <1.5
, mtl >=2.1 && <2.3
, mtl-compat >=0.2 && <0.3
, stm >=2.4 && <2.6
- , text >=1.2 && <1.3
+ , text >=1.2 && <2.1
, transformers >=0.2 && <0.6
- , transformers-compat >=0.4 && <0.7
+ , transformers-compat >=0.4 && <0.8
if !impl(ghc >=8.0)
build-depends: fail ==4.9.*
hs-source-dirs: src
default-language: Haskell2010
-
-executable exports
- main-is: Exports.hs
- default-language: Haskell2010
-
- if flag(dev)
- buildable: True
-
- else
- buildable: False
-
- build-depends:
- base >=4.6 && <4.15
- , directory
- , filepath
- , ghc
- , ghc-paths
- , mtl
- , process
- , protolude
- , transformers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/protolude-0.3.0/src/Protolude/Base.hs new/protolude-0.3.2/src/Protolude/Base.hs
--- old/protolude-0.3.0/src/Protolude/Base.hs 2020-03-27 10:11:52.000000000 +0100
+++ new/protolude-0.3.2/src/Protolude/Base.hs 2001-09-09 03:46:40.000000000 +0200
@@ -67,10 +67,12 @@
, fromIntegral
, fromRational
, gcd
-#if MIN_VERSION_base(4,9,0)
+#if MIN_VERSION_base(4,9,0) && !MIN_VERSION_base(4,15,0)
+#if defined(MIN_VERSION_integer_gmp)
, gcdInt'
, gcdWord'
#endif
+#endif
, infinity
, integralEnumFrom
, integralEnumFromThen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/protolude-0.3.0/src/Protolude/ConvertText.hs new/protolude-0.3.2/src/Protolude/ConvertText.hs
--- old/protolude-0.3.0/src/Protolude/ConvertText.hs 2020-03-21 14:19:57.000000000 +0100
+++ new/protolude-0.3.2/src/Protolude/ConvertText.hs 2001-09-09 03:46:40.000000000 +0200
@@ -35,6 +35,12 @@
instance ConvertText LT.Text T.Text where toS = LT.toStrict
instance ConvertText LT.Text LT.Text where toS = id
+instance ConvertText LB.ByteString B.ByteString where toS = LB.toStrict
+instance ConvertText LB.ByteString LB.ByteString where toS = id
+
+instance ConvertText B.ByteString B.ByteString where toS = id
+instance ConvertText B.ByteString LB.ByteString where toS = LB.fromStrict
+
toUtf8 :: ConvertText a T.Text => a -> B.ByteString
toUtf8 =
encodeUtf8 . toS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/protolude-0.3.0/src/Protolude/Unsafe.hs new/protolude-0.3.2/src/Protolude/Unsafe.hs
--- old/protolude-0.3.0/src/Protolude/Unsafe.hs 2020-03-21 14:19:57.000000000 +0100
+++ new/protolude-0.3.2/src/Protolude/Unsafe.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
{-# LANGUAGE Unsafe #-}
{-# LANGUAGE NoImplicitPrelude #-}
@@ -13,12 +14,44 @@
) where
import Protolude.Base (Int)
+
+#if ( __GLASGOW_HASKELL__ >= 800 )
+import Protolude.Base (HasCallStack)
+#endif
import Data.Char (Char)
import Text.Read (Read, read)
import qualified Data.List as List
import qualified Data.Maybe as Maybe
import qualified Control.Exception as Exc
+unsafeThrow :: Exc.Exception e => e -> a
+unsafeThrow = Exc.throw
+
+#if ( __GLASGOW_HASKELL__ >= 800 )
+unsafeHead :: HasCallStack => [a] -> a
+unsafeHead = List.head
+
+unsafeTail :: HasCallStack => [a] -> [a]
+unsafeTail = List.tail
+
+unsafeInit :: HasCallStack => [a] -> [a]
+unsafeInit = List.init
+
+unsafeLast :: HasCallStack => [a] -> a
+unsafeLast = List.last
+
+unsafeFromJust :: HasCallStack => Maybe.Maybe a -> a
+unsafeFromJust = Maybe.fromJust
+
+unsafeIndex :: HasCallStack => [a] -> Int -> a
+unsafeIndex = (List.!!)
+
+unsafeRead :: (HasCallStack, Read a) => [Char] -> a
+unsafeRead = Text.Read.read
+#endif
+
+
+#if ( __GLASGOW_HASKELL__ < 800 )
unsafeHead :: [a] -> a
unsafeHead = List.head
@@ -37,8 +70,6 @@
unsafeIndex :: [a] -> Int -> a
unsafeIndex = (List.!!)
-unsafeThrow :: Exc.Exception e => e -> a
-unsafeThrow = Exc.throw
-
unsafeRead :: Read a => [Char] -> a
unsafeRead = Text.Read.read
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/protolude-0.3.0/src/Protolude.hs new/protolude-0.3.2/src/Protolude.hs
--- old/protolude-0.3.0/src/Protolude.hs 2020-03-21 14:19:57.000000000 +0100
+++ new/protolude-0.3.2/src/Protolude.hs 2001-09-09 03:46:40.000000000 +0200
@@ -128,6 +128,8 @@
-- * Read functions
module Read,
+ readMaybe,
+ readEither,
-- * System functions
module System,
@@ -153,6 +155,7 @@
import Protolude.Panic as Panic
import Protolude.Exceptions as Exception
import Protolude.Semiring as Semiring
+import qualified Protolude.Conv as Conv
import Protolude.Base as Base hiding (
putStr -- Overriden by Show.putStr
@@ -267,8 +270,6 @@
import Data.Semigroup as Semigroup (
Semigroup(sconcat, stimes)
, WrappedMonoid
- , Option(..)
- , option
, diff
, cycle1
, stimesMonoid
@@ -278,6 +279,13 @@
)
#endif
+#if MIN_VERSION_base(4,9,0) && !MIN_VERSION_base(4,16,0)
+import Data.Semigroup as Semigroup (
+ Option(..)
+ , option
+ )
+#endif
+
import Data.Monoid as Monoid
#if !MIN_VERSION_base(4,8,0)
@@ -308,6 +316,8 @@
, break
, intercalate
, isPrefixOf
+ , isInfixOf
+ , isSuffixOf
, drop
, filter
, reverse
@@ -908,11 +918,10 @@
import Foreign.StablePtr as Foreign (StablePtr)
-- Read instances hiding unsafe builtins (read)
+import qualified Text.Read as Read
import Text.Read as Read (
Read
, reads
- , readMaybe
- , readEither
)
-- Type synonymss for lazy texts
@@ -949,6 +958,29 @@
applyN :: Int -> (a -> a) -> a -> a
applyN n f = Foldable.foldr (.) identity (List.replicate n f)
+-- | Parse a string using the 'Read' instance.
+-- Succeeds if there is exactly one valid result.
+--
+-- >>> readMaybe ("123" :: Text) :: Maybe Int
+-- Just 123
+--
+-- >>> readMaybe ("hello" :: Text) :: Maybe Int
+-- Nothing
+readMaybe :: (Read b, Conv.StringConv a String) => a -> Maybe b
+readMaybe = Read.readMaybe . Conv.toS
+
+-- | Parse a string using the 'Read' instance.
+-- Succeeds if there is exactly one valid result.
+-- A 'Left' value indicates a parse error.
+--
+-- >>> readEither "123" :: Either Text Int
+-- Right 123
+--
+-- >>> readEither "hello" :: Either Text Int
+-- Left "Prelude.read: no parse"
+readEither :: (Read a, Conv.StringConv String e, Conv.StringConv e String) => e -> Either e a
+readEither = first Conv.toS . Read.readEither . Conv.toS
+
-- | The print function outputs a value of any printable type to the standard
-- output device. Printable types are those that are instances of class Show;
-- print converts values to strings for output using the show operation and adds
@@ -982,8 +1014,8 @@
liftIO2 :: MonadIO m => (a -> b -> IO c) -> a -> b -> m c
liftIO2 = ((.).(.)) liftIO
-show :: (Show a, ConvertText String b) => a -> b
-show x = ConvertText.toS (PBase.show x)
+show :: (Show a, Conv.StringConv String b) => a -> b
+show x = Conv.toS (PBase.show x)
{-# SPECIALIZE show :: Show a => a -> Text #-}
{-# SPECIALIZE show :: Show a => a -> LText #-}
{-# SPECIALIZE show :: Show a => a -> String #-}
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-primitive for openSUSE:Factory checked in at 2022-08-01 21:31:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-primitive (Old)
and /work/SRC/openSUSE:Factory/.ghc-primitive.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-primitive"
Mon Aug 1 21:31:10 2022 rev:27 rq:987140 version:0.7.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-primitive/ghc-primitive.changes 2021-11-11 21:37:06.664918805 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-primitive.new.1533/ghc-primitive.changes 2022-08-01 21:31:55.629919525 +0200
@@ -1,0 +2,6 @@
+Fri May 20 11:34:33 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update primitive to version 0.7.3.0 revision 2.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
primitive.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-primitive.spec ++++++
--- /var/tmp/diff_new_pack.5UTOel/_old 2022-08-01 21:31:56.309921476 +0200
+++ /var/tmp/diff_new_pack.5UTOel/_new 2022-08-01 21:31:56.313921488 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-primitive
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-rpm-macros
@@ -55,6 +56,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ primitive.cabal ++++++
Cabal-Version: 2.2
Name: primitive
Version: 0.7.3.0
x-revision: 2
License: BSD-3-Clause
License-File: LICENSE
Author: Roman Leshchinskiy <rl(a)cse.unsw.edu.au>
Maintainer: libraries(a)haskell.org
Copyright: (c) Roman Leshchinskiy 2009-2012
Homepage: https://github.com/haskell/primitive
Bug-Reports: https://github.com/haskell/primitive/issues
Category: Data
Synopsis: Primitive memory-related operations
Build-Type: Simple
Description: This package provides various primitive memory-related operations.
Extra-Source-Files: changelog.md
test/*.hs
test/LICENSE
Tested-With:
GHC == 7.10.3,
GHC == 8.0.2,
GHC == 8.2.2,
GHC == 8.4.4,
GHC == 8.6.5,
GHC == 8.8.4,
GHC == 8.10.7
Library
Default-Language: Haskell2010
Other-Extensions:
BangPatterns, CPP, DeriveDataTypeable,
MagicHash, TypeFamilies, UnboxedTuples, UnliftedFFITypes
Exposed-Modules:
Control.Monad.Primitive
Data.Primitive
Data.Primitive.MachDeps
Data.Primitive.Types
Data.Primitive.Array
Data.Primitive.ByteArray
Data.Primitive.PrimArray
Data.Primitive.SmallArray
Data.Primitive.Ptr
Data.Primitive.MutVar
Data.Primitive.MVar
Other-Modules:
Data.Primitive.Internal.Operations
Build-Depends: base >= 4.8 && < 4.17
, deepseq >= 1.1 && < 1.5
, transformers >= 0.4.2 && < 0.7
if !impl(ghc >= 8.0)
Build-Depends: fail == 4.9.*
Ghc-Options: -O2
Include-Dirs: cbits
Install-Includes: primitive-memops.h
includes: primitive-memops.h
c-sources: cbits/primitive-memops.c
if !os(solaris)
cc-options: -ftree-vectorize
if arch(i386) || arch(x86_64)
cc-options: -msse2
test-suite test-qc
Default-Language: Haskell2010
hs-source-dirs: test
test/src
main-is: main.hs
Other-Modules: PrimLaws
type: exitcode-stdio-1.0
build-depends: base
, base-orphans
, ghc-prim
, primitive
, quickcheck-classes-base >= 0.6 && <0.7
, QuickCheck >= 2.13 && < 2.15
, tasty ^>= 1.2 || ^>= 1.3 || ^>= 1.4
, tasty-quickcheck
, tagged
, transformers >= 0.4
, transformers-compat
if !impl(ghc >= 8.0)
build-depends: semigroups
cpp-options: -DHAVE_UNARY_LAWS
ghc-options: -O2
benchmark bench
Default-Language: Haskell2010
hs-source-dirs: bench
main-is: main.hs
type: exitcode-stdio-1.0
ghc-options: -O2
other-modules:
Array.Traverse.Closure
Array.Traverse.Unsafe
ByteArray.Compare
PrimArray.Compare
PrimArray.Traverse
build-depends:
base
, primitive
, deepseq
, tasty-bench
, transformers >= 0.3
source-repository head
type: git
location: https://github.com/haskell/primitive
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-io-streams-haproxy for openSUSE:Factory checked in at 2022-08-01 21:31:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-io-streams-haproxy (Old)
and /work/SRC/openSUSE:Factory/.ghc-io-streams-haproxy.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-io-streams-haproxy"
Mon Aug 1 21:31:08 2022 rev:4 rq:987139 version:1.0.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-io-streams-haproxy/ghc-io-streams-haproxy.changes 2021-03-28 11:57:48.780301024 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-io-streams-haproxy.new.1533/ghc-io-streams-haproxy.changes 2022-08-01 21:31:54.057915015 +0200
@@ -1,0 +2,6 @@
+Fri Apr 22 13:04:30 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update io-streams-haproxy to version 1.0.1.0 revision 5.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-io-streams-haproxy.spec ++++++
--- /var/tmp/diff_new_pack.QJEvlg/_old 2022-08-01 21:31:54.865917333 +0200
+++ /var/tmp/diff_new_pack.QJEvlg/_new 2022-08-01 21:31:54.869917345 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-io-streams-haproxy
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
-Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal…
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/5.cabal…
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-bytestring-devel
@@ -61,7 +61,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
-cabal-tweak-dep-ver 'attoparsec' '< 0.14' '< 0.15'
%build
%ghc_lib_build
++++++ io-streams-haproxy.cabal ++++++
--- /var/tmp/diff_new_pack.QJEvlg/_old 2022-08-01 21:31:54.941917551 +0200
+++ /var/tmp/diff_new_pack.QJEvlg/_new 2022-08-01 21:31:54.945917563 +0200
@@ -1,6 +1,6 @@
name: io-streams-haproxy
version: 1.0.1.0
-x-revision: 3
+x-revision: 5
synopsis: HAProxy protocol 1.5 support for io-streams
description: HAProxy protocol version 1.5 support (see
@@ -36,8 +36,8 @@
other-modules: System.IO.Streams.Network.Internal.Address
c-sources: cbits/byteorder.c
- build-depends: base >= 4.5 && < 4.15,
- attoparsec >= 0.7 && < 0.14,
+ build-depends: base >= 4.5 && < 4.16,
+ attoparsec >= 0.7 && < 0.15,
bytestring >= 0.9 && < 0.11,
io-streams >= 1.3 && < 1.6,
network >= 2.3 && < 3.2,
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-hslua-aeson for openSUSE:Factory checked in at 2022-08-01 21:31:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-aeson (Old)
and /work/SRC/openSUSE:Factory/.ghc-hslua-aeson.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hslua-aeson"
Mon Aug 1 21:31:07 2022 rev:2 rq:987138 version:2.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hslua-aeson/ghc-hslua-aeson.changes 2022-02-11 23:10:18.535102051 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-hslua-aeson.new.1533/ghc-hslua-aeson.changes 2022-08-01 21:31:52.073909323 +0200
@@ -1,0 +2,9 @@
+Thu Jun 23 06:32:26 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hslua-aeson to version 2.2.1.
+ Upstream has edited the change log file since the last release in
+ a non-trivial way, i.e. they did more than just add a new entry
+ at the top. You can review the file at:
+ http://hackage.haskell.org/package/hslua-aeson-2.2.1/src/CHANGELOG.md
+
+-------------------------------------------------------------------
Old:
----
hslua-aeson-2.1.0.tar.gz
New:
----
hslua-aeson-2.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hslua-aeson.spec ++++++
--- /var/tmp/diff_new_pack.sWxtHS/_old 2022-08-01 21:31:52.949911836 +0200
+++ /var/tmp/diff_new_pack.sWxtHS/_new 2022-08-01 21:31:52.965911882 +0200
@@ -19,7 +19,7 @@
%global pkg_name hslua-aeson
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.1.0
+Version: 2.2.1
Release: 0
Summary: Allow aeson data types to be used with Lua
License: MIT
++++++ hslua-aeson-2.1.0.tar.gz -> hslua-aeson-2.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-aeson-2.1.0/CHANGELOG.md new/hslua-aeson-2.2.1/CHANGELOG.md
--- old/hslua-aeson-2.1.0/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-aeson-2.2.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
@@ -2,9 +2,33 @@
`hslua-aeson` uses [PVP Versioning][].
+## hslua-aeson-2.2.1
+
+Released 2022-06-23.
+
+- Export `jsonarray`, which is the name of the registry slot
+ holding the metatable given to array tables. Setting the
+ corresponding registry value will affect all newly created
+ array values.
+
+## hslua-aeson-2.2.0.1
+
+Released 2022-06-16.
+
+- Relaxed upper bound for mtl, allowing mtl-2.3.
+
+- Relaxed upper bound for aeson, allowing aeson-2.1.
+
+## hslua-aeson-2.2.0
+
+Released 2022-02-19.
+
+- Relaxed upper bound for hslua-core and hslua-marshalling,
+ allowing version 2.2 of both packages.
+
## hslua-aeson-2.1.0
-Released 29-01-2022.
+Released 2022-01-29.
- Update to hslua 2.1.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-aeson-2.1.0/hslua-aeson.cabal new/hslua-aeson-2.2.1/hslua-aeson.cabal
--- old/hslua-aeson-2.1.0/hslua-aeson.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-aeson-2.2.1/hslua-aeson.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: hslua-aeson
-version: 2.1.0
+version: 2.2.1
synopsis: Allow aeson data types to be used with Lua.
description: This package provides instances to push and receive any
datatype encodable as JSON to and from the Lua stack.
@@ -9,7 +9,7 @@
license-file: LICENSE
author: Albert Krewinkel
maintainer: Albert Krewinkel <albert+hslua(a)zeitkraut.de>
-copyright: �� 2017���2021 Albert Krewinkel
+copyright: �� 2017���2022 Albert Krewinkel
category: Foreign
extra-source-files: README.md
, CHANGELOG.md
@@ -19,8 +19,8 @@
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
- , GHC == 9.0.1
- , GHC == 9.2.1
+ , GHC == 9.0.2
+ , GHC == 9.2.3
source-repository head
type: git
@@ -30,13 +30,13 @@
common common-options
default-language: Haskell2010
build-depends: base >= 4.8 && < 5
- , aeson >= 1.5 && < 2.1
+ , aeson >= 1.5 && < 2.2
, bytestring >= 0.10.2 && < 0.12
, containers >= 0.5.9 && < 0.7
, hashable >= 1.2 && < 1.5
- , hslua-core >= 2.0 && < 2.2
- , hslua-marshalling >= 2.1 && < 2.2
- , mtl >= 2.2 && < 2.3
+ , hslua-core >= 2.0 && < 2.3
+ , hslua-marshalling >= 2.1 && < 2.3
+ , mtl >= 2.2 && < 2.4
, scientific >= 0.3 && < 0.4
, unordered-containers >= 0.2 && < 0.3
, text >= 1.2 && < 2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-aeson-2.1.0/src/HsLua/Aeson.hs new/hslua-aeson-2.2.1/src/HsLua/Aeson.hs
--- old/hslua-aeson-2.1.0/src/HsLua/Aeson.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-aeson-2.2.1/src/HsLua/Aeson.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module : HsLua.Aeson
-Copyright : �� 2017���2021 Albert Krewinkel
+Copyright : �� 2017���2022 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <tarleb(a)zeitkraut.de>
@@ -26,6 +26,7 @@
, pushValue
, peekViaJSON
, pushViaJSON
+ , jsonarray
) where
import Control.Monad ((<$!>), void)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-aeson-2.1.0/test/test-hslua-aeson.hs new/hslua-aeson-2.2.1/test/test-hslua-aeson.hs
--- old/hslua-aeson-2.1.0/test/test-hslua-aeson.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-aeson-2.2.1/test/test-hslua-aeson.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-|
-Copyright : �� 2017���2021 Albert Krewinkel
+Copyright : �� 2017���2022 Albert Krewinkel
License : MIT
Tests for Aeson���Lua glue.
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package texmath for openSUSE:Factory checked in at 2022-08-01 21:31:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/texmath (Old)
and /work/SRC/openSUSE:Factory/.texmath.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "texmath"
Mon Aug 1 21:31:07 2022 rev:47 rq:987128 version:0.12.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/texmath/texmath.changes 2022-02-11 23:10:10.363078416 +0100
+++ /work/SRC/openSUSE:Factory/.texmath.new.1533/texmath.changes 2022-08-01 21:31:49.573902150 +0200
@@ -1,0 +2,60 @@
+Tue May 31 18:24:37 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update texmath to version 0.12.5.1.
+ texmath (0.12.5.1)
+
+ * Compile texmath-server with `-threaded`.
+ This should fix the crashes we have experienced.
+
+ * Add apache style logging to web server.
+
+ * Add more strictness in Unicode.ToTeX.
+
+-------------------------------------------------------------------
+Sat Apr 2 18:20:57 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update texmath to version 0.12.5.
+ texmath (0.12.5)
+
+ * TeX reader: Improve treatment of `\operatorname` (#147).
+ We can now handle spaces, as in `\operatorname{arg\,max}`.
+ We also now have a better fallback when the operator name
+ contains content that can't be turned into plain text.
+ (In this case, we just pass through the contents, since EMathOperator
+ takes a text argument.)
+
+ * TeX: Support more `\var...` commands for greek letters (Albert
+ Krewinkel). AMSmath defines `\varGamma`, `\varDelta`, `\varTheta`,
+ `\varLambda`, `\varXi`, `\varPi`, `\varSigma`, `\varUpsilon`, `\varPhi`,
+ `\varPsi`, and `\varOmega`, all of which are now parsed as unicode
+ characters *MATHEMATICAL ITALIC CAPITAL ...*. Also, `\varsigma` is
+ now parsed as *MATHEMATICAL SMALL FINAL SIGMA*.
+
+ * OMML writer: better handling for scaled delimeter symbols (#140).
+ We now try to represent these using m:d when possible.
+ This allows the parentheses to expand with the content;
+ previously we'd often get small parentheses with large
+ contents.
+
+ * OMML reader:
+
+ + Allow m:pos to be missing or lack an attribute in m:bar (#187).
+ + Set the default value of pos to "bot" (Maximilian Meier).
+ + Implement support for noBar fractions (#191, Meimax).
+
+ * Add servant-based server with a JSON API.
+
+ * Remove old cgi directory.
+
+ * Improve test suite (#189). The existing test suite was a complicated
+ mess, so that it was hard to add new tests. (One of the problems
+ was that the same files were used as golden files for reader
+ tests and as sources for writer tests.) This commit shifts
+ the same tests to a new, easier to understand format, so that
+ it will be simple to add new tests in the future. We now use
+ the tasty test framework, and we use pretty-show to make the
+ native golden tests easier to comprehend.
+
+ * Add regression tests.
+
+-------------------------------------------------------------------
Old:
----
texmath-0.12.4.tar.gz
New:
----
texmath-0.12.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ texmath.spec ++++++
--- /var/tmp/diff_new_pack.f3d0Rq/_old 2022-08-01 21:31:50.357904400 +0200
+++ /var/tmp/diff_new_pack.f3d0Rq/_new 2022-08-01 21:31:50.365904423 +0200
@@ -19,7 +19,7 @@
%global pkg_name texmath
%bcond_with tests
Name: %{pkg_name}
-Version: 0.12.4
+Version: 0.12.5.1
Release: 0
Summary: Conversion between math formats
License: GPL-2.0-or-later
@@ -34,6 +34,7 @@
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-pandoc-types-devel
BuildRequires: ghc-parsec-devel
+BuildRequires: ghc-pretty-show-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-split-devel
BuildRequires: ghc-syb-devel
@@ -43,9 +44,9 @@
%if %{with tests}
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
-BuildRequires: ghc-process-devel
-BuildRequires: ghc-temporary-devel
-BuildRequires: ghc-utf8-string-devel
+BuildRequires: ghc-tagged-devel
+BuildRequires: ghc-tasty-devel
+BuildRequires: ghc-tasty-golden-devel
%endif
%description
@@ -54,21 +55,19 @@
Support is also included for converting math formats to Gnu eqn and to pandoc's
native format (allowing conversion, via pandoc, to a variety of different
markup formats). The TeX reader supports basic LaTeX and AMS extensions, and it
-can parse and apply LaTeX macros. (See <http://johnmacfarlane.net/texmath here>
-for a live demo of bidirectional conversion between LaTeX and MathML.)
+can parse and apply LaTeX macros. (See <https://johnmacfarlane.net/texmath
+here> for a live demo of bidirectional conversion between LaTeX and MathML.)
The package also includes several utility modules which may be useful for
anyone looking to manipulate either TeX math or MathML. For example, a copy of
-the MathML operator dictionary is included. . Use the 'executable' flag to
-install a standalone executable, 'texmath', that by default reads a LaTeX
-formula from 'stdin' and writes MathML to 'stdout'. With flags all the
-functionality exposed by 'Text.TeXMath' can be accessed through this
-executable. (Use the '--help' flag for a description of all functionality)
+the MathML operator dictionary is included.
-The 'texmath' executable can also be used as a CGI script, when renamed as
-'texmath-cgi'. It will expect query parameters for 'from', 'to', 'input', and
-optionally 'inline', and return a JSON object with either 'error' and a message
-or 'success' and the converted result.
+Use the 'executable' flag to install a standalone executable, 'texmath', that
+converts formulas from one format to another. (Use the '--help' flag for a
+description of all functionality).
+
+Use the 'server' flag to install a web server, 'texmath-server', that exposes a
+JSON API allowing conversion of individual formulas and batches of formulas.
%package -n ghc-%{name}
Summary: Haskell %{name} library
++++++ texmath-0.12.4.tar.gz -> texmath-0.12.5.1.tar.gz ++++++
++++ 1194176 lines of diff (skipped)
1
0