Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-persistent-sqlite for
openSUSE:Factory checked in at 2025-05-22 16:57:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-persistent-sqlite (Old)
and /work/SRC/openSUSE:Factory/.ghc-persistent-sqlite.new.2732 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-persistent-sqlite"
Thu May 22 16:57:13 2025 rev:16 rq:1279250 version:2.13.3.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-persistent-sqlite/ghc-persistent-sqlite.changes
2025-01-28 16:41:06.178868438 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-persistent-sqlite.new.2732/ghc-persistent-sqlite.changes
2025-05-22 16:57:52.628478486 +0200
@@ -1,0 +2,9 @@
+Tue May 20 01:50:27 UTC 2025 - Peter Simons <[email protected]>
+
+- Update persistent-sqlite to version 2.13.3.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/persistent-sqlite-2.13.3.1/src/ChangeLog.md
+
+-------------------------------------------------------------------
Old:
----
persistent-sqlite-2.13.3.0.tar.gz
New:
----
persistent-sqlite-2.13.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-persistent-sqlite.spec ++++++
--- /var/tmp/diff_new_pack.ViBUyz/_old 2025-05-22 16:57:53.232503940 +0200
+++ /var/tmp/diff_new_pack.ViBUyz/_new 2025-05-22 16:57:53.232503940 +0200
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.13.3.0
+Version: 2.13.3.1
Release: 0
Summary: Backend for the persistent library using sqlite3
License: MIT
++++++ persistent-sqlite-2.13.3.0.tar.gz -> persistent-sqlite-2.13.3.1.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.13.3.0/ChangeLog.md
new/persistent-sqlite-2.13.3.1/ChangeLog.md
--- old/persistent-sqlite-2.13.3.0/ChangeLog.md 2023-12-07 17:51:45.000000000
+0100
+++ new/persistent-sqlite-2.13.3.1/ChangeLog.md 2025-05-20 03:41:57.000000000
+0200
@@ -1,6 +1,12 @@
# Changelog for persistent-sqlite
-## 2.13.3.0 (unreleased)
+## 2.13.3.1
+
+* [1585](https://github.com/yesodweb/persistent/pull/1585)
+ * Fix missing timezone "Z" in Sqlite UTCTime strings, e.g.
+ "2025-04-12T06:53:42Z"
+
+## 2.13.3.0
* [#1524](https://github.com/yesodweb/persistent/pull/1524)
* Add Database.Persist.Sqlite.createSqlitePoolWithConfig to create a SQLite
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.13.3.0/Database/Sqlite.hs
new/persistent-sqlite-2.13.3.1/Database/Sqlite.hs
--- old/persistent-sqlite-2.13.3.0/Database/Sqlite.hs 2023-12-07
17:50:45.000000000 +0100
+++ new/persistent-sqlite-2.13.3.1/Database/Sqlite.hs 2025-05-20
03:41:57.000000000 +0200
@@ -486,8 +486,13 @@
$ zip [1..] sqlData
return ()
+-- | Format UTCTime value as a ISO86091 string.
+-- It contains timezone "Z" which corresponds to UTC, e.g.
"2025-04-12T06:53:42Z".
+-- Note: We manually format here to support "time" package >=1.6,
+-- but consider using `Data.Time.Format.ISO8601` iso8601Show and iso8601ParseM
when bumping
+-- lower "time" package bound to >=1.9.
format8601 :: UTCTime -> String
-format8601 = formatTime defaultTimeLocale "%FT%T%Q"
+format8601 = formatTime defaultTimeLocale "%FT%T%QZ"
foreign import ccall "sqlite3_column_type"
columnTypeC :: Ptr () -> Int -> IO Int
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.13.3.0/persistent-sqlite.cabal
new/persistent-sqlite-2.13.3.1/persistent-sqlite.cabal
--- old/persistent-sqlite-2.13.3.0/persistent-sqlite.cabal 2023-12-07
17:50:45.000000000 +0100
+++ new/persistent-sqlite-2.13.3.1/persistent-sqlite.cabal 2025-05-20
03:41:57.000000000 +0200
@@ -1,146 +1,187 @@
-name: persistent-sqlite
-version: 2.13.3.0
-license: MIT
-license-file: LICENSE
-author: Michael Snoyman <[email protected]>
-maintainer: Michael Snoyman <[email protected]>
-synopsis: Backend for the persistent library using sqlite3.
-description: This package includes a thin sqlite3 wrapper based on the
direct-sqlite package, as well as the entire C library, so there are no system
dependencies.
-category: Database, Yesod
-stability: Stable
-cabal-version: >= 1.10
-build-type: Simple
-homepage: http://www.yesodweb.com/book/persistent
-bug-reports: https://github.com/yesodweb/persistent/issues
-extra-source-files: ChangeLog.md cbits/*.c cbits/*.h
+name: persistent-sqlite
+version: 2.13.3.1
+license: MIT
+license-file: LICENSE
+author: Michael Snoyman <[email protected]>
+maintainer: Michael Snoyman <[email protected]>
+synopsis: Backend for the persistent library using sqlite3.
+description:
+ This package includes a thin sqlite3 wrapper based on the direct-sqlite
package, as well as the entire C library, so there are no system dependencies.
+
+category: Database, Yesod
+stability: Stable
+cabal-version: >=1.10
+build-type: Simple
+homepage: http://www.yesodweb.com/book/persistent
+bug-reports: https://github.com/yesodweb/persistent/issues
+extra-source-files:
+ cbits/*.c
+ cbits/*.h
+ ChangeLog.md
flag systemlib
description: Use the system-wide sqlite library
- default: False
+ default: False
+
flag use-pkgconfig
description: Use pkg-config to find system sqlite library
- default: False
+ default: False
+
flag build-sanity-exe
description: Build a sanity check test executable
- default: False
+ default: False
+
flag full-text-search
- description: Enable full-text search in the vendored SQLite library; has no
effect if a system SQLite library is used.
- default: True
+ description:
+ Enable full-text search in the vendored SQLite library; has no effect if a
system SQLite library is used.
+
+ default: True
+
flag uri-filenames
- description: Enable URI filenames in the vendored SQLite library; has no
effect if a system SQLite library is used.
- default: True
+ description:
+ Enable URI filenames in the vendored SQLite library; has no effect if a
system SQLite library is used.
+
+ default: True
+
flag have-usleep
- description: Enable usleep in the vendored SQLite library; has no effect if
a system SQLite library is used.
- default: True
+ description:
+ Enable usleep in the vendored SQLite library; has no effect if a system
SQLite library is used.
+
+ default: True
+
flag json1
- description: Enable json1 in the vendored SQLite library; has no effect if a
system SQLite library is used.
- default: True
+ description:
+ Enable json1 in the vendored SQLite library; has no effect if a system
SQLite library is used.
+
+ default: True
+
flag use-stat3
- description: This flag is now a no-op, as the corresponding SQLite option is
now a no-op; has no effect if a system SQLite library is used.
- default: False
+ description:
+ This flag is now a no-op, as the corresponding SQLite option is now a
no-op; has no effect if a system SQLite library is used.
+
+ default: False
+
flag use-stat4
- description: Enable STAT4 in the vendored SQLite library (supercedes stat3);
has no effect if a system SQLite library is used.
- default: True
+ description:
+ Enable STAT4 in the vendored SQLite library (supercedes stat3); has no
effect if a system SQLite library is used.
+
+ default: True
library
- build-depends: base >= 4.9 && < 5
- , persistent >= 2.13.3 && < 3
- , aeson >= 1.0
- , bytestring >= 0.10
- , conduit >= 1.2.12
- , containers >= 0.5
- , microlens-th >= 0.4.1.1
- , monad-logger >= 0.3.25
- , mtl
- , resource-pool
- , resourcet >= 1.1.9
- , text >= 1.2
- , time
- , transformers >= 0.5
- , unliftio-core
- , unordered-containers
- exposed-modules: Database.Sqlite
- Database.Sqlite.Internal
- Database.Persist.Sqlite
- ghc-options: -Wall
- default-language: Haskell2010
- if flag(systemlib)
- if flag(use-pkgconfig)
- pkgconfig-depends: sqlite3
- else
- extra-libraries: sqlite3
+ build-depends:
+ aeson >=1.0
+ , base >=4.9 && <5
+ , bytestring >=0.10
+ , conduit >=1.2.12
+ , containers >=0.5
+ , microlens-th >=0.4.1.1
+ , monad-logger >=0.3.25
+ , mtl
+ , persistent >=2.15.2.0 && <3
+ , resource-pool
+ , resourcet >=1.1.9
+ , text >=1.2
+ , time
+ , transformers >=0.5
+ , unliftio-core
+ , unordered-containers
+
+ exposed-modules:
+ Database.Persist.Sqlite
+ Database.Sqlite
+ Database.Sqlite.Internal
+
+ ghc-options: -Wall
+ default-language: Haskell2010
+
+ if flag(systemlib)
+ if flag(use-pkgconfig)
+ pkgconfig-depends: sqlite3
+
else
- c-sources: cbits/sqlite3.c
- include-dirs: cbits
- includes: sqlite3.h
- install-includes: sqlite3.h
- cc-options: -fPIC -std=c99
- if flag(full-text-search)
- cc-options: -DSQLITE_ENABLE_FTS3
- -DSQLITE_ENABLE_FTS3_PARENTHESIS
- -DSQLITE_ENABLE_FTS4
- -DSQLITE_ENABLE_FTS5
- if flag(uri-filenames)
- cc-options: -DSQLITE_USE_URI
- if flag(have-usleep)
- cc-options: -DHAVE_USLEEP
- if flag(json1)
- cc-options: -DSQLITE_ENABLE_JSON1
- if flag(use-stat4)
- cc-options: -DSQLITE_ENABLE_STAT4
+ extra-libraries: sqlite3
+
+ else
+ c-sources: cbits/sqlite3.c
+ include-dirs: cbits
+ includes: sqlite3.h
+ install-includes: sqlite3.h
+ cc-options: -fPIC -std=c99
+
+ if flag(full-text-search)
+ cc-options:
+ -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS
+ -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5
+
+ if flag(uri-filenames)
+ cc-options: -DSQLITE_USE_URI
+
+ if flag(have-usleep)
+ cc-options: -DHAVE_USLEEP
+
+ if flag(json1)
+ cc-options: -DSQLITE_ENABLE_JSON1
- c-sources: cbits/config.c
+ if flag(use-stat4)
+ cc-options: -DSQLITE_ENABLE_STAT4
- if !os(windows)
- extra-libraries: pthread
+ c-sources: cbits/config.c
+
+ if !os(windows)
+ extra-libraries: pthread
source-repository head
type: git
- location: git://github.com/yesodweb/persistent.git
+ location: https://github.com/yesodweb/persistent.git
executable sanity
- if flag(build-sanity-exe)
- buildable: True
- else
- buildable: False
- main-is: sanity.hs
- hs-source-dirs: test
- build-depends: base
- , persistent-sqlite
- , monad-logger
- default-language: Haskell2010
+ if flag(build-sanity-exe)
+ buildable: True
+
+ else
+ buildable: False
+
+ main-is: sanity.hs
+ hs-source-dirs: test
+ build-depends:
+ base
+ , monad-logger
+ , persistent-sqlite
+
+ default-language: Haskell2010
test-suite test
- type: exitcode-stdio-1.0
- main-is: main.hs
- hs-source-dirs: test
- other-modules:
- SqliteInit
- Database.Persist.Sqlite.CompositeSpec
- ghc-options: -Wall
-
- build-depends: base >= 4.9 && < 5
- , persistent
- , persistent-sqlite
- , persistent-test
- , bytestring
- , containers
- , conduit
- , exceptions
- , fast-logger
- , hspec >= 2.4
- , HUnit
- , microlens
- , monad-logger
- , mtl
- , QuickCheck
- , resourcet
- , system-fileio
- , system-filepath
- , temporary
- , text
- , time
- , transformers
- , time
- , unliftio-core
- default-language: Haskell2010
+ type: exitcode-stdio-1.0
+ main-is: main.hs
+ hs-source-dirs: test
+ other-modules:
+ Database.Persist.Sqlite.CompositeSpec
+ SqliteInit
+
+ ghc-options: -Wall
+ build-depends:
+ base >=4.9 && <5
+ , bytestring
+ , conduit
+ , containers
+ , exceptions
+ , fast-logger
+ , hspec >=2.4
+ , HUnit
+ , microlens
+ , monad-logger
+ , mtl
+ , persistent
+ , persistent-sqlite
+ , persistent-test
+ , QuickCheck
+ , resourcet
+ , system-fileio
+ , system-filepath
+ , temporary
+ , text
+ , time
+ , transformers
+ , unliftio-core
+
+ default-language: Haskell2010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.13.3.0/test/main.hs
new/persistent-sqlite-2.13.3.1/test/main.hs
--- old/persistent-sqlite-2.13.3.0/test/main.hs 2023-09-07 19:20:05.000000000
+0200
+++ new/persistent-sqlite-2.13.3.1/test/main.hs 2025-05-09 22:36:18.000000000
+0200
@@ -12,6 +12,7 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -fno-warn-unused-top-binds #-}