Hello community,
here is the log from the commit of package ghc-yaml for openSUSE:Factory checked in at 2016-07-01 09:58:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yaml (Old)
and /work/SRC/openSUSE:Factory/.ghc-yaml.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-yaml"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-yaml/ghc-yaml.changes 2016-06-14 23:08:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yaml.new/ghc-yaml.changes 2016-07-01 09:58:54.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Jun 27 11:04:26 UTC 2016 - mimi.vx@gmail.com
+
+- update to 0.8.18
+* Switched yaml decode function for config file readers in Data.Yaml.Config
+ to the one from Data.Yaml.Include that supports !include syntax.
+
+-------------------------------------------------------------------
Old:
----
yaml-0.8.17.2.tar.gz
New:
----
yaml-0.8.18.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-yaml.spec ++++++
--- /var/tmp/diff_new_pack.Sa5kQT/_old 2016-07-01 09:58:55.000000000 +0200
+++ /var/tmp/diff_new_pack.Sa5kQT/_new 2016-07-01 09:58:55.000000000 +0200
@@ -18,7 +18,7 @@
%global pkg_name yaml
Name: ghc-yaml
-Version: 0.8.17.2
+Version: 0.8.18
Release: 0
Summary: Support for parsing and rendering YAML documents
License: BSD-3-Clause
++++++ yaml-0.8.17.2.tar.gz -> yaml-0.8.18.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.17.2/ChangeLog.md new/yaml-0.8.18/ChangeLog.md
--- old/yaml-0.8.17.2/ChangeLog.md 2016-06-09 20:40:20.000000000 +0200
+++ new/yaml-0.8.18/ChangeLog.md 2016-06-21 18:52:49.000000000 +0200
@@ -1,3 +1,8 @@
+## 0.8.18
+
+* Switched yaml decode function for config file readers in `Data.Yaml.Config` to
+ the one from `Data.Yaml.Include` that supports `!include` syntax.
+
## 0.8.17.2
* Fix pretty-printing order of UnexpectedEvent's fields (fixes [#84](https://github.com/snoyberg/yaml/issues/84)) [#85](https://github.com/snoyberg/yaml/pull/85)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.17.2/Data/Yaml/Config.hs new/yaml-0.8.18/Data/Yaml/Config.hs
--- old/yaml-0.8.17.2/Data/Yaml/Config.hs 2016-06-09 20:40:20.000000000 +0200
+++ new/yaml-0.8.18/Data/Yaml/Config.hs 2016-06-21 18:52:49.000000000 +0200
@@ -41,6 +41,7 @@
import Control.Exception (throwIO)
import Data.Text.Encoding (encodeUtf8)
import qualified Data.Yaml as Y
+import qualified Data.Yaml.Include as YI
import Data.Maybe (fromMaybe)
import qualified Data.Text as T
@@ -174,7 +175,7 @@
-> IO settings
loadYamlSettings runTimeFiles compileValues envUsage = do
runValues <- forM runTimeFiles $ \fp -> do
- eres <- Y.decodeFileEither fp
+ eres <- YI.decodeFileEither fp
case eres of
Left e -> do
putStrLn $ "loadYamlSettings: Could not parse file as YAML: " ++ fp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.17.2/yaml.cabal new/yaml-0.8.18/yaml.cabal
--- old/yaml-0.8.17.2/yaml.cabal 2016-06-09 20:40:20.000000000 +0200
+++ new/yaml-0.8.18/yaml.cabal 2016-06-21 18:52:49.000000000 +0200
@@ -1,5 +1,5 @@
name: yaml
-version: 0.8.17.2
+version: 0.8.18
license: BSD3
license-file: LICENSE
author: Michael Snoyman