Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-typed-process for
openSUSE:Factory checked in at 2021-10-15 23:03:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-typed-process (Old)
and /work/SRC/openSUSE:Factory/.ghc-typed-process.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-typed-process"
Fri Oct 15 23:03:39 2021 rev:16 rq:925204 version:0.2.6.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-typed-process/ghc-typed-process.changes
2021-08-25 20:58:52.133109150 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-typed-process.new.1890/ghc-typed-process.changes
2021-10-15 23:03:55.646095916 +0200
@@ -1,0 +2,12 @@
+Thu Oct 7 07:58:33 UTC 2021 - [email protected]
+
+- Update typed-process to version 0.2.6.3.
+ ## 0.2.6.3
+
+ * Doc improvements
+
+ ## 0.2.6.2
+
+ * Doc improvements
+
+-------------------------------------------------------------------
Old:
----
typed-process-0.2.6.1.tar.gz
New:
----
typed-process-0.2.6.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-typed-process.spec ++++++
--- /var/tmp/diff_new_pack.ojxdjf/_old 2021-10-15 23:03:56.058096210 +0200
+++ /var/tmp/diff_new_pack.ojxdjf/_new 2021-10-15 23:03:56.058096210 +0200
@@ -19,7 +19,7 @@
%global pkg_name typed-process
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.6.1
+Version: 0.2.6.3
Release: 0
Summary: Run external processes, with strong typing of streams
License: MIT
@@ -41,7 +41,7 @@
%endif
%description
-Please see the tutorial at <https://haskell-lang.org/library/typed-process>.
+Please see the tutorial at <https://github.com/fpco/typed-process#readme>.
%package devel
Summary: Haskell %{pkg_name} library development files
++++++ typed-process-0.2.6.1.tar.gz -> typed-process-0.2.6.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/typed-process-0.2.6.1/ChangeLog.md
new/typed-process-0.2.6.3/ChangeLog.md
--- old/typed-process-0.2.6.1/ChangeLog.md 2021-08-12 10:25:34.000000000
+0200
+++ new/typed-process-0.2.6.3/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,13 @@
# ChangeLog for typed-process
+## 0.2.6.3
+
+* Doc improvements
+
+## 0.2.6.2
+
+* Doc improvements
+
## 0.2.6.1
* Doc improvements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/typed-process-0.2.6.1/src/System/Process/Typed.hs
new/typed-process-0.2.6.3/src/System/Process/Typed.hs
--- old/typed-process-0.2.6.1/src/System/Process/Typed.hs 2021-08-12
10:24:08.000000000 +0200
+++ new/typed-process-0.2.6.3/src/System/Process/Typed.hs 2001-09-09
03:46:40.000000000 +0200
@@ -14,10 +14,11 @@
-- @
-- {-\# LANGUAGE OverloadedStrings \#-}
--
--- runProcess "ls -l /home" >>= print
+-- 'runProcess' "ls -l /home" >>= print
-- @
--
--- Please see the README.md file for more examples of using this API.
+-- Please see the [README.md](https://github.com/fpco/typed-process#readme)
+-- file for more examples of using this API.
module System.Process.Typed
( -- * Types
ProcessConfig
@@ -30,6 +31,8 @@
, proc
, shell
+ -- | #processconfigsetters#
+
-- ** Setters
, setStdin
, setStdout
@@ -53,6 +56,8 @@
, setChildUserInherit
#endif
+ -- | #streamspecs#
+
-- * Stream specs
-- ** Built-in stream specs
, inherit
@@ -67,25 +72,31 @@
-- ** Create your own stream spec
, mkStreamSpec
+ -- | #launchaprocess#
+
-- * Launch a process
- , startProcess
- , stopProcess
+ , runProcess
+ , readProcess
+ , readProcessStdout
+ , readProcessStderr
+ , readProcessInterleaved
, withProcessWait
- , withProcessWait_
, withProcessTerm
- , withProcessTerm_
- , withProcess
- , withProcess_
- , readProcess
- , readProcess_
- , runProcess
+ , startProcess
+ , stopProcess
+ -- ** Exception-throwing functions
+ -- | The functions ending in underbar (@_@) are the same as
+ -- their counterparts without underbar but instead of returning
+ -- an 'ExitCode' they throw 'ExitCodeException' on failure.
, runProcess_
- , readProcessStdout
+ , readProcess_
, readProcessStdout_
- , readProcessStderr
, readProcessStderr_
- , readProcessInterleaved
, readProcessInterleaved_
+ , withProcessWait_
+ , withProcessTerm_
+
+ -- | #interactwithaprocess#
-- * Interact with a process
@@ -107,6 +118,9 @@
, ByteStringOutputException (..)
-- * Unsafe functions
, unsafeProcessHandle
+ -- * Deprecated functions
+ , withProcess
+ , withProcess_
) where
import qualified Data.ByteString as S
@@ -161,7 +175,11 @@
--
-- In all cases, the default for all three streams is to inherit the
-- streams from the parent process. For other settings, see the
--- setters below for default values.
+-- [setters below](#processconfigsetters) for default values.
+--
+-- Once you have a @ProcessConfig@ you can launch a process from it
+-- using the functions in the section [Launch a
+-- process](#launchaprocess).
--
-- @since 0.1.0.0
data ProcessConfig stdin stdout stderr = ProcessConfig
@@ -236,7 +254,8 @@
-- 3. A cleanup action which will be run on the stream once the
-- process terminates
--
--- See examples below.
+-- To create a @StreamSpec@ see the section [Stream
+-- specs](#streamspecs).
--
-- @since 0.1.0.0
data StreamSpec (streamType :: StreamType) a = StreamSpec
@@ -269,6 +288,9 @@
-- | A running process. The three type parameters provide the type of
-- the standard input, standard output, and standard error streams.
--
+-- To interact with a @Process@ use the functions from the section
+-- [Interact with a process](#interactwithaprocess).
+--
-- @since 0.1.0.0
data Process stdin stdout stderr = Process
{ pConfig :: !(ProcessConfig () () ())
@@ -684,7 +706,7 @@
-- | Launch a process based on the given 'ProcessConfig'. You should
-- ensure that you call 'stopProcess' on the result. It's usually
-- better to use one of the functions in this module which ensures
--- 'stopProcess' is called, such as 'withProcess'.
+-- 'stopProcess' is called, such as 'withProcessWait'.
--
-- @since 0.1.0.0
startProcess :: MonadIO m
@@ -825,7 +847,9 @@
-- @since 0.2.5.0
withProcessTerm :: (MonadUnliftIO m)
=> ProcessConfig stdin stdout stderr
+ -- ^
-> (Process stdin stdout stderr -> m a)
+ -- ^
-> m a
withProcessTerm config = bracket (startProcess config) stopProcess
@@ -834,6 +858,9 @@
-- exit, and only kill it with 'stopProcess' in the event that the
-- inner function throws an exception.
--
+-- To interact with a @Process@ use the functions from the section
+-- [Interact with a process](#interactwithaprocess).
+--
-- @since 0.2.5.0
withProcessWait :: (MonadUnliftIO m)
=> ProcessConfig stdin stdout stderr
@@ -859,6 +886,9 @@
-- | Same as 'withProcessTerm', but also calls 'checkExitCode'
--
+-- To interact with a @Process@ use the functions from the section
+-- [Interact with a process](#interactwithaprocess).
+--
-- @since 0.2.5.0
withProcessTerm_ :: (MonadUnliftIO m)
=> ProcessConfig stdin stdout stderr
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/typed-process-0.2.6.1/typed-process.cabal
new/typed-process-0.2.6.3/typed-process.cabal
--- old/typed-process-0.2.6.1/typed-process.cabal 2021-08-12
10:25:44.000000000 +0200
+++ new/typed-process-0.2.6.3/typed-process.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -5,11 +5,11 @@
-- see: https://github.com/sol/hpack
name: typed-process
-version: 0.2.6.1
+version: 0.2.6.3
synopsis: Run external processes, with strong typing of streams
-description: Please see the tutorial at
<https://haskell-lang.org/library/typed-process>
+description: Please see the tutorial at
<https://github.com/fpco/typed-process#readme>
category: System
-homepage: https://haskell-lang.org/library/typed-process
+homepage: https://github.com/fpco/typed-process
bug-reports: https://github.com/fpco/typed-process/issues
author: Michael Snoyman
maintainer: [email protected]