Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-silently for openSUSE:Factory checked in at 2024-12-20 23:10:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-silently (Old) and /work/SRC/openSUSE:Factory/.ghc-silently.new.1881 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-silently" Fri Dec 20 23:10:52 2024 rev:15 rq:1231467 version:1.2.5.4 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-silently/ghc-silently.changes 2023-04-04 21:23:20.670190496 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-silently.new.1881/ghc-silently.changes 2024-12-20 23:11:44.775257402 +0100 @@ -1,0 +2,10 @@ +Sat Nov 23 09:52:01 UTC 2024 - Peter Simons <[email protected]> + +- Update silently to version 1.2.5.4. + # 1.2.5.4 November 2024 + + * Bump `cabal-version` to 1.18. + * README: alert of malfunction in multi-threaded settings. + * Tested with GHC 8.0 - 9.12.0. + +------------------------------------------------------------------- Old: ---- silently-1.2.5.3.tar.gz New: ---- silently-1.2.5.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-silently.spec ++++++ --- /var/tmp/diff_new_pack.i8fyuK/_old 2024-12-20 23:11:45.259277357 +0100 +++ /var/tmp/diff_new_pack.i8fyuK/_new 2024-12-20 23:11:45.259277357 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-silently # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.5.3 +Version: 1.2.5.4 Release: 0 Summary: Prevent or capture writing to stdout and other handles License: BSD-3-Clause ++++++ silently-1.2.5.3.tar.gz -> silently-1.2.5.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/silently-1.2.5.3/CHANGELOG.md new/silently-1.2.5.4/CHANGELOG.md --- old/silently-1.2.5.3/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/silently-1.2.5.4/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,9 @@ +# 1.2.5.4 November 2024 + +* Bump `cabal-version` to 1.18. +* README: alert of malfunction in multi-threaded settings. +* Tested with GHC 8.0 - 9.12.0. + # 1.2.5.3 August 2022 * Tested with GHC 7.0 - 9.4.1. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/silently-1.2.5.3/README.md new/silently-1.2.5.4/README.md --- old/silently-1.2.5.3/README.md 2001-09-09 03:46:40.000000000 +0200 +++ new/silently-1.2.5.4/README.md 2001-09-09 03:46:40.000000000 +0200 @@ -29,7 +29,19 @@ returned: 123 ``` -## Limitations +## Not thread-safe + +Since all threads of a process share the standard output handles `stdout` and `stderr`, +capturing output to these handle will capture the output of __all threads__, +not just the one running the action under `capture`. + +In essence, this library does not work in a situation where multiple threads are writing to the handle +whose output _produced by the given action_ we want to capture. + +See: +- https://github.com/hspec/silently/issues/6 + +## Further limitations Capturing/silencing might not work as expected if the action uses the FFI or conceals output under `unsafePerformIO` or similar unsafe operations. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/silently-1.2.5.3/silently.cabal new/silently-1.2.5.4/silently.cabal --- old/silently-1.2.5.3/silently.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/silently-1.2.5.4/silently.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,22 +1,26 @@ -cabal-version: >= 1.10 +cabal-version: 1.18 name: silently -version: 1.2.5.3 +version: 1.2.5.4 build-type: Simple license: BSD3 license-file: LICENSE +author: Trystan Spangler copyright: (c) Trystan Spangler 2011 -maintainer: Sönke Hahn <[email protected]>, Simon Hengel <[email protected]>, Andreas Abel +maintainer: Simon Hengel <[email protected]>, Andreas Abel homepage: https://github.com/hspec/silently package-url: https://github.com/hspec/silently bug-reports: https://github.com/hspec/silently/issues synopsis: Prevent or capture writing to stdout and other handles. description: Prevent or capture writing to stdout, stderr, and other handles. category: System, Testing -author: Trystan Spangler tested-with: - GHC == 9.4.1 - GHC == 9.2.4 + GHC == 9.12.0 + GHC == 9.10.1 + GHC == 9.8.3 + GHC == 9.6.6 + GHC == 9.4.8 + GHC == 9.2.8 GHC == 9.0.2 GHC == 8.10.7 GHC == 8.8.4 @@ -24,14 +28,8 @@ GHC == 8.4.4 GHC == 8.2.2 GHC == 8.0.2 - GHC == 7.10.3 - GHC == 7.8.4 - GHC == 7.6.3 - GHC == 7.4.2 - GHC == 7.2.2 - GHC == 7.0.4 -extra-source-files: +extra-doc-files: CHANGELOG.md README.md @@ -82,7 +80,7 @@ ghc-options: -Wall -threaded build-depends: - base + base >= 4.3 && < 5 , silently , directory , nanospec @@ -105,7 +103,7 @@ System.IO.Silently build-depends: - base + base >= 4.3 && < 5 , deepseq , directory , nanospec
