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-11-11 21:37:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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"
Thu Nov 11 21:37:07 2021 rev:17 rq:930373 version:0.2.7.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-typed-process/ghc-typed-process.changes
2021-10-15 23:03:55.646095916 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-typed-process.new.1890/ghc-typed-process.changes
2021-11-11 21:37:33.728938544 +0100
@@ -1,0 +2,8 @@
+Mon Nov 1 08:27:04 UTC 2021 - [email protected]
+
+- Update typed-process to version 0.2.7.0.
+ ## 0.2.7.0
+
+ * Include empty argument in the show instance.
+
+-------------------------------------------------------------------
Old:
----
typed-process-0.2.6.3.tar.gz
New:
----
typed-process-0.2.7.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-typed-process.spec ++++++
--- /var/tmp/diff_new_pack.lWU5OM/_old 2021-11-11 21:37:34.196938884 +0100
+++ /var/tmp/diff_new_pack.lWU5OM/_new 2021-11-11 21:37:34.196938884 +0100
@@ -19,7 +19,7 @@
%global pkg_name typed-process
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.6.3
+Version: 0.2.7.0
Release: 0
Summary: Run external processes, with strong typing of streams
License: MIT
++++++ typed-process-0.2.6.3.tar.gz -> typed-process-0.2.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/typed-process-0.2.6.3/ChangeLog.md
new/typed-process-0.2.7.0/ChangeLog.md
--- old/typed-process-0.2.6.3/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
+++ new/typed-process-0.2.7.0/ChangeLog.md 2021-10-31 07:59:14.000000000
+0100
@@ -1,5 +1,9 @@
# ChangeLog for typed-process
+## 0.2.7.0
+
+* Include empty argument in the show instance.
+
## 0.2.6.3
* Doc improvements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/typed-process-0.2.6.3/src/System/Process/Typed.hs
new/typed-process-0.2.7.0/src/System/Process/Typed.hs
--- old/typed-process-0.2.6.3/src/System/Process/Typed.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/typed-process-0.2.7.0/src/System/Process/Typed.hs 2021-10-31
07:59:14.000000000 +0100
@@ -226,6 +226,7 @@
where
escape x
| any (`elem` " \\\"'") x = show x
+ | x == "" = "\"\""
| otherwise = x
instance (stdin ~ (), stdout ~ (), stderr ~ ())
=> IsString (ProcessConfig stdin stdout stderr) where
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/typed-process-0.2.6.3/test/System/Process/TypedSpec.hs
new/typed-process-0.2.7.0/test/System/Process/TypedSpec.hs
--- old/typed-process-0.2.6.3/test/System/Process/TypedSpec.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/typed-process-0.2.7.0/test/System/Process/TypedSpec.hs 2021-10-31
07:59:14.000000000 +0100
@@ -166,3 +166,7 @@
let expected = "stdout\nstderr\nstdout\n"
L.take (L.length expected) lbs1 `shouldBe` expected
+
+ it "empty param are showed" $
+ let expected = "Raw command: podman exec --detach-keys \"\" ctx bash\n"
+ in show (proc "podman" ["exec", "--detach-keys", "", "ctx", "bash"])
`shouldBe` expected
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/typed-process-0.2.6.3/typed-process.cabal
new/typed-process-0.2.7.0/typed-process.cabal
--- old/typed-process-0.2.6.3/typed-process.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/typed-process-0.2.7.0/typed-process.cabal 2021-10-31
07:59:21.000000000 +0100
@@ -5,7 +5,7 @@
-- see: https://github.com/sol/hpack
name: typed-process
-version: 0.2.6.3
+version: 0.2.7.0
synopsis: Run external processes, with strong typing of streams
description: Please see the tutorial at
<https://github.com/fpco/typed-process#readme>
category: System