commit ghc-monad-logger for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2020-08-28 21:35:05

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new.3399 (New)


Package is "ghc-monad-logger"

Fri Aug 28 21:35:05 2020 rev:23 rq:829353 version:0.3.35

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2020-07-09 13:19:50.953360948 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-monad-logger.new.3399/ghc-monad-logger.changes  
2020-08-28 21:35:06.788716271 +0200
@@ -1,0 +2,14 @@
+Tue Aug 18 10:45:29 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---
+Thu Aug 13 02:00:25 UTC 2020 - psim...@suse.com
+
+- Update monad-logger to version 0.3.35.
+  ## 0.3.35
+
+  * Add Hackage status badge
+  * Document `Loc` [#26](https://github.com/snoyberg/monad-logger/pull/26)
+
+---

Old:

  monad-logger-0.3.34.tar.gz

New:

  monad-logger-0.3.35.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.tfaRIn/_old  2020-08-28 21:35:07.504716610 +0200
+++ /var/tmp/diff_new_pack.tfaRIn/_new  2020-08-28 21:35:07.508716612 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.34
+Version:0.3.35
 Release:0
 Summary:A class of monads which can log messages
 License:MIT
@@ -59,7 +59,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build

++ monad-logger-0.3.34.tar.gz -> monad-logger-0.3.35.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.34/ChangeLog.md 
new/monad-logger-0.3.35/ChangeLog.md
--- old/monad-logger-0.3.34/ChangeLog.md2020-07-07 07:20:03.0 
+0200
+++ new/monad-logger-0.3.35/ChangeLog.md2020-08-12 08:34:19.0 
+0200
@@ -1,5 +1,10 @@
 # ChangeLog for monad-logger
 
+## 0.3.35
+
+* Add Hackage status badge
+* Document `Loc` [#26](https://github.com/snoyberg/monad-logger/pull/26)
+
 ## 0.3.34
 
 * Fix build for lts-9 resolver
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.34/Control/Monad/Logger.hs 
new/monad-logger-0.3.35/Control/Monad/Logger.hs
--- old/monad-logger-0.3.34/Control/Monad/Logger.hs 2020-07-07 
07:20:03.0 +0200
+++ new/monad-logger-0.3.35/Control/Monad/Logger.hs 2020-08-12 
08:30:54.0 +0200
@@ -100,6 +100,7 @@
 #endif
 -- * utilities for defining your own loggers
 , defaultLogStr
+-- $locDocs
 , Loc (..)
 , defaultLoc
 ) where
@@ -178,6 +179,22 @@
 
 type LogSource = Text
 
+-- $locDocs
+--
+-- === Loc
+--
+-- When @monad-logger@ is compiled with the @template_haskell@ flag set to 
true (the default), the 'Loc' below is a re-export from the @template-haskell@ 
package.
+-- When the flag is false, the 'Loc' below is a copy of that data structure 
defined in @monad-logger@ itself.
+--
+-- If you are making a library that:
+--
+-- * Uses @monad-logger@
+-- * Uses 'Loc' in a type signature
+-- * But doesn't need to depend on @template-haskell@ for other reasons
+--
+-- You can import 'Loc' directly from this package, instead of adding an 
dependency on @template-haskell@ and importing from there.
+-- This allows users to compile your package in environments that don't 
support @template-haskell@.
+
 #if WITH_TEMPLATE_HASKELL
 
 instance Lift LogLevel where
@@ -872,19 +889,19 @@
 logOtherN :: MonadLogger m => LogLevel -> Text -> m ()
 logOtherN = logWithoutLoc ""
 
-logDebugNS :: MonadLogger m => Text -> Text -> m ()
+logDebugNS :: MonadLogger m => LogSource -> Text -> m ()
 logDebugNS src = logWithoutLoc src LevelDebug
 
-logInfoNS :: MonadLogger m => Text -> Text -> m ()
+logInfoNS :: MonadLogger m => LogSource -> Text -> m ()
 logInfoNS src = logWithoutLoc src LevelInfo
 
-logWarnNS :: MonadLogger m => Text -> Text -> m ()
+logWarnNS :: MonadLogger m => LogSource -> Text -> m ()
 logWarnNS src = logWithoutLoc src LevelWarn
 
-logErrorNS :: MonadLogger m => Text -> Text -> m ()
+logErrorNS :: MonadLogger m => LogSource -> Text -> m ()
 logErrorNS src = logWithoutLoc src LevelError
 
-logOtherNS :: MonadLogger m => Text -> LogLevel -> Text -> m ()
+logOtherNS :: MonadLogger m => LogSource -> LogLevel -> Text -> m ()
 logOtherNS = logWithoutLoc
 
 #if WITH_CALLSTACK
diff -urN '--exclude=

commit ghc-monad-logger for openSUSE:Factory

2020-07-09 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2020-07-09 13:19:26

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new.3060 (New)


Package is "ghc-monad-logger"

Thu Jul  9 13:19:26 2020 rev:22 rq:819582 version:0.3.34

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2020-06-19 17:15:36.642566517 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-monad-logger.new.3060/ghc-monad-logger.changes  
2020-07-09 13:19:50.953360948 +0200
@@ -1,0 +2,16 @@
+Wed Jul  8 02:00:26 UTC 2020 - psim...@suse.com
+
+- Update monad-logger to version 0.3.34.
+  ## 0.3.34
+
+  * Fix build for lts-9 resolver
+
+---
+Thu Jul  2 02:00:20 UTC 2020 - psim...@suse.com
+
+- Update monad-logger to version 0.3.33.
+  ## 0.3.33
+
+  * Export `LogLine` type synonym.
+
+---

Old:

  monad-logger-0.3.32.tar.gz

New:

  monad-logger-0.3.34.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.Jo6Z13/_old  2020-07-09 13:19:51.877363869 +0200
+++ /var/tmp/diff_new_pack.Jo6Z13/_new  2020-07-09 13:19:51.881363881 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.32
+Version:0.3.34
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.32.tar.gz -> monad-logger-0.3.34.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.32/ChangeLog.md 
new/monad-logger-0.3.34/ChangeLog.md
--- old/monad-logger-0.3.32/ChangeLog.md2020-03-01 09:40:33.0 
+0100
+++ new/monad-logger-0.3.34/ChangeLog.md2020-07-07 07:20:03.0 
+0200
@@ -1,5 +1,13 @@
 # ChangeLog for monad-logger
 
+## 0.3.34
+
+* Fix build for lts-9 resolver
+
+## 0.3.33
+
+* Export `LogLine` type synonym.
+
 ## 0.3.32
 
 * Compat with `unliftio-core` 0.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.32/Control/Monad/Logger.hs 
new/monad-logger-0.3.34/Control/Monad/Logger.hs
--- old/monad-logger-0.3.32/Control/Monad/Logger.hs 2020-03-01 
09:40:04.0 +0100
+++ new/monad-logger-0.3.34/Control/Monad/Logger.hs 2020-07-07 
07:20:03.0 +0200
@@ -34,6 +34,7 @@
   MonadLogger(..)
 , MonadLoggerIO (..)
 , LogLevel(..)
+, LogLine
 , LogSource
 -- * Re-export from fast-logger
 , LogStr
@@ -402,13 +403,20 @@
 
 -- | @since 0.3.26
 instance MonadUnliftIO m => MonadUnliftIO (NoLoggingT m) where
+#if MIN_VERSION_unliftio_core(0, 1, 1)
   {-# INLINE withRunInIO #-}
   withRunInIO inner =
 NoLoggingT $
 withRunInIO $ \run ->
 inner (run . runNoLoggingT)
+#else
+  askUnliftIO =
+NoLoggingT $
+withUnliftIO $ \u ->
+return (UnliftIO (unliftIO u . runNoLoggingT))
+#endif
 
--- | @since 0.3.28
+-- | @since 0.3.32
 type LogLine = (Loc, LogSource, LogLevel, LogStr)
 
 -- | @since 0.3.28
@@ -626,11 +634,18 @@
 
 -- | @since 0.3.26
 instance MonadUnliftIO m => MonadUnliftIO (LoggingT m) where
+#if MIN_VERSION_unliftio_core(0, 1, 1)
   {-# INLINE withRunInIO #-}
   withRunInIO inner =
 LoggingT $ \r ->
 withRunInIO $ \run ->
 inner (run . flip runLoggingT r)
+#else
+  askUnliftIO =
+LoggingT $ \f ->
+withUnliftIO $ \u ->
+return (UnliftIO (unliftIO u . flip runLoggingT f))
+#endif
 
 defaultOutput :: Handle
   -> Loc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.32/monad-logger.cabal 
new/monad-logger-0.3.34/monad-logger.cabal
--- old/monad-logger-0.3.32/monad-logger.cabal  2020-03-01 09:40:15.0 
+0100
+++ new/monad-logger-0.3.34/monad-logger.cabal  2020-07-07 07:20:28.0 
+0200
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 3bc78e9ad84902b767b9156b71057661558496979be02259b5e9161b3268b097
+-- hash: 4c723e63ce03c6e1717d2dbde2229b03d803ec328b909536160c9d7e8e5c9583
 
 name:   monad-logger
-version:0.3.32
+version:0.3.34
 synopsis:   A class of monads which can log messages.
 description:See README and Haddocks at 

 category:   System




commit ghc-monad-logger for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2020-06-19 17:15:36

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new.3606 (New)


Package is "ghc-monad-logger"

Fri Jun 19 17:15:36 2020 rev:21 rq:815134 version:0.3.32

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2020-05-11 13:35:55.696435185 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-monad-logger.new.3606/ghc-monad-logger.changes  
2020-06-19 17:15:36.642566517 +0200
@@ -2 +2 @@
-Tue Mar 24 08:06:55 UTC 2020 - psim...@suse.com
+Tue Jun  9 09:26:17 UTC 2020 - psim...@suse.com
@@ -4,2 +4 @@
-- Update monad-logger to version 0.3.32.
-  # ChangeLog for monad-logger
+- Add monad-logger at version 0.3.32.
@@ -7,129 +5,0 @@
-  ## 0.3.32
-
-  * Compat with `unliftio-core` 0.2
-

-Tue Nov 26 11:59:30 UTC 2019 - psim...@suse.com
-
-- Update monad-logger to version 0.3.31.
-  ## 0.3.31
-
-  * Re-export `fromLogStr` to make implementing custom instances more 
convenient.
-[#14](https://github.com/snoyberg/monad-logger/pull/14)
-

-Fri Nov  8 16:14:14 UTC 2019 - Peter Simons 
-
-- Drop obsolete group attributes.
-

-Fri Oct 11 12:15:08 UTC 2019 - Peter Simons 
-
-- Update Cabal file for more accurate build dependencies.
-

-Mon Oct 22 10:35:50 UTC 2018 - psim...@suse.com
-
-- Update monad-logger to version 0.3.30.
-  ## 0.3.30
-
-  * Added `MonadFail` instances for `LoggingT` and `NoLoggingT`.
-

-Sat Oct 20 11:31:44 UTC 2018 - Peter Simons 
-
-- Use https URL to refer to bugs.opensuse.org.
-

-Thu Aug  2 16:29:58 UTC 2018 - psim...@suse.com
-
-- Update monad-logger to version 0.3.29.
-  ## 0.3.29
-
-  * Export mapLoggingT and mapNoLoggingT
-

-Wed Jul 18 14:26:32 UTC 2018 - psim...@suse.com
-
-- Cosmetic: replace tabs with blanks, strip trailing white space,
-  and update copyright headers with spec-cleaner.
-

-Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
-
-- Update monad-logger to version 0.3.28.5.
-  * Fix missing module [#1](https://github.com/snoyberg/monad-logger/issues/1)
-  * Compat for older GHCs 
[#161](https://github.com/kazu-yamamoto/logger/pull/161)
-  * Support for exceptions 0.9 and 0.10 
[#158](https://github.com/kazu-yamamoto/logger/issues/158)
-  * Drop blaze-builder dependency
-  * Fix support for GHC 7.8 
[#154](https://github.com/kazu-yamamoto/logger/pull/154)
-  * Added `WriterLoggingT` for collecting log lines and help with testing
-  * Drop backwards compat with older library versions
-  * Add `MonadUnliftIO` instances
-  * Fix some incorrect `@since` comments
-  * Export all CallStack log functions 
[#143](https://github.com/kazu-yamamoto/logger/pull/143)
-

-Thu May 18 09:52:10 UTC 2017 - psim...@suse.com
-
-- Update to version 0.3.24 with cabal2obs.
-

-Wed May  3 08:14:07 UTC 2017 - psim...@suse.com
-
-- Update to version 0.3.23 with cabal2obs.
-

-Tue Apr  4 11:04:09 UTC 2017 - psim...@suse.com
-
-- Update to version 0.3.22 with cabal2obs.
-

-Mon Mar 27 12:41:42 UTC 2017 - psim...@suse.com
-
-- Update to version 0.3.21 with cabal2obs.
-

-Mon Feb 20 08:42:52 UTC 2017 - psim...@suse.com
-
-- Update to version 0.3.20.2 with cabal2obs.
-

-Mon Nov 14 09:33:58 UTC 2016 - psim...@suse.com
-
-- Update to version 0.3.20.1 with cabal2obs.
-

-Tue Oct 11 08:49:27 UTC 2016 - psim...@suse.com
-
-- Update to version 0.3.20 with cabal2obs.
-

-Sun Jul 10 15:50:21 UTC 2016 - mimi...@gmail.com
-
-- update to version 0.3.19 revision 0
-* Add CallStack-based functions and Control.Monad.Logger.CallStack module
-

-Thu Feb  4 19:19:17 UTC 2016 - mimi...@gmail.com
-
-- update to 0.3.

commit ghc-monad-logger for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2020-05-11 13:35:31

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new.2738 (New)


Package is "ghc-monad-logger"

Mon May 11 13:35:31 2020 rev:20 rq:801035 version:0.3.32

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2019-12-27 13:55:30.856720514 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-monad-logger.new.2738/ghc-monad-logger.changes  
2020-05-11 13:35:55.696435185 +0200
@@ -1,0 +2,10 @@
+Tue Mar 24 08:06:55 UTC 2020 - psim...@suse.com
+
+- Update monad-logger to version 0.3.32.
+  # ChangeLog for monad-logger
+
+  ## 0.3.32
+
+  * Compat with `unliftio-core` 0.2
+
+---

Old:

  monad-logger-0.3.31.tar.gz

New:

  monad-logger-0.3.32.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.zqrrdl/_old  2020-05-11 13:35:57.768439528 +0200
+++ /var/tmp/diff_new_pack.zqrrdl/_new  2020-05-11 13:35:57.772439537 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-logger
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.31
+Version:0.3.32
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.31.tar.gz -> monad-logger-0.3.32.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.31/ChangeLog.md 
new/monad-logger-0.3.32/ChangeLog.md
--- old/monad-logger-0.3.31/ChangeLog.md2019-11-25 13:28:54.0 
+0100
+++ new/monad-logger-0.3.32/ChangeLog.md2020-03-01 09:40:33.0 
+0100
@@ -1,3 +1,9 @@
+# ChangeLog for monad-logger
+
+## 0.3.32
+
+* Compat with `unliftio-core` 0.2
+
 ## 0.3.31
 
 * Re-export `fromLogStr` to make implementing custom instances more convenient.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.31/Control/Monad/Logger.hs 
new/monad-logger-0.3.32/Control/Monad/Logger.hs
--- old/monad-logger-0.3.31/Control/Monad/Logger.hs 2019-11-25 
13:28:54.0 +0100
+++ new/monad-logger-0.3.32/Control/Monad/Logger.hs 2020-03-01 
09:40:04.0 +0100
@@ -115,7 +115,7 @@
 import Control.Concurrent.STM
 import Control.Concurrent.STM.TBChan
 import Control.Exception.Lifted (onException, bracket)
-import Control.Monad (liftM, ap, when, void, forever)
+import Control.Monad (liftM, when, void, forever)
 import Control.Monad.Base (MonadBase (liftBase), liftBaseDefault)
 #if MIN_VERSION_base(4, 9, 0)
 import qualified Control.Monad.Fail as Fail
@@ -170,8 +170,6 @@
 import GHC.Stack as GHC
 #endif
 
-import Prelude hiding (catch)
-
 import Data.Conduit.Lazy (MonadActive, monadActive)
 
 data LogLevel = LevelDebug | LevelInfo | LevelWarn | LevelError | LevelOther 
Text
@@ -404,9 +402,11 @@
 
 -- | @since 0.3.26
 instance MonadUnliftIO m => MonadUnliftIO (NoLoggingT m) where
-  askUnliftIO = NoLoggingT $
-withUnliftIO $ \u ->
-return (UnliftIO (unliftIO u . runNoLoggingT))
+  {-# INLINE withRunInIO #-}
+  withRunInIO inner =
+NoLoggingT $
+withRunInIO $ \run ->
+inner (run . runNoLoggingT)
 
 -- | @since 0.3.28
 type LogLine = (Loc, LogSource, LogLevel, LogStr)
@@ -626,9 +626,11 @@
 
 -- | @since 0.3.26
 instance MonadUnliftIO m => MonadUnliftIO (LoggingT m) where
-  askUnliftIO = LoggingT $ \f ->
-withUnliftIO $ \u ->
-return (UnliftIO (unliftIO u . flip runLoggingT f))
+  {-# INLINE withRunInIO #-}
+  withRunInIO inner =
+LoggingT $ \r ->
+withRunInIO $ \run ->
+inner (run . flip runLoggingT r)
 
 defaultOutput :: Handle
   -> Loc
@@ -699,10 +701,10 @@
 --
 -- @since 0.3.22
 runFileLoggingT :: MonadBaseControl IO m => FilePath -> LoggingT m a -> m a
-runFileLoggingT fp log = bracket
+runFileLoggingT fp logt = bracket
 (liftBase $ openFile fp AppendMode)
 (liftBase . hClose)
-$ \h -> liftBase (hSetBuffering h LineBuffering) >> (runLoggingT log) 
(defaultOutput h)
+$ \h -> liftBase (hSetBuffering h LineBuffering) >> (runLoggingT logt) 
(defaultOutput h)
 
 -- | Run a block using a @MonadLogger@ instance which prints to stderr.
 --
@@ -726,7 +728,7 @@
 runChanLo

commit ghc-monad-logger for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2019-12-27 13:55:18

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new.6675 (New)


Package is "ghc-monad-logger"

Fri Dec 27 13:55:18 2019 rev:19 rq:759451 version:0.3.31

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2019-10-12 22:33:52.051138686 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-monad-logger.new.6675/ghc-monad-logger.changes  
2019-12-27 13:55:30.856720514 +0100
@@ -1,0 +2,14 @@
+Tue Nov 26 11:59:30 UTC 2019 - psim...@suse.com
+
+- Update monad-logger to version 0.3.31.
+  ## 0.3.31
+
+  * Re-export `fromLogStr` to make implementing custom instances more 
convenient.
+[#14](https://github.com/snoyberg/monad-logger/pull/14)
+
+---
+Fri Nov  8 16:14:14 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---

Old:

  monad-logger-0.3.30.tar.gz
  monad-logger.cabal

New:

  monad-logger-0.3.31.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.iFvLN3/_old  2019-12-27 13:55:31.688720916 +0100
+++ /var/tmp/diff_new_pack.iFvLN3/_new  2019-12-27 13:55:31.688720916 +0100
@@ -18,14 +18,12 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.30
+Version:0.3.31
 Release:0
 Summary:A class of monads which can log messages
 License:MIT
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-conduit-devel
@@ -52,7 +50,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -63,7 +60,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ monad-logger-0.3.30.tar.gz -> monad-logger-0.3.31.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.30/ChangeLog.md 
new/monad-logger-0.3.31/ChangeLog.md
--- old/monad-logger-0.3.30/ChangeLog.md2018-10-20 19:05:53.0 
+0200
+++ new/monad-logger-0.3.31/ChangeLog.md2019-11-25 13:28:54.0 
+0100
@@ -1,3 +1,8 @@
+## 0.3.31
+
+* Re-export `fromLogStr` to make implementing custom instances more convenient.
+  [#14](https://github.com/snoyberg/monad-logger/pull/14)
+
 ## 0.3.30
 
 * Added `MonadFail` instances for `LoggingT` and `NoLoggingT`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.30/Control/Monad/Logger.hs 
new/monad-logger-0.3.31/Control/Monad/Logger.hs
--- old/monad-logger-0.3.30/Control/Monad/Logger.hs 2018-10-20 
19:05:53.0 +0200
+++ new/monad-logger-0.3.31/Control/Monad/Logger.hs 2019-11-25 
13:28:54.0 +0100
@@ -38,6 +38,7 @@
 -- * Re-export from fast-logger
 , LogStr
 , ToLogStr(..)
+, fromLogStr
 -- * Helper transformers
 , LoggingT (..)
 , runStderrLoggingT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.30/monad-logger.cabal 
new/monad-logger-0.3.31/monad-logger.cabal
--- old/monad-logger-0.3.30/monad-logger.cabal  2018-10-20 19:06:16.0 
+0200
+++ new/monad-logger-0.3.31/monad-logger.cabal  2019-11-25 14:31:48.0 
+0100
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.30.0.
+-- This file has been generated from package.yaml by hpack version 0.31.2.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 22d960dbb396a0334ad3bd72312759a58fd3a9d0308d81ec36ab8649c961
+-- hash: 732ba66e7c9140cd574be4c9bda3f12c1b8f9b6ddf7f75d373f6a0c518c292f0
 
 name:   monad-logger
-version:0.3.30
+version:0.3.31
 synopsis:   A class of monads which can log messages.
 description:See README and Haddocks at 

 category:   System
@@ -42,7 +42,7 @@
 , conduit >=1.0 && <1.4
 ,

commit ghc-monad-logger for openSUSE:Factory

2019-10-12 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2019-10-12 22:33:49

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new.2352 (New)


Package is "ghc-monad-logger"

Sat Oct 12 22:33:49 2019 rev:18 rq:737503 version:0.3.30

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2018-11-09 07:52:50.935819259 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-monad-logger.new.2352/ghc-monad-logger.changes  
2019-10-12 22:33:52.051138686 +0200
@@ -1,0 +2,5 @@
+Fri Oct 11 12:15:08 UTC 2019 - Peter Simons 
+
+- Update Cabal file for more accurate build dependencies.
+
+---

New:

  monad-logger.cabal



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.xRymf9/_old  2019-10-12 22:33:53.519134955 +0200
+++ /var/tmp/diff_new_pack.xRymf9/_new  2019-10-12 22:33:53.523134945 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-logger
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-conduit-devel
@@ -62,6 +63,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ monad-logger.cabal ++
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.30.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 22d960dbb396a0334ad3bd72312759a58fd3a9d0308d81ec36ab8649c961

name:   monad-logger
version:0.3.30
x-revision: 1
synopsis:   A class of monads which can log messages.
description:See README and Haddocks at 

category:   System
homepage:   https://github.com/snoyberg/monad-logger#readme
bug-reports:https://github.com/snoyberg/monad-logger/issues
author: Michael Snoyman
maintainer: mich...@snoyman.com
license:MIT
license-file:   LICENSE
build-type: Simple
extra-source-files:
ChangeLog.md
README.md

source-repository head
  type: git
  location: https://github.com/snoyberg/monad-logger

flag template_haskell
  description: Enable Template Haskell support
  manual: True
  default: True

library
  exposed-modules:
  Control.Monad.Logger
  other-modules:
  Paths_monad_logger
  build-depends:
  base >=4.8 && <5
, bytestring >=0.10.2
, conduit >=1.0 && <1.4
, conduit-extra >=1.1 && <1.4
, exceptions >=0.6 && <0.11
, fast-logger >=2.1 && <3.1
, lifted-base
, monad-control >=1.0
, monad-loops
, mtl
, resourcet >=1.1 && <1.3
, stm
, stm-chans
, text
, transformers
, transformers-base
, transformers-compat >=0.3
, unliftio-core
  if impl(ghc >=8.0.1)
exposed-modules:
Control.Monad.Logger.CallStack
cpp-options: -DWITH_CALLSTACK
  if flag(template_haskell)
build-depends:
template-haskell
  if flag(template_haskell)
cpp-options: -DWITH_TEMPLATE_HASKELL
  default-language: Haskell2010



commit ghc-monad-logger for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2018-11-09 07:52:45

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Fri Nov  9 07:52:45 2018 rev:17 rq:646359 version:0.3.30

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2018-10-25 08:27:19.831774784 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2018-11-09 07:52:50.935819259 +0100
@@ -1,0 +2,8 @@
+Mon Oct 22 10:35:50 UTC 2018 - psim...@suse.com
+
+- Update monad-logger to version 0.3.30.
+  ## 0.3.30
+
+  * Added `MonadFail` instances for `LoggingT` and `NoLoggingT`.
+
+---

Old:

  monad-logger-0.3.29.tar.gz

New:

  monad-logger-0.3.30.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.ojHdgU/_old  2018-11-09 07:52:51.911818138 +0100
+++ /var/tmp/diff_new_pack.ojHdgU/_new  2018-11-09 07:52:51.911818138 +0100
@@ -18,7 +18,7 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.29
+Version:0.3.30
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.29.tar.gz -> monad-logger-0.3.30.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.29/ChangeLog.md 
new/monad-logger-0.3.30/ChangeLog.md
--- old/monad-logger-0.3.29/ChangeLog.md2018-08-02 07:19:30.0 
+0200
+++ new/monad-logger-0.3.30/ChangeLog.md2018-10-20 19:05:53.0 
+0200
@@ -1,3 +1,7 @@
+## 0.3.30
+
+* Added `MonadFail` instances for `LoggingT` and `NoLoggingT`.
+
 ## 0.3.29
 
 * Export mapLoggingT and mapNoLoggingT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.29/Control/Monad/Logger.hs 
new/monad-logger-0.3.30/Control/Monad/Logger.hs
--- old/monad-logger-0.3.29/Control/Monad/Logger.hs 2018-08-02 
07:19:30.0 +0200
+++ new/monad-logger-0.3.30/Control/Monad/Logger.hs 2018-10-20 
19:05:53.0 +0200
@@ -116,6 +116,9 @@
 import Control.Exception.Lifted (onException, bracket)
 import Control.Monad (liftM, ap, when, void, forever)
 import Control.Monad.Base (MonadBase (liftBase), liftBaseDefault)
+#if MIN_VERSION_base(4, 9, 0)
+import qualified Control.Monad.Fail as Fail
+#endif
 import Control.Monad.IO.Unlift
 import Control.Monad.Loops (untilM)
 import Control.Monad.Trans.Control (MonadBaseControl (..), MonadTransControl 
(..), ComposeSt, defaultLiftBaseWith, defaultRestoreM)
@@ -380,6 +383,12 @@
 {-# INLINE liftWith #-}
 {-# INLINE restoreT #-}
 
+#if MIN_VERSION_base(4, 9, 0)
+-- | @since 0.3.30
+instance (Fail.MonadFail m) => Fail.MonadFail (NoLoggingT m) where
+  fail = Trans.lift . Fail.fail
+#endif
+
 instance MonadBaseControl b m => MonadBaseControl b (NoLoggingT m) where
  type StM (NoLoggingT m) a = StM m a
  liftBaseWith f = NoLoggingT $
@@ -544,6 +553,12 @@
 {-# INLINE (<*>) #-}
 #endif
 
+#if MIN_VERSION_base(4, 9, 0)
+-- | @since 0.3.30
+instance (Fail.MonadFail m) => Fail.MonadFail (LoggingT m) where
+  fail = Trans.lift . Fail.fail
+#endif
+
 instance Monad m => Monad (LoggingT m) where
 return = LoggingT . const . return
 LoggingT ma >>= f = LoggingT $ \r -> do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.29/monad-logger.cabal 
new/monad-logger-0.3.30/monad-logger.cabal
--- old/monad-logger-0.3.29/monad-logger.cabal  2018-08-02 07:19:37.0 
+0200
+++ new/monad-logger-0.3.30/monad-logger.cabal  2018-10-20 19:06:16.0 
+0200
@@ -1,13 +1,13 @@
-cabal-version: >= 1.10
+cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.29.0.
+-- This file has been generated from package.yaml by hpack version 0.30.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 0064c2b606eb9e13f3968226acbce8ab65f0df3a3c2170a0f7fc2a82ccf75f6e
+-- hash: 22d960dbb396a0334ad3bd72312759a58fd3a9d0308d81ec36ab8649c961
 
 name:   monad-logger
-version:0.3.29
+version:0.3.30
 synopsis:   A class of monads which can log messages.
 description:See README and Haddocks at 

 category:   System




commit ghc-monad-logger for openSUSE:Factory

2018-10-24 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2018-10-25 08:27:19

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Thu Oct 25 08:27:19 2018 rev:16 rq:643422 version:0.3.29

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2018-08-04 21:54:05.109354017 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2018-10-25 08:27:19.831774784 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:31:44 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.CHxA8A/_old  2018-10-25 08:27:20.543774454 +0200
+++ /var/tmp/diff_new_pack.CHxA8A/_new  2018-10-25 08:27:20.543774454 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit ghc-monad-logger for openSUSE:Factory

2018-08-04 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2018-08-04 21:54:02

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Sat Aug  4 21:54:02 2018 rev:15 rq:627277 version:0.3.29

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2018-07-21 10:22:15.891000259 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2018-08-04 21:54:05.109354017 +0200
@@ -1,0 +2,8 @@
+Thu Aug  2 16:29:58 UTC 2018 - psim...@suse.com
+
+- Update monad-logger to version 0.3.29.
+  ## 0.3.29
+
+  * Export mapLoggingT and mapNoLoggingT
+
+---

Old:

  monad-logger-0.3.28.5.tar.gz

New:

  monad-logger-0.3.29.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.sFbRNe/_old  2018-08-04 21:54:05.509354765 +0200
+++ /var/tmp/diff_new_pack.sFbRNe/_new  2018-08-04 21:54:05.509354765 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.28.5
+Version:0.3.29
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.28.5.tar.gz -> monad-logger-0.3.29.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.28.5/ChangeLog.md 
new/monad-logger-0.3.29/ChangeLog.md
--- old/monad-logger-0.3.28.5/ChangeLog.md  2018-04-15 07:44:19.0 
+0200
+++ new/monad-logger-0.3.29/ChangeLog.md2018-08-02 07:19:30.0 
+0200
@@ -1,3 +1,7 @@
+## 0.3.29
+
+* Export mapLoggingT and mapNoLoggingT
+
 ## 0.3.28.5
 
 * Fix missing module [#1](https://github.com/snoyberg/monad-logger/issues/1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.28.5/Control/Monad/Logger.hs 
new/monad-logger-0.3.29/Control/Monad/Logger.hs
--- old/monad-logger-0.3.28.5/Control/Monad/Logger.hs   2018-04-12 
07:50:54.0 +0200
+++ new/monad-logger-0.3.29/Control/Monad/Logger.hs 2018-08-02 
07:19:30.0 +0200
@@ -48,9 +48,11 @@
 , withChannelLogger
 , filterLogger
 , NoLoggingT (..)
+, mapNoLoggingT
 , WriterLoggingT (..)
 , execWriterLoggingT
 , runWriterLoggingT
+, mapLoggingT
 #if WITH_TEMPLATE_HASKELL
 -- * TH logging
 , logDebug
@@ -776,6 +778,9 @@
   ask = Trans.lift ask
   local = mapNoLoggingT . local
 
+-- | Map the unwrapped computation using the given function.
+--
+-- @since 0.3.29
 mapLoggingT :: (m a -> n b) -> LoggingT m a -> LoggingT n b
 mapLoggingT f = LoggingT . (f .) . runLoggingT
 
@@ -788,6 +793,9 @@
   listen = mapLoggingT listen
   pass   = mapLoggingT pass
 
+-- | Map the unwrapped computation using the given function.
+--
+-- @since 0.3.29
 mapNoLoggingT :: (m a -> n b) -> NoLoggingT m a -> NoLoggingT n b
 mapNoLoggingT f = NoLoggingT . f . runNoLoggingT
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.28.5/monad-logger.cabal 
new/monad-logger-0.3.29/monad-logger.cabal
--- old/monad-logger-0.3.28.5/monad-logger.cabal2018-04-15 
07:44:45.0 +0200
+++ new/monad-logger-0.3.29/monad-logger.cabal  2018-08-02 07:19:37.0 
+0200
@@ -1,11 +1,13 @@
--- This file has been generated from package.yaml by hpack version 0.28.2.
+cabal-version: >= 1.10
+
+-- This file has been generated from package.yaml by hpack version 0.29.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 644971c2e3a8b674be26bf61a395f47da2e2108f1017dccc2a40b4a1b9847ef9
+-- hash: 0064c2b606eb9e13f3968226acbce8ab65f0df3a3c2170a0f7fc2a82ccf75f6e
 
 name:   monad-logger
-version:0.3.28.5
+version:0.3.29
 synopsis:   A class of monads which can log messages.
 description:See README and Haddocks at 

 category:   System
@@ -16,7 +18,6 @@
 license:MIT
 license-file:   LICENSE
 build-type: Simple
-cabal-version:  >= 1.10
 extra-source-files:
 ChangeLog.md
 README.md




commit ghc-monad-logger for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2018-07-21 10:21:15

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Sat Jul 21 10:21:15 2018 rev:14 rq:623811 version:0.3.28.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2018-05-30 12:26:26.764049408 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2018-07-21 10:22:15.891000259 +0200
@@ -1,0 +2,6 @@
+Wed Jul 18 14:26:32 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
@@ -80 +85,0 @@
-



Other differences:
--



commit ghc-monad-logger for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2018-05-30 12:10:56

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Wed May 30 12:10:56 2018 rev:13 rq:607840 version:0.3.28.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2017-06-04 01:57:54.228519486 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2018-05-30 12:26:26.764049408 +0200
@@ -1,0 +2,15 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update monad-logger to version 0.3.28.5.
+  * Fix missing module [#1](https://github.com/snoyberg/monad-logger/issues/1)
+  * Compat for older GHCs 
[#161](https://github.com/kazu-yamamoto/logger/pull/161)
+  * Support for exceptions 0.9 and 0.10 
[#158](https://github.com/kazu-yamamoto/logger/issues/158)
+  * Drop blaze-builder dependency
+  * Fix support for GHC 7.8 
[#154](https://github.com/kazu-yamamoto/logger/pull/154)
+  * Added `WriterLoggingT` for collecting log lines and help with testing
+  * Drop backwards compat with older library versions
+  * Add `MonadUnliftIO` instances
+  * Fix some incorrect `@since` comments
+  * Export all CallStack log functions 
[#143](https://github.com/kazu-yamamoto/logger/pull/143)
+
+---

Old:

  monad-logger-0.3.24.tar.gz

New:

  monad-logger-0.3.28.5.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.R5DIUN/_old  2018-05-30 12:26:27.480025132 +0200
+++ /var/tmp/diff_new_pack.R5DIUN/_new  2018-05-30 12:26:27.484024996 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-logger
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,14 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.24
+Version:0.3.28.5
 Release:0
 Summary:A class of monads which can log messages
 License:MIT
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-blaze-builder-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-conduit-devel
 BuildRequires:  ghc-conduit-extra-devel
@@ -45,15 +44,14 @@
 BuildRequires:  ghc-transformers-base-devel
 BuildRequires:  ghc-transformers-compat-devel
 BuildRequires:  ghc-transformers-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ghc-unliftio-core-devel
 
 %description
-Hackage documentation generation is not reliable. For up to date documentation,
-please see: .
+A class of monads which can log messages.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -78,11 +76,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc ChangeLog.md README.md
 
 %changelog

++ monad-logger-0.3.24.tar.gz -> monad-logger-0.3.28.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.24/ChangeLog.md 
new/monad-logger-0.3.28.5/ChangeLog.md
--- old/monad-logger-0.3.24/ChangeLog.md2017-05-03 17:47:49.0 
+0200
+++ new/monad-logger-0.3.28.5/ChangeLog.md  2018-04-15 07:44:19.0 
+0200
@@ -1,3 +1,44 @@
+## 0.3.28.5
+
+* Fix missing module [#1](https://github.com/snoyberg/monad-logger/issues/1)
+
+## 0.3.28.4
+
+* Move to a new repo
+
+## 0.3.28.3
+
+* Compat for older GHCs 
[#161](https://github.com/kazu-yamamoto/logger/pull/161)
+
+## 0.3.28.2
+
+* Support for exceptions 0.9 and 0.10 
[#158](https://github.com/kazu-yamamoto/logger/issues/158)
+* Drop blaze-builder dependency
+
+## 0.3.28.1
+
+* Fix support for GHC 7.8 
[#154](https://github.com/kazu-yamamoto/logger/pull/154)
+

commit ghc-monad-logger for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2017-06-04 01:57:53

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Sun Jun  4 01:57:53 2017 rev:12 rq:499713 version:0.3.24

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2017-04-18 13:50:54.318164945 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2017-06-04 01:57:54.228519486 +0200
@@ -1,0 +2,10 @@
+Thu May 18 09:52:10 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.24 with cabal2obs.
+
+---
+Wed May  3 08:14:07 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.23 with cabal2obs.
+
+---

Old:

  monad-logger-0.3.22.tar.gz

New:

  monad-logger-0.3.24.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.nAfoXP/_old  2017-06-04 01:57:54.944418348 +0200
+++ /var/tmp/diff_new_pack.nAfoXP/_new  2017-06-04 01:57:54.948417783 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.22
+Version:0.3.24
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.22.tar.gz -> monad-logger-0.3.24.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.22/ChangeLog.md 
new/monad-logger-0.3.24/ChangeLog.md
--- old/monad-logger-0.3.22/ChangeLog.md2017-03-27 10:49:43.0 
+0200
+++ new/monad-logger-0.3.24/ChangeLog.md2017-05-03 17:47:49.0 
+0200
@@ -1,3 +1,10 @@
+## 0.3.24
+* Added `MonadReader` instance for `NoLoggingT`.
+
+## 0.3.23
+* Changed `runFileLoggingT` buffering to line buffering.
+* Added `defaultLog` and `logWithoutLoc` to list of exported functions.
+
 ## 0.3.22
 * Added `runFileLoggingT`.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.22/Control/Monad/Logger.hs 
new/monad-logger-0.3.24/Control/Monad/Logger.hs
--- old/monad-logger-0.3.22/Control/Monad/Logger.hs 2017-03-27 
10:49:43.0 +0200
+++ new/monad-logger-0.3.24/Control/Monad/Logger.hs 2017-05-03 
17:47:49.0 +0200
@@ -74,6 +74,7 @@
 , logErrorN
 , logOtherN
 -- * Non-TH logging with source
+, logWithoutLoc
 , logDebugNS
 , logInfoNS
 , logWarnNS
@@ -90,6 +91,7 @@
 -- * utilities for defining your own loggers
 , defaultLogStr
 , Loc (..)
+, defaultLoc
 ) where
 
 #if WITH_TEMPLATE_HASKELL
@@ -144,7 +146,7 @@
 
 import Data.Monoid (mappend, mempty)
 import System.Log.FastLogger
-import System.IO (Handle, IOMode(AppendMode), openFile, hClose, stdout, stderr)
+import System.IO (Handle, IOMode(AppendMode), BufferMode(LineBuffering), 
openFile, hClose, hSetBuffering, stdout, stderr)
 
 import Control.Monad.Cont.Class   ( MonadCont (..) )
 import Control.Monad.Error.Class  ( MonadError (..) )
@@ -210,11 +212,11 @@
 -- logging function itself can be extracted as a first-class value, which can
 -- make it easier to manipulate monad transformer stacks, as an example.
 --
--- Since 0.3.10
+-- @since 0.3.10
 class (MonadLogger m, MonadIO m) => MonadLoggerIO m where
 -- | Request the logging function itself.
 --
--- Since 0.3.10
+-- @since 0.3.10
 askLoggerIO :: m (Loc -> LogSource -> LogLevel -> LogStr -> IO ())
 default askLoggerIO :: (Trans.MonadTrans t, MonadLoggerIO n, m ~ t n)
 => m (Loc -> LogSource -> LogLevel -> LogStr -> IO ())
@@ -327,7 +329,7 @@
 
 -- | Lift a location into an Exp.
 --
--- Since 0.3.1
+-- @since 0.3.1
 liftLoc :: Loc -> Q Exp
 liftLoc (Loc a b c (d1, d2) (e1, e2)) = [|Loc
 $(lift a)
@@ -362,7 +364,7 @@
 
 -- | Monad transformer that disables logging.
 --
--- Since 0.2.4
+-- @since 0.2.4
 newtype NoLoggingT m a = NoLoggingT { runNoLoggingT :: m a }
 
 #if __GLASGOW_HASKELL__ < 710
@@ -462,7 +464,7 @@
 
 -- | Monad transformer that adds a new logging function.
 --
--- Since 0.2.2
+-- @since 0.2.2
 newtype LoggingT m a = LoggingT { runLoggingT :: (Loc -> LogSource -> LogLevel 
-> LogStr -> IO ()) -> m a }
 
 #if __GLASGOW_HASKELL__ < 710
@@ -658,17 +660,17 @@
 runFileLoggingT fp log = bracket
 (liftBase $ openFile fp AppendMode)
 (liftBase . hClose)
-$ \h -> (runLoggingT log) (defaultOutput h)
+$ \h -> liftBase (hSetBuffering h LineBuffering) >> (runLoggingT log) 
(defaultOutput h)
 
 -- | R

commit ghc-monad-logger for openSUSE:Factory

2017-04-18 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2017-04-18 13:50:54

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Tue Apr 18 13:50:54 2017 rev:11 rq:489017 version:0.3.22

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2017-04-11 09:42:57.227807348 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2017-04-18 13:50:54.318164945 +0200
@@ -1,0 +2,5 @@
+Tue Apr  4 11:04:09 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.22 with cabal2obs.
+
+---

Old:

  monad-logger-0.3.21.tar.gz

New:

  monad-logger-0.3.22.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.7gQXAZ/_old  2017-04-18 13:50:54.978071545 +0200
+++ /var/tmp/diff_new_pack.7gQXAZ/_new  2017-04-18 13:50:54.982070979 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.21
+Version:0.3.22
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.21.tar.gz -> monad-logger-0.3.22.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.21/ChangeLog.md 
new/monad-logger-0.3.22/ChangeLog.md
--- old/monad-logger-0.3.21/ChangeLog.md2017-03-16 18:06:16.0 
+0100
+++ new/monad-logger-0.3.22/ChangeLog.md2017-03-27 10:49:43.0 
+0200
@@ -1,3 +1,6 @@
+## 0.3.22
+* Added `runFileLoggingT`.
+
 ## 0.3.21
 
 * Reimplemented Functor & Applicative for LoggingT & NoLoggingT 
[#125](https://github.com/kazu-yamamoto/logger/issues/125) 
[#126](https://github.com/kazu-yamamoto/logger/pull/126)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.21/Control/Monad/Logger.hs 
new/monad-logger-0.3.22/Control/Monad/Logger.hs
--- old/monad-logger-0.3.21/Control/Monad/Logger.hs 2017-03-16 
18:04:57.0 +0100
+++ new/monad-logger-0.3.22/Control/Monad/Logger.hs 2017-03-27 
10:49:43.0 +0200
@@ -40,6 +40,7 @@
 , runStderrLoggingT
 , runStdoutLoggingT
 , runChanLoggingT
+, runFileLoggingT
 , unChanLoggingT
 , withChannelLogger
 , filterLogger
@@ -101,7 +102,7 @@
 import Control.Concurrent.Chan (Chan(),writeChan,readChan)
 import Control.Concurrent.STM
 import Control.Concurrent.STM.TBChan
-import Control.Exception.Lifted (onException)
+import Control.Exception.Lifted (onException, bracket)
 import Control.Monad (liftM, ap, when, void, forever)
 import Control.Monad.Base (MonadBase (liftBase))
 import Control.Monad.Loops (untilM)
@@ -143,7 +144,7 @@
 
 import Data.Monoid (mappend, mempty)
 import System.Log.FastLogger
-import System.IO (Handle, stdout, stderr)
+import System.IO (Handle, IOMode(AppendMode), openFile, hClose, stdout, stderr)
 
 import Control.Monad.Cont.Class   ( MonadCont (..) )
 import Control.Monad.Error.Class  ( MonadError (..) )
@@ -650,6 +651,15 @@
 -}
 
 
+-- | Run a block using a @MonadLogger@ instance which appends to the specified 
file.
+--
+-- @since 0.3.22
+runFileLoggingT :: MonadBaseControl IO m => FilePath -> LoggingT m a -> m a
+runFileLoggingT fp log = bracket
+(liftBase $ openFile fp AppendMode)
+(liftBase . hClose)
+$ \h -> (runLoggingT log) (defaultOutput h)
+
 -- | Run a block using a @MonadLogger@ instance which prints to stderr.
 --
 -- Since 0.2.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.21/monad-logger.cabal 
new/monad-logger-0.3.22/monad-logger.cabal
--- old/monad-logger-0.3.21/monad-logger.cabal  2017-03-16 18:05:46.0 
+0100
+++ new/monad-logger-0.3.22/monad-logger.cabal  2017-03-27 10:49:43.0 
+0200
@@ -1,5 +1,5 @@
 name:monad-logger
-version: 0.3.21
+version: 0.3.22
 synopsis:A class of monads which can log messages.
 description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
 homepage:https://github.com/kazu-yamamoto/logger




commit ghc-monad-logger for openSUSE:Factory

2017-04-11 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2017-04-11 09:42:55

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Tue Apr 11 09:42:55 2017 rev:10 rq:485144 version:0.3.21

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2017-03-03 17:51:17.695832448 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2017-04-11 09:42:57.227807348 +0200
@@ -1,0 +2,5 @@
+Mon Mar 27 12:41:42 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.21 with cabal2obs.
+
+---

Old:

  monad-logger-0.3.20.2.tar.gz

New:

  monad-logger-0.3.21.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.fDapod/_old  2017-04-11 09:42:58.315653675 +0200
+++ /var/tmp/diff_new_pack.fDapod/_new  2017-04-11 09:42:58.319653109 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.20.2
+Version:0.3.21
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.20.2.tar.gz -> monad-logger-0.3.21.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.20.2/ChangeLog.md 
new/monad-logger-0.3.21/ChangeLog.md
--- old/monad-logger-0.3.20.2/ChangeLog.md  2017-02-14 12:37:22.0 
+0100
+++ new/monad-logger-0.3.21/ChangeLog.md2017-03-16 18:06:16.0 
+0100
@@ -1,3 +1,7 @@
+## 0.3.21
+
+* Reimplemented Functor & Applicative for LoggingT & NoLoggingT 
[#125](https://github.com/kazu-yamamoto/logger/issues/125) 
[#126](https://github.com/kazu-yamamoto/logger/pull/126)
+
 ## 0.3.20.2
 
 * Support for GHC 8.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.20.2/Control/Monad/Logger.hs 
new/monad-logger-0.3.21/Control/Monad/Logger.hs
--- old/monad-logger-0.3.20.2/Control/Monad/Logger.hs   2017-02-14 
12:35:28.0 +0100
+++ new/monad-logger-0.3.21/Control/Monad/Logger.hs 2017-03-16 
18:04:57.0 +0100
@@ -364,12 +364,24 @@
 -- Since 0.2.4
 newtype NoLoggingT m a = NoLoggingT { runNoLoggingT :: m a }
 
+#if __GLASGOW_HASKELL__ < 710
 instance Monad m => Functor (NoLoggingT m) where
 fmap = liftM
 
 instance Monad m => Applicative (NoLoggingT m) where
 pure = return
 (<*>) = ap
+#else
+instance Functor m => Functor (NoLoggingT m) where
+fmap f = NoLoggingT . fmap f . runNoLoggingT
+{-# INLINE fmap #-}
+
+instance Applicative m => Applicative (NoLoggingT m) where
+pure = NoLoggingT . pure
+{-# INLINE pure #-}
+f <*> a = NoLoggingT (runNoLoggingT f <*> runNoLoggingT a)
+{-# INLINE (<*>) #-}
+#endif
 
 instance Monad m => Monad (NoLoggingT m) where
 return = NoLoggingT . return
@@ -452,12 +464,26 @@
 -- Since 0.2.2
 newtype LoggingT m a = LoggingT { runLoggingT :: (Loc -> LogSource -> LogLevel 
-> LogStr -> IO ()) -> m a }
 
+#if __GLASGOW_HASKELL__ < 710
 instance Monad m => Functor (LoggingT m) where
 fmap = liftM
 
 instance Monad m => Applicative (LoggingT m) where
 pure = return
 (<*>) = ap
+#else
+instance Functor m => Functor (LoggingT m) where
+fmap f logger = LoggingT $ \loggerFn -> fmap f $ (runLoggingT logger) 
loggerFn
+{-# INLINE fmap #-}
+
+instance Applicative m => Applicative (LoggingT m) where
+pure = LoggingT . const . pure
+{-# INLINE pure #-}
+loggerF <*> loggerA = LoggingT $ \loggerFn ->
+   (runLoggingT loggerF) loggerFn
+   <*> (runLoggingT loggerA) loggerFn
+{-# INLINE (<*>) #-}
+#endif
 
 instance Monad m => Monad (LoggingT m) where
 return = LoggingT . const . return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.20.2/monad-logger.cabal 
new/monad-logger-0.3.21/monad-logger.cabal
--- old/monad-logger-0.3.20.2/monad-logger.cabal2017-02-14 
12:37:15.0 +0100
+++ new/monad-logger-0.3.21/monad-logger.cabal  2017-03-16 18:05:46.0 
+0100
@@ -1,5 +1,5 @@
 name:monad-logger
-version: 0.3.20.2
+version: 0.3.21
 synopsis:A class of monads which can log messages.
 description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
 homepage:https://github.com/kazu-yamamot

commit ghc-monad-logger for openSUSE:Factory

2017-03-03 Thread root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2017-03-03 17:51:16

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Fri Mar  3 17:51:16 2017 rev:9 rq:461664 version:0.3.20.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2016-12-09 09:37:44.284615340 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2017-03-03 17:51:17.695832448 +0100
@@ -1,0 +2,5 @@
+Mon Feb 20 08:42:52 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.20.2 with cabal2obs.
+
+---

Old:

  monad-logger-0.3.20.1.tar.gz

New:

  monad-logger-0.3.20.2.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.ZgTn6Y/_old  2017-03-03 17:51:18.227757322 +0100
+++ /var/tmp/diff_new_pack.ZgTn6Y/_new  2017-03-03 17:51:18.227757322 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-logger
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.20.1
+Version:0.3.20.2
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.20.1.tar.gz -> monad-logger-0.3.20.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.20.1/ChangeLog.md 
new/monad-logger-0.3.20.2/ChangeLog.md
--- old/monad-logger-0.3.20.1/ChangeLog.md  2016-11-07 07:34:37.0 
+0100
+++ new/monad-logger-0.3.20.2/ChangeLog.md  2017-02-14 12:37:22.0 
+0100
@@ -1,3 +1,7 @@
+## 0.3.20.2
+
+* Support for GHC 8.2
+
 ## 0.3.20.1
 
 * Fix #106 by correcting the default signature for MonadLoggerIO 
[#108](https://github.com/kazu-yamamoto/logger/pull/108)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.20.1/Control/Monad/Logger.hs 
new/monad-logger-0.3.20.2/Control/Monad/Logger.hs
--- old/monad-logger-0.3.20.1/Control/Monad/Logger.hs   2016-11-07 
07:34:37.0 +0100
+++ new/monad-logger-0.3.20.2/Control/Monad/Logger.hs   2017-02-14 
12:35:28.0 +0100
@@ -200,8 +200,8 @@
 -- | A @Monad@ which has the ability to log messages in some manner.
 class Monad m => MonadLogger m where
 monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> m 
()
-default monadLoggerLog :: (Trans.MonadTrans t, MonadLogger (t m), ToLogStr 
msg)
-   => Loc -> LogSource -> LogLevel -> msg -> t m ()
+default monadLoggerLog :: (MonadLogger m', Trans.MonadTrans t, MonadLogger 
(t m'), ToLogStr msg, m ~ t m')
+   => Loc -> LogSource -> LogLevel -> msg -> m ()
 monadLoggerLog loc src lvl msg = Trans.lift $ monadLoggerLog loc src lvl 
msg
 
 -- | An extension of @MonadLogger@ for the common case where the logging action
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.20.1/monad-logger.cabal 
new/monad-logger-0.3.20.2/monad-logger.cabal
--- old/monad-logger-0.3.20.1/monad-logger.cabal2016-11-07 
07:34:37.0 +0100
+++ new/monad-logger-0.3.20.2/monad-logger.cabal2017-02-14 
12:37:15.0 +0100
@@ -1,5 +1,5 @@
 name:monad-logger
-version: 0.3.20.1
+version: 0.3.20.2
 synopsis:A class of monads which can log messages.
 description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
 homepage:https://github.com/kazu-yamamoto/logger




commit ghc-monad-logger for openSUSE:Factory

2016-11-04 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2016-11-04 21:01:21

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2016-07-20 09:27:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2016-11-04 21:01:22.0 +0100
@@ -1,0 +2,5 @@
+Tue Oct 11 08:49:27 UTC 2016 - psim...@suse.com
+
+- Update to version 0.3.20 with cabal2obs.
+
+---

Old:

  monad-logger-0.3.19.tar.gz

New:

  monad-logger-0.3.20.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.HDm7EQ/_old  2016-11-04 21:01:23.0 +0100
+++ /var/tmp/diff_new_pack.HDm7EQ/_new  2016-11-04 21:01:23.0 +0100
@@ -18,15 +18,14 @@
 
 %global pkg_name monad-logger
 Name:   ghc-%{pkg_name}
-Version:0.3.19
+Version:0.3.20
 Release:0
 Summary:A class of monads which can log messages
 License:MIT
-Group:  System/Libraries
+Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-blaze-builder-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-conduit-devel
@@ -47,7 +46,6 @@
 BuildRequires:  ghc-transformers-compat-devel
 BuildRequires:  ghc-transformers-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 Hackage documentation generation is not reliable. For up to date documentation,
@@ -67,15 +65,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 

++ monad-logger-0.3.19.tar.gz -> monad-logger-0.3.20.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.19/ChangeLog.md 
new/monad-logger-0.3.20/ChangeLog.md
--- old/monad-logger-0.3.19/ChangeLog.md2016-07-04 08:19:53.0 
+0200
+++ new/monad-logger-0.3.20/ChangeLog.md2016-10-01 19:31:22.0 
+0200
@@ -1,3 +1,8 @@
+## 0.3.20
+
+* Generalize the type of `unChanLoggingT`
+  [#104](https://github.com/kazu-yamamoto/logger/pull/104)
+
 ## 0.3.19
 
 * Add CallStack-based functions and `Control.Monad.Logger.CallStack` module
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.19/Control/Monad/Logger.hs 
new/monad-logger-0.3.20/Control/Monad/Logger.hs
--- old/monad-logger-0.3.19/Control/Monad/Logger.hs 2016-07-04 
08:19:53.0 +0200
+++ new/monad-logger-0.3.20/Control/Monad/Logger.hs 2016-10-01 
19:31:22.0 +0200
@@ -654,7 +654,7 @@
 --   For use in a dedicated thread with a channel fed by `runChanLoggingT`.
 --
 -- @since 0.3.17
-unChanLoggingT :: (MonadLogger m, MonadIO m) => Chan (Loc, LogSource, 
LogLevel, LogStr) -> m ()
+unChanLoggingT :: (MonadLogger m, MonadIO m) => Chan (Loc, LogSource, 
LogLevel, LogStr) -> m void
 unChanLoggingT chan = forever $ do
 (loc,src,lvl,msg) <- liftIO $ readChan chan
 monadLoggerLog loc src lvl msg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.19/monad-logger.cabal 
new/monad-logger-0.3.20/monad-logger.cabal
--- old/monad-logger-0.3.19/monad-logger.cabal  2016-07-04 08:19:53.0 
+0200
+++ new/monad-logger-0.3.20/monad-logger.cabal  2016-10-01 19:31:22.0 
+0200
@@ -1,5 +1,5 @@
 name:monad-logger
-version: 0.3.19
+version: 0.3.20
 synopsis:A class of monads which can log messages.
 description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
 homepage:https://github.com/kazu-yamamoto/logger




commit ghc-monad-logger for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2016-07-20 09:27:44

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2016-07-12 23:52:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2016-07-20 09:27:47.0 +0200
@@ -4 +4 @@
-- update to 0.3.1.9
+- update to version 0.3.19 revision 0



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.8RGPpz/_old  2016-07-20 09:27:48.0 +0200
+++ /var/tmp/diff_new_pack.8RGPpz/_new  2016-07-20 09:27:48.0 +0200
@@ -17,20 +17,15 @@
 
 
 %global pkg_name monad-logger
-
-Name:   ghc-monad-logger
+Name:   ghc-%{pkg_name}
 Version:0.3.19
 Release:0
 Summary:A class of monads which can log messages
 License:MIT
 Group:  System/Libraries
-
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-blaze-builder-devel
 BuildRequires:  ghc-bytestring-devel
@@ -43,6 +38,7 @@
 BuildRequires:  ghc-monad-loops-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-resourcet-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-stm-chans-devel
 BuildRequires:  ghc-stm-devel
 BuildRequires:  ghc-template-haskell-devel
@@ -50,34 +46,36 @@
 BuildRequires:  ghc-transformers-base-devel
 BuildRequires:  ghc-transformers-compat-devel
 BuildRequires:  ghc-transformers-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # End cabal-rpm deps
 
 %description
 Hackage documentation generation is not reliable. For up to date documentation,
 please see: .
 
-
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
+
 %build
 %ghc_lib_build
 
+
 %install
 %ghc_lib_install
 
+
 %post devel
 %ghc_pkg_recache
 
@@ -90,6 +88,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
+%doc ChangeLog.md README.md
 
 %changelog




commit ghc-monad-logger for openSUSE:Factory

2016-07-12 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2016-07-12 23:52:50

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2016-02-11 12:37:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2016-07-12 23:52:51.0 +0200
@@ -1,0 +2,6 @@
+Sun Jul 10 15:50:21 UTC 2016 - mimi...@gmail.com
+
+- update to 0.3.1.9
+* Add CallStack-based functions and Control.Monad.Logger.CallStack module
+
+---

Old:

  monad-logger-0.3.18.tar.gz

New:

  monad-logger-0.3.19.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.h46Ewh/_old  2016-07-12 23:52:52.0 +0200
+++ /var/tmp/diff_new_pack.h46Ewh/_new  2016-07-12 23:52:52.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-logger
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name monad-logger
 
 Name:   ghc-monad-logger
-Version:0.3.18
+Version:0.3.19
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.18.tar.gz -> monad-logger-0.3.19.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.18/ChangeLog.md 
new/monad-logger-0.3.19/ChangeLog.md
--- old/monad-logger-0.3.18/ChangeLog.md2016-02-03 09:50:59.0 
+0100
+++ new/monad-logger-0.3.19/ChangeLog.md2016-07-04 08:19:53.0 
+0200
@@ -1,3 +1,7 @@
+## 0.3.19
+
+* Add CallStack-based functions and `Control.Monad.Logger.CallStack` module
+
 ## 0.3.18
 
 * Added logTHShow and logDebugSH, logInfoSH, etc. Accepts an argument of `Show 
a => a` instead of just `Text`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/monad-logger-0.3.18/Control/Monad/Logger/CallStack.hs 
new/monad-logger-0.3.19/Control/Monad/Logger/CallStack.hs
--- old/monad-logger-0.3.18/Control/Monad/Logger/CallStack.hs   1970-01-01 
01:00:00.0 +0100
+++ new/monad-logger-0.3.19/Control/Monad/Logger/CallStack.hs   2016-07-04 
08:19:53.0 +0200
@@ -0,0 +1,78 @@
+-- | Log functions using CallStack support in place of Template Haskell
+--
+-- @since 0.3.19
+module Control.Monad.Logger.CallStack (
+module Log
+  , logDebug
+  , logInfo
+  , logWarn
+  , logError
+  ) where
+
+import   Control.Monad.Logger as Log hiding (logDebug, logError,
+  logInfo, logOther, logWarn)
+import   Data.Text(Text)
+import qualified Data.Textas Text
+import   GHC.Stack
+
+-- | Logs a message with the location provided by
+-- an implicit 'CallStack'.
+--
+-- @since 0.3.19
+logDebug :: (HasCallStack, Log.MonadLogger m) => Text -> m ()
+logDebug = Log.logDebugCS callStack
+
+-- | See 'logDebug'
+--
+-- @since 0.3.19
+logInfo :: (HasCallStack, Log.MonadLogger m) => Text -> m ()
+logInfo = Log.logInfoCS callStack
+
+-- | See 'logDebug'
+--
+-- @since 0.3.19
+logWarn :: (HasCallStack, Log.MonadLogger m) => Text -> m ()
+logWarn = Log.logWarnCS callStack
+
+-- | See 'logDebug'
+--
+-- @since 0.3.19
+logError :: (HasCallStack, Log.MonadLogger m) => Text -> m ()
+logError = Log.logErrorCS callStack
+
+-- | See 'logDebug'
+--
+-- @since 0.3.19
+logOther :: (HasCallStack, Log.MonadLogger m) => Log.LogLevel -> Text -> m ()
+logOther = Log.logOtherCS callStack
+
+-- | Logs a showable value with the location provided by
+-- an implicit 'CallStack'.
+--
+-- @since 0.3.19
+logDebugSH :: (HasCallStack, Log.MonadLogger m, Show a) => a -> m ()
+logDebugSH = Log.logDebugCS callStack . Text.pack . show
+
+-- | See 'logDebugSH'
+--
+-- @since 0.3.19
+logInfoSH :: (HasCallStack, Log.MonadLogger m, Show a) => a -> m ()
+logInfoSH = Log.logInfoCS callStack . Text.pack . show
+
+-- | See 'logDebugSH'
+--
+-- @since 0.3.19
+logWarnSH :: (HasCallStack, Log.MonadLogger m, Show a) => a -> m ()
+logWarnSH = Log.logWarnCS callStack . Text.pack . show
+
+-- | See 'logDebugSH'
+--
+-- @since 0.3.19
+logErrorSH :: (HasCallStack, Log.MonadLogger m, Show a) => a -> m ()
+logErrorSH = Log.logErrorCS callStack . Text.pack . show
+
+-- | See 'logDeb

commit ghc-monad-logger for openSUSE:Factory

2016-02-11 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2016-02-11 12:37:29

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2016-01-22 01:08:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2016-02-11 12:37:30.0 +0100
@@ -1,0 +2,7 @@
+Thu Feb  4 19:19:17 UTC 2016 - mimi...@gmail.com
+
+- update to 0.3.18
+* Added logTHShow and logDebugSH, logInfoSH, etc. Accepts an argument of 
+Show a => a instead of just Text.
+
+---

Old:

  monad-logger-0.3.17.tar.gz

New:

  monad-logger-0.3.18.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.jUVEgk/_old  2016-02-11 12:37:31.0 +0100
+++ /var/tmp/diff_new_pack.jUVEgk/_new  2016-02-11 12:37:31.0 +0100
@@ -19,7 +19,7 @@
 %global pkg_name monad-logger
 
 Name:   ghc-monad-logger
-Version:0.3.17
+Version:0.3.18
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.17.tar.gz -> monad-logger-0.3.18.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.17/ChangeLog.md 
new/monad-logger-0.3.18/ChangeLog.md
--- old/monad-logger-0.3.17/ChangeLog.md2016-01-12 12:18:18.0 
+0100
+++ new/monad-logger-0.3.18/ChangeLog.md2016-02-03 09:50:59.0 
+0100
@@ -1,3 +1,7 @@
+## 0.3.18
+
+* Added logTHShow and logDebugSH, logInfoSH, etc. Accepts an argument of `Show 
a => a` instead of just `Text`.
+
 ## 0.3.17
 
 * log to a chan [#74](https://github.com/kazu-yamamoto/logger/pull/74)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.17/Control/Monad/Logger.hs 
new/monad-logger-0.3.18/Control/Monad/Logger.hs
--- old/monad-logger-0.3.17/Control/Monad/Logger.hs 2016-01-12 
12:18:18.0 +0100
+++ new/monad-logger-0.3.18/Control/Monad/Logger.hs 2016-02-03 
09:50:59.0 +0100
@@ -48,6 +48,12 @@
 , logWarn
 , logError
 , logOther
+-- * TH logging of showable values
+, logDebugSH
+, logInfoSH
+, logWarnSH
+, logErrorSH
+, logOtherSH
 -- * TH logging with source
 , logDebugS
 , logInfoS
@@ -246,7 +252,16 @@
 #if WITH_TEMPLATE_HASKELL
 logTH :: LogLevel -> Q Exp
 logTH level =
-[|monadLoggerLog $(qLocation >>= liftLoc) (pack "") $(lift level) . (id :: 
Text -> Text)|]
+[|monadLoggerLog $(qLocation >>= liftLoc) (pack "") $(lift level)
+ . (id :: Text -> Text)|]
+
+-- | Generates a function that takes a 'LogLevel' and a 'Show a => a'.
+--
+-- @since 0.3.18
+logTHShow :: LogLevel -> Q Exp
+logTHShow level =
+[|monadLoggerLog $(qLocation >>= liftLoc) (pack "") $(lift level)
+  . ((pack . show) :: Show a => a -> Text)|]
 
 -- | Generates a function that takes a 'Text' and logs a 'LevelDebug' message. 
Usage:
 --
@@ -270,6 +285,31 @@
 logOther :: Text -> Q Exp
 logOther = logTH . LevelOther
 
+
+-- | Generates a function that takes a 'Show a => a' and logs a 'LevelDebug' 
message. Usage:
+--
+-- > $(logDebugSH) (Just "This is a debug log message")
+--
+-- @since 0.3.18
+logDebugSH :: Q Exp
+logDebugSH = logTHShow LevelDebug
+
+-- | See 'logDebugSH'
+logInfoSH :: Q Exp
+logInfoSH = logTHShow LevelInfo
+-- | See 'logDebugSH'
+logWarnSH :: Q Exp
+logWarnSH = logTHShow LevelWarn
+-- | See 'logDebugSH'
+logErrorSH :: Q Exp
+logErrorSH = logTHShow LevelError
+
+-- | Generates a function that takes a 'Show a => a' and logs a 'LevelOther' 
message. Usage:
+--
+-- > $(logOtherSH "My new level") "This is a log message"
+logOtherSH :: Text -> Q Exp
+logOtherSH = logTHShow . LevelOther
+
 -- | Lift a location into an Exp.
 --
 -- Since 0.3.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.17/monad-logger.cabal 
new/monad-logger-0.3.18/monad-logger.cabal
--- old/monad-logger-0.3.17/monad-logger.cabal  2016-01-12 12:18:18.0 
+0100
+++ new/monad-logger-0.3.18/monad-logger.cabal  2016-02-03 09:50:59.0 
+0100
@@ -1,5 +1,5 @@
 name:monad-logger
-version: 0.3.17
+version: 0.3.18
 synopsis:A class of monads which can log messages.
 description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 


commit ghc-monad-logger for openSUSE:Factory

2016-01-21 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2016-01-21 23:43:25

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2015-12-23 08:49:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2016-01-22 01:08:33.0 +0100
@@ -1,0 +2,6 @@
+Fri Jan 15 10:06:34 UTC 2016 - mimi...@gmail.com
+
+- update to 0.3.17 
+* log to a chan
+
+---

Old:

  monad-logger-0.3.16.tar.gz

New:

  monad-logger-0.3.17.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.N4JWEN/_old  2016-01-22 01:08:35.0 +0100
+++ /var/tmp/diff_new_pack.N4JWEN/_new  2016-01-22 01:08:35.0 +0100
@@ -19,7 +19,7 @@
 %global pkg_name monad-logger
 
 Name:   ghc-monad-logger
-Version:0.3.16
+Version:0.3.17
 Release:0
 Summary:A class of monads which can log messages
 License:MIT

++ monad-logger-0.3.16.tar.gz -> monad-logger-0.3.17.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.16/ChangeLog.md 
new/monad-logger-0.3.17/ChangeLog.md
--- old/monad-logger-0.3.16/ChangeLog.md2015-12-13 09:03:42.0 
+0100
+++ new/monad-logger-0.3.17/ChangeLog.md2016-01-12 12:18:18.0 
+0100
@@ -1,3 +1,7 @@
+## 0.3.17
+
+* log to a chan [#74](https://github.com/kazu-yamamoto/logger/pull/74)
+
 ## 0.3.16
 
 * Provide default monadLoggerLog implementation 
[#72](https://github.com/kazu-yamamoto/logger/pull/72)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.16/Control/Monad/Logger.hs 
new/monad-logger-0.3.17/Control/Monad/Logger.hs
--- old/monad-logger-0.3.16/Control/Monad/Logger.hs 2015-12-13 
09:03:42.0 +0100
+++ new/monad-logger-0.3.17/Control/Monad/Logger.hs 2016-01-12 
12:18:18.0 +0100
@@ -36,6 +36,8 @@
 , LoggingT (..)
 , runStderrLoggingT
 , runStdoutLoggingT
+, runChanLoggingT
+, unChanLoggingT
 , withChannelLogger
 , filterLogger
 , NoLoggingT (..)
@@ -80,10 +82,11 @@
 import Data.Monoid (Monoid)
 
 import Control.Applicative (Applicative (..))
+import Control.Concurrent.Chan (Chan(),writeChan,readChan)
 import Control.Concurrent.STM
 import Control.Concurrent.STM.TBChan
 import Control.Exception.Lifted (onException)
-import Control.Monad (liftM, ap, when, void)
+import Control.Monad (liftM, ap, when, void, forever)
 import Control.Monad.Base (MonadBase (liftBase))
 import Control.Monad.Loops (untilM)
 import Control.Monad.Trans.Control (MonadBaseControl (..), MonadTransControl 
(..))
@@ -579,6 +582,29 @@
 runStdoutLoggingT :: MonadIO m => LoggingT m a -> m a
 runStdoutLoggingT = (`runLoggingT` defaultOutput stdout)
 
+-- | Run a block using a @MonadLogger@ instance which writes tuples to an
+--   unbounded channel.
+--
+--   The tuples can be extracted (ie. in another thread) with `unChanLoggingT`
+--   or a custom extraction funtion, and written to a destination.
+--
+-- @since 0.3.17
+runChanLoggingT :: MonadIO m => Chan (Loc, LogSource, LogLevel, LogStr) -> 
LoggingT m a -> m a
+runChanLoggingT chan = (`runLoggingT` sink chan)
+where
+sink chan loc src lvl msg = writeChan chan (loc,src,lvl,msg)
+
+-- | Read logging tuples from an unbounded channel and log them into a
+--   `MonadLoggerIO` monad, forever.
+--
+--   For use in a dedicated thread with a channel fed by `runChanLoggingT`.
+--
+-- @since 0.3.17
+unChanLoggingT :: (MonadLogger m, MonadIO m) => Chan (Loc, LogSource, 
LogLevel, LogStr) -> m ()
+unChanLoggingT chan = forever $ do
+(loc,src,lvl,msg) <- liftIO $ readChan chan
+monadLoggerLog loc src lvl msg
+
 -- | Within the 'LoggingT' monad, capture all log messages to a bounded
 --   channel of the indicated size, and only actually log them if there is an
 --   exception.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.16/monad-logger.cabal 
new/monad-logger-0.3.17/monad-logger.cabal
--- old/monad-logger-0.3.16/monad-logger.cabal  2015-12-13 09:03:42.0 
+0100
+++ new/monad-logger-0.3.17/monad-logger.cabal  2016-01-12 12:18:18.0 
+0100
@@ -1,5 +1,5 @@
 name:monad-logger
-version: 0.3.16
+version: 0.3.17
 synopsis:A class of monads which can log messages.
 descrip

commit ghc-monad-logger for openSUSE:Factory

2015-12-22 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2015-12-23 08:49:22

Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)


Package is "ghc-monad-logger"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2015-11-26 17:02:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2015-12-23 08:49:23.0 +0100
@@ -1,0 +2,6 @@
+Sun Dec 13 16:47:15 UTC 2015 - mimi...@gmail.com
+
+- update to 0.3.16
+* Provide default monadLoggerLog implementation
+
+---

Old:

  monad-logger-0.3.15.tar.gz

New:

  monad-logger-0.3.16.tar.gz



Other differences:
--
++ ghc-monad-logger.spec ++
--- /var/tmp/diff_new_pack.jJj7rs/_old  2015-12-23 08:49:23.0 +0100
+++ /var/tmp/diff_new_pack.jJj7rs/_new  2015-12-23 08:49:23.0 +0100
@@ -15,15 +15,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %global pkg_name monad-logger
 
 Name:   ghc-monad-logger
-Version:0.3.15
+Version:0.3.16
 Release:0
 Summary:A class of monads which can log messages
+License:MIT
 Group:  System/Libraries
 
-License:MIT
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -71,31 +72,24 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
 %doc README.md
 
-
 %changelog

++ monad-logger-0.3.15.tar.gz -> monad-logger-0.3.16.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.15/ChangeLog.md 
new/monad-logger-0.3.16/ChangeLog.md
--- old/monad-logger-0.3.15/ChangeLog.md2015-10-28 07:29:22.0 
+0100
+++ new/monad-logger-0.3.16/ChangeLog.md2015-12-13 09:03:42.0 
+0100
@@ -1,3 +1,11 @@
+## 0.3.16
+
+* Provide default monadLoggerLog implementation 
[#72](https://github.com/kazu-yamamoto/logger/pull/72)
+
+## 0.3.15
+
+* Expose Loc constructor [#70](https://github.com/kazu-yamamoto/logger/pull/70)
+
 ## 0.3.14
 
 * Don't include source location for defaultLoc 
[#69](https://github.com/kazu-yamamoto/logger/issues/69)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.15/Control/Monad/Logger.hs 
new/monad-logger-0.3.16/Control/Monad/Logger.hs
--- old/monad-logger-0.3.15/Control/Monad/Logger.hs 2015-10-28 
07:29:22.0 +0100
+++ new/monad-logger-0.3.16/Control/Monad/Logger.hs 2015-12-13 
09:03:42.0 +0100
@@ -177,6 +177,9 @@
 -- | A @Monad@ which has the ability to log messages in some manner.
 class Monad m => MonadLogger m where
 monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> m 
()
+default monadLoggerLog :: (Trans.MonadTrans t, MonadLogger (t m), ToLogStr 
msg)
+   => Loc -> LogSource -> LogLevel -> msg -> t m ()
+monadLoggerLog loc src lvl msg = Trans.lift $ monadLoggerLog loc src lvl 
msg
 
 -- | An extension of @MonadLogger@ for the common case where the logging action
 -- is a simple @IO@ action. The advantage of using this typeclass is that the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.15/monad-logger.cabal 
new/monad-logger-0.3.16/monad-logger.cabal
--- old/monad-logger-0.3.15/monad-logger.cabal  2015-10-28 07:29:22.0 
+0100
+++ new/monad-logger-0.3.16/monad-logger.cabal  2015-12-13 09:03:42.0 
+0100
@@ -1,5 +1,5 @@
 name:monad-logger
-version: 0.3.15
+version: 0.3.16
 synopsis:A class of monads which can log messages.
 description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
 homepage:https://github.com/kazu-yamamoto/logger