Hello community,
here is the log from the commit of package ghc-conduit-extra for
openSUSE:Factory checked in at 2019-07-29 17:26:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-conduit-extra (Old)
and /work/SRC/openSUSE:Factory/.ghc-conduit-extra.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-conduit-extra"
Mon Jul 29 17:26:04 2019 rev:22 rq:715410 version:1.3.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-conduit-extra/ghc-conduit-extra.changes
2019-06-30 10:21:32.283623620 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-conduit-extra.new.4126/ghc-conduit-extra.changes
2019-07-29 17:26:06.894308351 +0200
@@ -1,0 +2,8 @@
+Thu Jul 4 02:03:29 UTC 2019 - [email protected]
+
+- Update conduit-extra to version 1.3.4.
+ ## 1.3.4
+
+ * Use `MonadUnliftIO`-generalized versions of `withProcess`-style functions
now provided by `typed-process`
+
+-------------------------------------------------------------------
Old:
----
conduit-extra-1.3.3.tar.gz
New:
----
conduit-extra-1.3.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-conduit-extra.spec ++++++
--- /var/tmp/diff_new_pack.MA5zEY/_old 2019-07-29 17:26:07.386308169 +0200
+++ /var/tmp/diff_new_pack.MA5zEY/_new 2019-07-29 17:26:07.390308168 +0200
@@ -19,7 +19,7 @@
%global pkg_name conduit-extra
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.3.3
+Version: 1.3.4
Release: 0
Summary: Batteries included conduit: adapters for common libraries
License: MIT
++++++ conduit-extra-1.3.3.tar.gz -> conduit-extra-1.3.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/conduit-extra-1.3.3/ChangeLog.md
new/conduit-extra-1.3.4/ChangeLog.md
--- old/conduit-extra-1.3.3/ChangeLog.md 2019-06-19 07:58:06.000000000
+0200
+++ new/conduit-extra-1.3.4/ChangeLog.md 2019-07-03 07:29:45.000000000
+0200
@@ -1,5 +1,9 @@
# ChangeLog for conduit-extra
+## 1.3.4
+
+* Use `MonadUnliftIO`-generalized versions of `withProcess`-style functions
now provided by `typed-process`
+
## 1.3.3
* Disable buffering in process modules
[#402](https://github.com/snoyberg/conduit/issues/402)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/conduit-extra-1.3.3/Data/Conduit/Process/Typed.hs
new/conduit-extra-1.3.4/Data/Conduit/Process/Typed.hs
--- old/conduit-extra-1.3.3/Data/Conduit/Process/Typed.hs 2019-06-19
07:57:42.000000000 +0200
+++ new/conduit-extra-1.3.4/Data/Conduit/Process/Typed.hs 2019-07-03
07:01:28.000000000 +0200
@@ -6,15 +6,13 @@
( -- * Conduit specific stuff
createSink
, createSource
- -- * Generalized functions
- , withProcess -- FIXME import from rio instead
- , withProcess_
+ -- * Running a process with logging
, withLoggedProcess_
-- * Reexports
, module System.Process.Typed
) where
-import System.Process.Typed hiding (withProcess, withProcess_)
+import System.Process.Typed
import qualified System.Process.Typed as P
import Data.Conduit (ConduitM, (.|), runConduit)
import qualified Data.Conduit.Binary as CB
@@ -97,7 +95,10 @@
stderrBuffer <- newIORef id
let pc' = setStdout (createSourceLogged stdoutBuffer)
$ setStderr (createSourceLogged stderrBuffer) pc
- P.withProcess pc' $ \p -> do
+ -- withProcessWait vs Term doesn't actually matter here, since we
+ -- call checkExitCode inside regardless. But still, Wait is the
+ -- safer function to use in general.
+ P.withProcessWait pc' $ \p -> do
a <- unliftIO u $ inner p
let drain src = unliftIO u (runConduit (src .| CL.sinkNull))
((), ()) <- drain (getStdout p) `concurrently`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/conduit-extra-1.3.3/conduit-extra.cabal
new/conduit-extra-1.3.4/conduit-extra.cabal
--- old/conduit-extra-1.3.3/conduit-extra.cabal 2019-06-19 07:58:11.000000000
+0200
+++ new/conduit-extra-1.3.4/conduit-extra.cabal 2019-07-03 07:29:20.000000000
+0200
@@ -1,5 +1,5 @@
Name: conduit-extra
-Version: 1.3.3
+Version: 1.3.4
Synopsis: Batteries included conduit: adapters for common libraries.
Description:
The conduit package itself maintains relative small dependencies. The
purpose of this package is to collect commonly used utility functions wrapping
other library dependencies, without depending on heavier-weight dependencies.
The basic idea is that this package should only depend on haskell-platform
packages and conduit.
@@ -56,7 +56,7 @@
, stm
, streaming-commons >= 0.1.16
, unliftio-core
- , typed-process >= 0.2
+ , typed-process >= 0.2.6
ghc-options: -Wall