Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-jira-wiki-markup for
openSUSE:Factory checked in at 2021-03-10 08:55:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-jira-wiki-markup (Old)
and /work/SRC/openSUSE:Factory/.ghc-jira-wiki-markup.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-jira-wiki-markup"
Wed Mar 10 08:55:02 2021 rev:7 rq:877638 version:1.3.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-jira-wiki-markup/ghc-jira-wiki-markup.changes
2020-12-22 11:41:46.341635924 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-jira-wiki-markup.new.2378/ghc-jira-wiki-markup.changes
2021-03-10 08:57:11.082884611 +0100
@@ -1,0 +2,14 @@
+Sat Feb 13 11:43:27 UTC 2021 - [email protected]
+
+- Update jira-wiki-markup to version 1.3.3.
+ 1.3.3
+ -----
+
+ Released 2021-02-12.
+
+ * Modified the Doc parser to skip leading blank lines. This fixes
+ parsing of documents which start with multiple blank lines.
+
+ * Prevent URLs within link aliases to be treated as autolinks.
+
+-------------------------------------------------------------------
Old:
----
jira-wiki-markup-1.3.2.tar.gz
New:
----
jira-wiki-markup-1.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-jira-wiki-markup.spec ++++++
--- /var/tmp/diff_new_pack.3zaJ9I/_old 2021-03-10 08:57:11.706885255 +0100
+++ /var/tmp/diff_new_pack.3zaJ9I/_new 2021-03-10 08:57:11.706885255 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-jira-wiki-markup
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# 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 jira-wiki-markup
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.3.2
+Version: 1.3.3
Release: 0
Summary: Handle Jira wiki markup
License: MIT
++++++ jira-wiki-markup-1.3.2.tar.gz -> jira-wiki-markup-1.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jira-wiki-markup-1.3.2/CHANGELOG.md
new/jira-wiki-markup-1.3.3/CHANGELOG.md
--- old/jira-wiki-markup-1.3.2/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
+++ new/jira-wiki-markup-1.3.3/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -4,6 +4,16 @@
`jira-wiki-markup` uses [PVP Versioning][1].
The changelog is available [on GitHub][2].
+1.3.3
+-----
+
+Released 2021-02-12.
+
+* Modified the Doc parser to skip leading blank lines. This fixes
+ parsing of documents which start with multiple blank lines.
+
+* Prevent URLs within link aliases to be treated as autolinks.
+
1.3.2
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jira-wiki-markup-1.3.2/LICENSE
new/jira-wiki-markup-1.3.3/LICENSE
--- old/jira-wiki-markup-1.3.2/LICENSE 2001-09-09 03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/LICENSE 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
MIT License
-Copyright ?? 2019???2020 Albert Krewinkel
+Copyright ?? 2019???2021 Albert Krewinkel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jira-wiki-markup-1.3.2/jira-wiki-markup.cabal
new/jira-wiki-markup-1.3.3/jira-wiki-markup.cabal
--- old/jira-wiki-markup-1.3.2/jira-wiki-markup.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/jira-wiki-markup.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 2.0
name: jira-wiki-markup
-version: 1.3.2
+version: 1.3.3
synopsis: Handle Jira wiki markup
description: Parse jira wiki text into an abstract syntax tree for easy
transformation to other formats.
@@ -10,7 +10,7 @@
license-file: LICENSE
author: Albert Krewinkel
maintainer: [email protected]
-copyright: ?? 2019???2020 Albert Krewinkel
+copyright: ?? 2019???2021 Albert Krewinkel
category: Text
build-type: Simple
extra-doc-files: README.md
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jira-wiki-markup-1.3.2/src/Text/Jira/Markup.hs
new/jira-wiki-markup-1.3.3/src/Text/Jira/Markup.hs
--- old/jira-wiki-markup-1.3.2/src/Text/Jira/Markup.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/src/Text/Jira/Markup.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE LambdaCase #-}
{-|
Module : Text.Jira.Markup
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser/Block.hs
new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser/Block.hs
--- old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser/Block.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser/Block.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module : Text.Jira.Parser.Block
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser/Core.hs
new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser/Core.hs
--- old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser/Core.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser/Core.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module : Text.Jira.Parser.Core
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser/Inline.hs
new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser/Inline.hs
--- old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser/Inline.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser/Inline.hs 2001-09-09
03:46:40.000000000 +0200
@@ -3,7 +3,7 @@
{-# LANGUAGE TupleSections #-}
{-|
Module : Text.Jira.Parser.Inline
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
@@ -180,8 +180,10 @@
-- | Parse a plain URL or mail address as @'AutoLink'@ element.
autolink :: JiraParser Inline
-autolink = AutoLink <$> (email' <|> url) <?> "email or other URL"
- where email' = (\(URL e) -> URL ("mailto:" <> e)) <$> email
+autolink = do
+ guard . not . stateInLink =<< getState
+ AutoLink <$> (email' <|> url) <?> "email or other URL"
+ where email' = (\(URL e) -> URL ("mailto:" <> e)) <$> email
-- | Parse a URL with scheme @file@, @ftp@, @http@, @https@, @irc@, @nntp@, or
-- @news@.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser/PlainText.hs
new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser/PlainText.hs
--- old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser/PlainText.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser/PlainText.hs
2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module : Text.Jira.Parser.PlainText
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser/Shared.hs
new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser/Shared.hs
--- old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser/Shared.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser/Shared.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE LambdaCase #-}
{-|
Module : Text.Jira.Parser.Shared
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser.hs
new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser.hs
--- old/jira-wiki-markup-1.3.2/src/Text/Jira/Parser.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/src/Text/Jira/Parser.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module : Text.Jira.Parser
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
@@ -33,4 +33,4 @@
-- | Parses a list of jira blocks into a @'Doc'@ element.
doc :: JiraParser Doc
-doc = Doc <$> many block <?> "doc"
+doc = Doc <$> (skipMany blankline *> many block) <?> "doc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jira-wiki-markup-1.3.2/src/Text/Jira/Printer.hs
new/jira-wiki-markup-1.3.3/src/Text/Jira/Printer.hs
--- old/jira-wiki-markup-1.3.2/src/Text/Jira/Printer.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/src/Text/Jira/Printer.hs 2001-09-09
03:46:40.000000000 +0200
@@ -2,7 +2,7 @@
{-# LANGUAGE LambdaCase #-}
{-|
Module : Text.Jira.Parser
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jira-wiki-markup-1.3.2/test/Text/Jira/Parser/BlockTests.hs
new/jira-wiki-markup-1.3.3/test/Text/Jira/Parser/BlockTests.hs
--- old/jira-wiki-markup-1.3.2/test/Text/Jira/Parser/BlockTests.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/test/Text/Jira/Parser/BlockTests.hs
2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module : Text.Jira.Parser.BlockTests
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jira-wiki-markup-1.3.2/test/Text/Jira/Parser/InlineTests.hs
new/jira-wiki-markup-1.3.3/test/Text/Jira/Parser/InlineTests.hs
--- old/jira-wiki-markup-1.3.2/test/Text/Jira/Parser/InlineTests.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/test/Text/Jira/Parser/InlineTests.hs
2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module : Text.Jira.Parser.InlineTests
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
@@ -257,6 +257,13 @@
[Styled Emphasis [Str "important"], Space, Str "example"]
(URL "https://example.org"))
+ , testCase "alias with URL" $
+ parseJira link "[https://example.org website|https://example.org]" @?=
+ Right (Link External
+ [ Str "https", SpecialChar ':', Str "//example.org"
+ , Space, Str "website"]
+ (URL "https://example.org"))
+
, testCase "link to anchor" $
parseJira link "[see here|#there]" @?=
Right (Link External [Str "see", Space, Str "here"] (URL "#there"))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jira-wiki-markup-1.3.2/test/Text/Jira/ParserTests.hs
new/jira-wiki-markup-1.3.3/test/Text/Jira/ParserTests.hs
--- old/jira-wiki-markup-1.3.2/test/Text/Jira/ParserTests.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/test/Text/Jira/ParserTests.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module : Text.Jira.ParserTests
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
@@ -31,6 +31,10 @@
parse "h1. test\nThis is ok." @?=
Right (Doc [ Header 1 [Str "test"]
, Para [Str "This", Space, Str "is", Space, Str "ok."]])
+
+ , testCase "leading blank lines" $
+ parse "\n\ntext\n" @?=
+ Right (Doc [Para [Str "text"]])
]
, testGroup "plainText"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jira-wiki-markup-1.3.2/test/Text/Jira/PrinterTests.hs
new/jira-wiki-markup-1.3.3/test/Text/Jira/PrinterTests.hs
--- old/jira-wiki-markup-1.3.2/test/Text/Jira/PrinterTests.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/test/Text/Jira/PrinterTests.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-|
Module : Text.Jira.PrinterTests
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jira-wiki-markup-1.3.2/test/jira-wiki-markup-test.hs
new/jira-wiki-markup-1.3.3/test/jira-wiki-markup-test.hs
--- old/jira-wiki-markup-1.3.2/test/jira-wiki-markup-test.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/jira-wiki-markup-1.3.3/test/jira-wiki-markup-test.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module : Main
-Copyright : ?? 2019???2020 Albert Krewinkel
+Copyright : ?? 2019???2021 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>