openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
August 2022
- 1 participants
- 2549 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Text-Hunspell for openSUSE:Factory checked in at 2022-08-01 21:31:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Text-Hunspell (Old)
and /work/SRC/openSUSE:Factory/.perl-Text-Hunspell.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Text-Hunspell"
Mon Aug 1 21:31:50 2022 rev:9 rq:991551 version:2.16
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Text-Hunspell/perl-Text-Hunspell.changes 2015-05-15 07:44:35.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Text-Hunspell.new.1533/perl-Text-Hunspell.changes 2022-08-01 21:32:31.938023691 +0200
@@ -1,0 +2,41 @@
+Sat Jul 16 03:08:55 UTC 2022 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 2.16
+ see /usr/share/doc/packages/perl-Text-Hunspell/Changes
+
+ 2.16 2022/07/15 13:04:00 Europe/Oslo (cosimo)
+ Included LICENSE file in distribution manifest.
+ 2.15 2022/07/15 12:19:00 Europe/Oslo (cosimo)
+ Documentation and license improvements:
+ - Merged https://github.com/cosimo/perl5-text-hunspell/pull/14 by @manwar (from 2015! Sorry)
+ - Merged https://github.com/cosimo/perl5-text-hunspell/pull/16 by @choroba (from 2016! Sorry)
+ - Merged https://github.com/cosimo/perl5-text-hunspell/pull/18 by @JJ (from a month ago)
+
+-------------------------------------------------------------------
+Thu May 5 10:18:57 UTC 2016 - coolo(a)suse.com
+
+- updated to 2.14
+ see /usr/share/doc/packages/perl-Text-Hunspell/Changes
+
+ 2.14 2016/01/14 08:36:00 Europe/Oslo (cosimo)
+
+ No functional changes. Now Text::Hunspell depends on Alien::Hunspell
+ version 0.04. Should finally compile nicely on Win32 platform.
+
+ 2.13 2016/01/11 10:59:00 Europe/Oslo (cosimo)
+
+ Win32 build support added (Graham Ollis, @plicease).
+ This should make Text::Hunspell build correctly on Windows. \o/
+
+ *** If you're using Win32, make sure you use a recent version of
+ Alien::Base (>= 0.024) and/or Alien::Hunspell (soon-to-be 0.04)
+
+ 2.12 2015/12/18 10:35:00 Europe/Oslo (cosimo)
+
+ Replaced ExtUtils::PkgConfig with Alien::Hunspell. This should allow
+ Text::Hunspell to build on non-pkgconfig-enabled systems, even though
+ I'm not sure how reliably it works. Will have to evaluate from CPAN
+ testers results. Thanks to Alien* expert Graham Ollis for this
+ contribution.
+
+-------------------------------------------------------------------
Old:
----
Text-Hunspell-2.11.tar.gz
New:
----
Text-Hunspell-2.16.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Text-Hunspell.spec ++++++
--- /var/tmp/diff_new_pack.8og92f/_old 2022-08-01 21:32:32.402025022 +0200
+++ /var/tmp/diff_new_pack.8og92f/_new 2022-08-01 21:32:32.406025033 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Text-Hunspell
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,24 +12,23 @@
# 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/
#
+%define cpan_name Text-Hunspell
Name: perl-Text-Hunspell
-Version: 2.11
+Version: 2.16
Release: 0
-%define cpan_name Text-Hunspell
+License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl interface to the Hunspell library
-License: GPL-1.0+ or Artistic-1.0
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Text-Hunspell/
-Source0: http://www.cpan.org/authors/id/C/CO/COSIMO/%{cpan_name}-%{version}.tar.gz
+URL: https://metacpan.org/release/%{cpan_name}
+Source0: https://cpan.metacpan.org/authors/id/C/CO/COSIMO/%{cpan_name}-%{version}.ta…
Source1: cpanspec.yml
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(ExtUtils::PkgConfig)
+BuildRequires: perl(Alien::Hunspell) >= 0.04
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52
%{perl_requires}
# MANUAL BEGIN
BuildRequires: gcc-c++
@@ -44,15 +43,15 @@
The example code describes the interface on http://hunspell.sf.net
%prep
-%setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+%autosetup -n %{cpan_name}-%{version}
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+%make_build
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -60,7 +59,7 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes examples perlobject.map README
+%license LICENSE
%changelog
++++++ Text-Hunspell-2.11.tar.gz -> Text-Hunspell-2.16.tar.gz ++++++
++++ 73241 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Test-DiagINC for openSUSE:Factory checked in at 2022-08-01 21:31:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-DiagINC (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-DiagINC.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-DiagINC"
Mon Aug 1 21:31:50 2022 rev:2 rq:991550 version:0.010
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-DiagINC/perl-Test-DiagINC.changes 2021-08-26 23:16:02.336212552 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-DiagINC.new.1533/perl-Test-DiagINC.changes 2022-08-01 21:32:30.958020879 +0200
@@ -1,0 +2,13 @@
+Mon Jul 18 03:07:31 UTC 2022 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 0.010
+ see /usr/share/doc/packages/perl-Test-DiagINC/Changes
+
+ 0.010 2022-07-17 08:47:21-04:00 America/New_York
+
+ [FIXED]
+
+ - Deletes ENV vars after localizing to avoid problems when they are undef
+ rather than the empty string.
+
+-------------------------------------------------------------------
Old:
----
Test-DiagINC-0.008.tar.gz
New:
----
Test-DiagINC-0.010.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-DiagINC.spec ++++++
--- /var/tmp/diff_new_pack.aFRPJD/_old 2022-08-01 21:32:31.622022784 +0200
+++ /var/tmp/diff_new_pack.aFRPJD/_new 2022-08-01 21:32:31.626022796 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-DiagINC
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# 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 @@
%define cpan_name Test-DiagINC
Name: perl-Test-DiagINC
-Version: 0.008
+Version: 0.010
Release: 0
License: Apache-2.0
Summary: List modules and versions loaded if tests fail
++++++ Test-DiagINC-0.008.tar.gz -> Test-DiagINC-0.010.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/Changes new/Test-DiagINC-0.010/Changes
--- old/Test-DiagINC-0.008/Changes 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/Changes 2022-07-17 14:47:24.000000000 +0200
@@ -1,5 +1,12 @@
Revision history for Test-DiagINC
+0.010 2022-07-17 08:47:21-04:00 America/New_York
+
+ [FIXED]
+
+ - Deletes ENV vars after localizing to avoid problems when they are undef
+ rather than the empty string.
+
0.008 2017-07-26 10:36:28-04:00 America/New_York
- No changes from 0.007.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/LICENSE new/Test-DiagINC-0.010/LICENSE
--- old/Test-DiagINC-0.008/LICENSE 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/LICENSE 2022-07-17 14:47:24.000000000 +0200
@@ -192,7 +192,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright 2014 David Golden
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/MANIFEST new/Test-DiagINC-0.010/MANIFEST
--- old/Test-DiagINC-0.008/MANIFEST 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/MANIFEST 2022-07-17 14:47:24.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.025.
CONTRIBUTING.mkdn
Changes
LICENSE
@@ -25,10 +25,10 @@
tidyall.ini
xt/author/00-compile.t
xt/author/critic.t
+xt/author/distmeta.t
+xt/author/minimum-version.t
xt/author/pod-coverage.t
xt/author/pod-spell.t
xt/author/pod-syntax.t
xt/author/portability.t
xt/author/test-version.t
-xt/release/distmeta.t
-xt/release/minimum-version.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/META.json new/Test-DiagINC-0.010/META.json
--- old/Test-DiagINC-0.008/META.json 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/META.json 2022-07-17 14:47:24.000000000 +0200
@@ -4,7 +4,7 @@
"David Golden <dagolden(a)cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010",
"license" : [
"apache_2_0"
],
@@ -51,8 +51,7 @@
"Test::Pod::Coverage" : "1.08",
"Test::Portability::Files" : "0",
"Test::Spelling" : "0.12",
- "Test::Version" : "1",
- "blib" : "1.01"
+ "Test::Version" : "1"
}
},
"runtime" : {
@@ -81,7 +80,7 @@
"provides" : {
"Test::DiagINC" : {
"file" : "lib/Test/DiagINC.pm",
- "version" : "0.008"
+ "version" : "0.010"
}
},
"release_status" : "stable",
@@ -96,12 +95,15 @@
"web" : "https://github.com/dagolden/Test-DiagINC"
}
},
- "version" : "0.008",
+ "version" : "0.010",
"x_authority" : "cpan:DAGOLDEN",
"x_contributors" : [
+ "Graham Knop <haarg(a)haarg.org>",
"Peter Rabbitson <ribasushi(a)cpan.org>",
"Roy Ivy III <rivy.dev(a)gmail.com>"
],
- "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225"
+ "x_generated_by_perl" : "v5.36.0",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.29",
+ "x_spdx_expression" : "Apache-2.0"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/META.yml new/Test-DiagINC-0.010/META.yml
--- old/Test-DiagINC-0.008/META.yml 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/META.yml 2022-07-17 14:47:24.000000000 +0200
@@ -12,7 +12,7 @@
ExtUtils::MakeMaker: '6.17'
perl: '5.006'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010'
license: apache
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -29,7 +29,7 @@
provides:
Test::DiagINC:
file: lib/Test/DiagINC.pm
- version: '0.008'
+ version: '0.010'
requires:
B: '0'
Cwd: '0'
@@ -41,9 +41,12 @@
bugtracker: https://github.com/dagolden/Test-DiagINC/issues
homepage: https://github.com/dagolden/Test-DiagINC
repository: https://github.com/dagolden/Test-DiagINC.git
-version: '0.008'
+version: '0.010'
x_authority: cpan:DAGOLDEN
x_contributors:
+ - 'Graham Knop <haarg(a)haarg.org>'
- 'Peter Rabbitson <ribasushi(a)cpan.org>'
- 'Roy Ivy III <rivy.dev(a)gmail.com>'
-x_serialization_backend: 'YAML::Tiny version 1.69'
+x_generated_by_perl: v5.36.0
+x_serialization_backend: 'YAML::Tiny version 1.73'
+x_spdx_expression: Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/Makefile.PL new/Test-DiagINC-0.010/Makefile.PL
--- old/Test-DiagINC-0.008/Makefile.PL 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/Makefile.PL 2022-07-17 14:47:24.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.010.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.025.
use strict;
use warnings;
@@ -29,7 +29,7 @@
"File::Spec" => 0,
"Test::More" => 0
},
- "VERSION" => "0.008",
+ "VERSION" => "0.010",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/README new/Test-DiagINC-0.010/README
--- old/Test-DiagINC-0.008/README 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/README 2022-07-17 14:47:24.000000000 +0200
@@ -2,7 +2,7 @@
Test::DiagINC - List modules and versions loaded if tests fail
VERSION
- version 0.008
+ version 0.010
SYNOPSIS
# preferably load before anything else
@@ -94,6 +94,8 @@
David Golden <dagolden(a)cpan.org>
CONTRIBUTORS
+ * Graham Knop <haarg(a)haarg.org>
+
* Peter Rabbitson <ribasushi(a)cpan.org>
* Roy Ivy III <rivy.dev(a)gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/cpanfile new/Test-DiagINC-0.010/cpanfile
--- old/Test-DiagINC-0.008/cpanfile 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/cpanfile 2022-07-17 14:47:24.000000000 +0200
@@ -1,3 +1,6 @@
+# This file is generated by Dist::Zilla::Plugin::CPANFile v6.025
+# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
+
requires "B" => "0";
requires "Cwd" => "0";
requires "File::Spec" => "0";
@@ -42,5 +45,4 @@
requires "Test::Portability::Files" => "0";
requires "Test::Spelling" => "0.12";
requires "Test::Version" => "1";
- requires "blib" => "1.01";
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/lib/Test/DiagINC.pm new/Test-DiagINC-0.010/lib/Test/DiagINC.pm
--- old/Test-DiagINC-0.008/lib/Test/DiagINC.pm 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/lib/Test/DiagINC.pm 2022-07-17 14:47:24.000000000 +0200
@@ -3,7 +3,7 @@
package Test::DiagINC;
# ABSTRACT: List modules and versions loaded if tests fail
-our $VERSION = '0.008';
+our $VERSION = '0.010';
# If the tested module did not load strict/warnings we do not want
# to load them either. On the other hand we would like to know our
@@ -28,10 +28,15 @@
# Requires %ENV cleanup to work under taint mode
my $REALPATH_CWD = do {
local $ENV{PATH};
+ delete $ENV{PATH};
local $ENV{IFS};
+ delete $ENV{IFS};
local $ENV{CDPATH};
+ delete $ENV{CDPATH};
local $ENV{ENV};
+ delete $ENV{ENV};
local $ENV{BASH_ENV};
+ delete $ENV{BASH_ENV};
my ($perl) = $^X =~ /(.+)/; # $^X is internal how could it be tainted?!
`"$perl" -MCwd -le "print getcwd"`;
};
@@ -161,7 +166,7 @@
=head1 VERSION
-version 0.008
+version 0.010
=head1 SYNOPSIS
@@ -239,7 +244,7 @@
=for Pod::Coverage BUILD
-=for :stopwords cpan testmatrix url annocpan anno bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
+=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
@@ -264,12 +269,16 @@
=head1 CONTRIBUTORS
-=for stopwords Peter Rabbitson Roy Ivy III
+=for stopwords Graham Knop Peter Rabbitson Roy Ivy III
=over 4
=item *
+Graham Knop <haarg(a)haarg.org>
+
+=item *
+
Peter Rabbitson <ribasushi(a)cpan.org>
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/t/00-report-prereqs.dd new/Test-DiagINC-0.010/t/00-report-prereqs.dd
--- old/Test-DiagINC-0.008/t/00-report-prereqs.dd 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/t/00-report-prereqs.dd 2022-07-17 14:47:24.000000000 +0200
@@ -25,8 +25,7 @@
'Test::Pod::Coverage' => '1.08',
'Test::Portability::Files' => '0',
'Test::Spelling' => '0.12',
- 'Test::Version' => '1',
- 'blib' => '1.01'
+ 'Test::Version' => '1'
}
},
'runtime' => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/t/00-report-prereqs.t new/Test-DiagINC-0.010/t/00-report-prereqs.t
--- old/Test-DiagINC-0.008/t/00-report-prereqs.t 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/t/00-report-prereqs.t 2022-07-17 14:47:24.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028
use Test::More tests => 1;
@@ -188,6 +188,6 @@
);
}
-pass;
+pass('Reported prereqs');
# vim: ts=4 sts=4 sw=4 et:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/xt/author/00-compile.t new/Test-DiagINC-0.010/xt/author/00-compile.t
--- old/Test-DiagINC-0.008/xt/author/00-compile.t 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/xt/author/00-compile.t 2022-07-17 14:47:24.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.056
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058
use Test::More;
@@ -46,7 +46,7 @@
is($?, 0, "$lib loaded ok");
shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/
- and not eval { require blib; blib->VERSION('1.01') };
+ and not eval { +require blib; blib->VERSION('1.01') };
if (@_warnings)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/xt/author/distmeta.t new/Test-DiagINC-0.010/xt/author/distmeta.t
--- old/Test-DiagINC-0.008/xt/author/distmeta.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-DiagINC-0.010/xt/author/distmeta.t 2022-07-17 14:47:24.000000000 +0200
@@ -0,0 +1,6 @@
+#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
+
+use Test::CPAN::Meta;
+
+meta_yaml_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/xt/author/minimum-version.t new/Test-DiagINC-0.010/xt/author/minimum-version.t
--- old/Test-DiagINC-0.008/xt/author/minimum-version.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-DiagINC-0.010/xt/author/minimum-version.t 2022-07-17 14:47:24.000000000 +0200
@@ -0,0 +1,6 @@
+use strict;
+use warnings;
+
+use Test::More;
+use Test::MinimumVersion;
+all_minimum_version_ok( qq{5.010} );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/xt/author/pod-spell.t new/Test-DiagINC-0.010/xt/author/pod-spell.t
--- old/Test-DiagINC-0.008/xt/author/pod-spell.t 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/xt/author/pod-spell.t 2022-07-17 14:47:24.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
use Test::More;
-# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007004
+# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005
use Test::Spelling 0.12;
use Pod::Wordlist;
@@ -13,13 +13,16 @@
David
DiagINC
Golden
+Graham
III
Ivy
+Knop
Peter
Rabbitson
Roy
Test
dagolden
+haarg
lib
ribasushi
rivy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/xt/release/distmeta.t new/Test-DiagINC-0.010/xt/release/distmeta.t
--- old/Test-DiagINC-0.008/xt/release/distmeta.t 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/xt/release/distmeta.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#!perl
-# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
-
-use Test::CPAN::Meta;
-
-meta_yaml_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-DiagINC-0.008/xt/release/minimum-version.t new/Test-DiagINC-0.010/xt/release/minimum-version.t
--- old/Test-DiagINC-0.008/xt/release/minimum-version.t 2017-07-26 16:36:34.000000000 +0200
+++ new/Test-DiagINC-0.010/xt/release/minimum-version.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#!perl
-
-use Test::More;
-
-eval "use Test::MinimumVersion";
-plan skip_all => "Test::MinimumVersion required for testing minimum versions"
- if $@;
-all_minimum_version_ok( qq{5.010} );
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Test-File-Contents for openSUSE:Factory checked in at 2022-08-01 21:31:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-File-Contents (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-File-Contents.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-File-Contents"
Mon Aug 1 21:31:48 2022 rev:2 rq:991549 version:0.240
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-File-Contents/perl-Test-File-Contents.changes 2017-09-21 12:34:47.239753277 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-File-Contents.new.1533/perl-Test-File-Contents.changes 2022-08-01 21:32:30.042018251 +0200
@@ -1,0 +2,6 @@
+Mon Jul 18 03:08:07 UTC 2022 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 0.240
+ see /usr/share/doc/packages/perl-Test-File-Contents/Changes
+
+-------------------------------------------------------------------
Old:
----
Test-File-Contents-0.23.tar.gz
New:
----
Test-File-Contents-0.240.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-File-Contents.spec ++++++
--- /var/tmp/diff_new_pack.alEpBu/_old 2022-08-01 21:32:30.542019686 +0200
+++ /var/tmp/diff_new_pack.alEpBu/_new 2022-08-01 21:32:30.550019709 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-File-Contents
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,53 +12,52 @@
# 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/
#
+%define cpan_name Test-File-Contents
Name: perl-Test-File-Contents
-Version: 0.23
+Version: 0.240
Release: 0
-%define cpan_name Test-File-Contents
+License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Test routines for examining the contents of files
-License: Artistic-1.0 or GPL-1.0+
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Test-File-Contents/
-Source0: http://www.cpan.org/authors/id/D/DW/DWHEELER/%{cpan_name}-%{version}.tar.gz
+URL: https://metacpan.org/release/%{cpan_name}
+Source0: https://cpan.metacpan.org/authors/id/A/AR/ARISTOTLE/%{cpan_name}-%{version}…
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Module::Build) >= 0.300000
BuildRequires: perl(Test::Builder) >= 0.70
BuildRequires: perl(Test::More) >= 0.70
BuildRequires: perl(Text::Diff) >= 0.35
Requires: perl(Test::Builder) >= 0.70
Requires: perl(Text::Diff) >= 0.35
-Recommends: perl(Test::Pod) >= 1.41
-Recommends: perl(Test::Pod::Coverage) >= 1.06
%{perl_requires}
%description
-Test routines for examining the contents of files
+Got an app that generates files? Then you need to test those files to make
+sure that their contents are correct. This module makes that easy. Use its
+test functions to make sure that the contents of files are exactly what you
+expect them to be.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
%build
-%{__perl} Build.PL installdirs=vendor
-./Build build flags=%{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-./Build test
+make test
%install
-./Build install destdir=%{buildroot} create_packlist=0
+%perl_make_install
+%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes README
+%license LICENSE
%changelog
++++++ Test-File-Contents-0.23.tar.gz -> Test-File-Contents-0.240.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-File-Contents-0.23/Build.PL new/Test-File-Contents-0.240/Build.PL
--- old/Test-File-Contents-0.23/Build.PL 2016-03-16 18:08:51.000000000 +0100
+++ new/Test-File-Contents-0.240/Build.PL 1970-01-01 01:00:00.000000000 +0100
@@ -1,32 +0,0 @@
-use strict;
-use warnings;
-use Module::Build;
-
-Module::Build->new(
- module_name => 'Test::File::Contents',
- license => 'perl',
- configure_requires => { 'Module::Build' => '0.30' },
- build_requires => {
- 'Module::Build' => '0.30',
- 'Test::More' => '0.70',
- },
- requires => {
- 'Test::Builder' => '0.70',
- 'Digest::MD5' => 0,
- 'File::Spec' => 0,
- 'perl' => 5.008003,
- 'Text::Diff' => '0.35',
- },
- recommends => {
- 'Test::Pod' => '1.41',
- 'Test::Pod::Coverage' => '1.06',
- },
- meta_merge => {
- resources => {
- homepage => 'http://search.cpan.org/dist/Test-File-Contents/',
- bugtracker => 'https://github.com/theory/test-file-contents/issues/',
- repository => 'https://github.com/theory/test-file-contents',
- }
- },
- add_to_cleanup => [ 'Test-File-Contents-*' ],
-)->create_build_script;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-File-Contents-0.23/Changes new/Test-File-Contents-0.240/Changes
--- old/Test-File-Contents-0.23/Changes 2016-03-16 18:08:51.000000000 +0100
+++ new/Test-File-Contents-0.240/Changes 2022-07-17 04:52:40.000000000 +0200
@@ -1,18 +1,21 @@
-Revision history for Test-File-Contents
+Release history for Test-File-Contents
-0.23 2016-03-16T17:09:37Z
+0.240 2022-07-17
+ - Packaging improvements. No functional changes.
+
+0.23 2016-03-16
- Fix encoding errors when reading in a file on Windows with `utf8`
enabled. See https://rt.perl.org/Ticket/Display.html?id=127668 for the
bug we've worked around.
-0.22 2016-03-02T23:54:26Z
+0.22 2016-03-02
- Adjusted tests to account for change in output of Text::Diff 1.44.
They still pass with earlier versions of Text::Diff.
- Removed Pod tests from the distribution.
0.21 2013-04-12
- Require Test::Pod 1.41 for Pod tests. Fixes test failures due to the
- use of the `L<text|scheme>` Pod syntax diallowed in earlier versions
+ use of the `L<text|scheme>` Pod syntax disallowed in earlier versions
of Test::Pod.
- Eliminated "v-string in use/require non-portable" warning on Perl
5.10.0.
@@ -23,7 +26,7 @@
- Added encoding option, to make sure that files are read in their
proper encoding.
- Significant refactoring; only visible change should be that the
- actualy MD5 checksum will no longer be included in the `file_md5sum`
+ actually MD5 checksum will no longer be included in the `file_md5sum`
failure diagnostics.
- Renamed `file_md5sum` to `file_md5sum_is`. The old name remains as an
alias for backwards compatibility.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-File-Contents-0.23/LICENSE new/Test-File-Contents-0.240/LICENSE
--- old/Test-File-Contents-0.23/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-File-Contents-0.240/LICENSE 2022-07-17 04:58:28.000000000 +0200
@@ -0,0 +1,379 @@
+This software is copyright (c) 2016 by David E. Wheeler.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+Terms of the Perl programming language system itself
+
+a) the GNU General Public License as published by the Free
+ Software Foundation; either version 1, or (at your option) any
+ later version, or
+b) the "Artistic License"
+
+--- The GNU General Public License, Version 1, February 1989 ---
+
+This software is Copyright (c) 2016 by David E. Wheeler.
+
+This is free software, licensed under:
+
+ The GNU General Public License, Version 1, February 1989
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The license agreements of most software companies try to keep users
+at the mercy of those companies. By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must tell them their rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License. The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications. Each
+licensee is addressed as "you".
+
+ 1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program. You may charge a fee for the physical act of
+transferring a copy.
+
+ 2. You may modify your copy or copies of the Program or any portion of
+it, and copy and distribute such modifications under the terms of Paragraph
+1 above, provided that you also do the following:
+
+ a) cause the modified files to carry prominent notices stating that
+ you changed the files and the date of any change; and
+
+ b) cause the whole of any work that you distribute or publish, that
+ in whole or in part contains the Program or any part thereof, either
+ with or without modifications, to be licensed at no charge to all
+ third parties under the terms of this General Public License (except
+ that you may choose to grant warranty protection to some or all
+ third parties, at your option).
+
+ c) If the modified program normally reads commands interactively when
+ run, you must cause it, when started running for such interactive use
+ in the simplest and most usual way, to print or display an
+ announcement including an appropriate copyright notice and a notice
+ that there is no warranty (or else, saying that you provide a
+ warranty) and that users may redistribute the program under these
+ conditions, and telling the user how to view a copy of this General
+ Public License.
+
+ d) You may charge a fee for the physical act of transferring a
+ copy, and you may at your option offer warranty protection in
+ exchange for a fee.
+
+Mere aggregation of another independent work with the Program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other work under the scope of these terms.
+
+ 3. You may copy and distribute the Program (or a portion or derivative of
+it, under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+ a) accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ b) accompany it with a written offer, valid for at least three
+ years, to give any third party free (except for a nominal charge
+ for the cost of distribution) a complete machine-readable copy of the
+ corresponding source code, to be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ c) accompany it with the information you received as to where the
+ corresponding source code may be obtained. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form alone.)
+
+Source code for a work means the preferred form of the work for making
+modifications to it. For an executable file, complete source code means
+all the source code for all modules it contains; but, as a special
+exception, it need not include source code for modules which are standard
+libraries that accompany the operating system on which the executable
+file runs, or for standard header files or definitions files that
+accompany that operating system.
+
+ 4. You may not copy, modify, sublicense, distribute or transfer the
+Program except as expressly provided under this General Public License.
+Any attempt otherwise to copy, modify, sublicense, distribute or transfer
+the Program is void, and will automatically terminate your rights to use
+the Program under this License. However, parties who have received
+copies, or rights to use copies, from you under this General Public
+License will not have their licenses terminated so long as such parties
+remain in full compliance.
+
+ 5. By copying, distributing or modifying the Program (or any work based
+on the Program) you indicate your acceptance of this license to do so,
+and all its terms and conditions.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these
+terms and conditions. You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein.
+
+ 7. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of the license which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+the license, you may choose any version ever published by the Free Software
+Foundation.
+
+ 8. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to humanity, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+ To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively convey
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19xx name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the
+appropriate parts of the General Public License. Of course, the
+commands you use may be called something other than `show w' and `show
+c'; they could even be mouse-clicks or menu items--whatever suits your
+program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ program `Gnomovision' (a program to direct compilers to make passes
+ at assemblers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
+--- The Artistic License 1.0 ---
+
+This software is Copyright (c) 2016 by David E. Wheeler.
+
+This is free software, licensed under:
+
+ The Artistic License 1.0
+
+The Artistic License
+
+Preamble
+
+The intent of this document is to state the conditions under which a Package
+may be copied, such that the Copyright Holder maintains some semblance of
+artistic control over the development of the package, while giving the users of
+the package the right to use and distribute the Package in a more-or-less
+customary fashion, plus the right to make reasonable modifications.
+
+Definitions:
+
+ - "Package" refers to the collection of files distributed by the Copyright
+ Holder, and derivatives of that collection of files created through
+ textual modification.
+ - "Standard Version" refers to such a Package if it has not been modified,
+ or has been modified in accordance with the wishes of the Copyright
+ Holder.
+ - "Copyright Holder" is whoever is named in the copyright or copyrights for
+ the package.
+ - "You" is you, if you're thinking about copying or distributing this Package.
+ - "Reasonable copying fee" is whatever you can justify on the basis of media
+ cost, duplication charges, time of people involved, and so on. (You will
+ not be required to justify it to the Copyright Holder, but only to the
+ computing community at large as a market that must bear the fee.)
+ - "Freely Available" means that no fee is charged for the item itself, though
+ there may be fees involved in handling the item. It also means that
+ recipients of the item may redistribute it under the same conditions they
+ received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications derived
+from the Public Domain or from the Copyright Holder. A Package modified in such
+a way shall still be considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided that
+you insert a prominent notice in each changed file stating how and when you
+changed that file, and provided that you do at least ONE of the following:
+
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or an
+ equivalent medium, or placing the modifications on a major archive site
+ such as ftp.uu.net, or by allowing the Copyright Holder to include your
+ modifications in the Standard Version of the Package.
+
+ b) use the modified Package only within your corporation or organization.
+
+ c) rename any non-standard executables so the names do not conflict with
+ standard executables, which must also be provided, and provide a separate
+ manual page for each non-standard executable that clearly documents how it
+ differs from the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+4. You may distribute the programs of this Package in object code or executable
+form, provided that you do at least ONE of the following:
+
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where to
+ get the Standard Version.
+
+ b) accompany the distribution with the machine-readable source of the Package
+ with your modifications.
+
+ c) accompany any non-standard executables with their corresponding Standard
+ Version executables, giving the non-standard executables non-standard
+ names, and clearly documenting the differences in manual pages (or
+ equivalent), together with instructions on where to get the Standard
+ Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+5. You may charge a reasonable copying fee for any distribution of this
+Package. You may charge any fee you choose for support of this Package. You
+may not charge a fee for this Package itself. However, you may distribute this
+Package in aggregate with other (possibly commercial) programs as part of a
+larger (possibly commercial) software distribution provided that you do not
+advertise this Package as a product of your own.
+
+6. The scripts and library files supplied as input to or produced as output
+from the programs of this Package do not automatically fall under the copyright
+of this Package, but belong to whomever generated them, and may be sold
+commercially, and may be aggregated with this Package.
+
+7. C or perl subroutines supplied by you and linked into this Package shall not
+be considered part of this Package.
+
+8. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+The End
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-File-Contents-0.23/MANIFEST new/Test-File-Contents-0.240/MANIFEST
--- old/Test-File-Contents-0.23/MANIFEST 2016-03-16 18:08:51.000000000 +0100
+++ new/Test-File-Contents-0.240/MANIFEST 2022-07-17 04:58:28.000000000 +0200
@@ -1,13 +1,15 @@
-Build.PL
Changes
-lib/Test/File/Contents.pm
-MANIFEST This list of files
+LICENSE
+MANIFEST
+META.json Module JSON meta-data (added by MakeMaker)
+META.yml Module YAML meta-data (added by MakeMaker)
+Makefile.PL
README
+boilerplate.pl
+lib/Test/File/Contents.pm
t/10.basic.t
t/data/aaa.txt
t/data/aaa2.txt
t/data/bbb.txt
t/data/utf8-2.txt
t/data/utf8.txt
-META.yml
-META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-File-Contents-0.23/META.json new/Test-File-Contents-0.240/META.json
--- old/Test-File-Contents-0.23/META.json 2016-03-16 18:08:51.000000000 +0100
+++ new/Test-File-Contents-0.240/META.json 2022-07-17 04:58:27.000000000 +0200
@@ -1,35 +1,29 @@
{
"abstract" : "Test routines for examining the contents of files",
"author" : [
- "unknown"
+ "Kirrily Robert",
+ "David E. Wheeler"
],
- "dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4212",
+ "dynamic_config" : 0,
+ "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Test-File-Contents",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
"prereqs" : {
- "build" : {
- "requires" : {
- "Module::Build" : "0.30",
- "Test::More" : "0.70"
- }
- },
- "configure" : {
- "requires" : {
- "Module::Build" : "0.30"
- }
- },
+ "build" : {},
+ "configure" : {},
"runtime" : {
- "recommends" : {
- "Test::Pod" : "1.41",
- "Test::Pod::Coverage" : "1.06"
- },
"requires" : {
"Digest::MD5" : "0",
"File::Spec" : "0",
@@ -37,26 +31,31 @@
"Text::Diff" : "0.35",
"perl" : "5.008003"
}
- }
- },
- "provides" : {
- "Test::File::Contents" : {
- "file" : "lib/Test/File/Contents.pm",
- "version" : "0.23"
+ },
+ "test" : {
+ "requires" : {
+ "Test::More" : "0.70"
+ }
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
- "web" : "https://github.com/theory/test-file-contents/issues/"
+ "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=Test-File-Contents"
},
- "homepage" : "http://search.cpan.org/dist/Test-File-Contents/",
"license" : [
"http://dev.perl.org/licenses/"
],
"repository" : {
- "url" : "https://github.com/theory/test-file-contents"
+ "type" : "git",
+ "url" : "https://github.com/ap/Test-File-Contents.git",
+ "web" : "https://github.com/ap/Test-File-Contents"
}
},
- "version" : "0.23"
+ "version" : "0.240",
+ "x_copyright" : {
+ "holder" : "David E. Wheeler",
+ "year" : 2016
+ },
+ "x_serialization_backend" : "JSON::PP version 4.02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-File-Contents-0.23/META.yml new/Test-File-Contents-0.240/META.yml
--- old/Test-File-Contents-0.23/META.yml 2016-03-16 18:08:51.000000000 +0100
+++ new/Test-File-Contents-0.240/META.yml 2022-07-17 04:58:27.000000000 +0200
@@ -1,26 +1,21 @@
---
abstract: 'Test routines for examining the contents of files'
author:
- - unknown
+ - 'Kirrily Robert'
+ - 'David E. Wheeler'
build_requires:
- Module::Build: '0.30'
Test::More: '0.70'
-configure_requires:
- Module::Build: '0.30'
-dynamic_config: 1
-generated_by: 'Module::Build version 0.4212, CPAN::Meta::Converter version 2.150001'
+dynamic_config: 0
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Test-File-Contents
-provides:
- Test::File::Contents:
- file: lib/Test/File/Contents.pm
- version: '0.23'
-recommends:
- Test::Pod: '1.41'
- Test::Pod::Coverage: '1.06'
+no_index:
+ directory:
+ - t
+ - inc
requires:
Digest::MD5: '0'
File::Spec: '0'
@@ -28,8 +23,11 @@
Text::Diff: '0.35'
perl: '5.008003'
resources:
- bugtracker: https://github.com/theory/test-file-contents/issues/
- homepage: http://search.cpan.org/dist/Test-File-Contents/
+ bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Test-File-Contents
license: http://dev.perl.org/licenses/
- repository: https://github.com/theory/test-file-contents
-version: '0.23'
+ repository: https://github.com/ap/Test-File-Contents.git
+version: '0.240'
+x_copyright:
+ holder: 'David E. Wheeler'
+ year: 2016
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-File-Contents-0.23/Makefile.PL new/Test-File-Contents-0.240/Makefile.PL
--- old/Test-File-Contents-0.23/Makefile.PL 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-File-Contents-0.240/Makefile.PL 2022-07-17 04:52:40.000000000 +0200
@@ -0,0 +1,90 @@
+use 5.008003; use strict; use warnings;
+
+my $sc = q<https://github.com/ap/Test-File-Contents>;
+my $bt = q<https://rt.cpan.org/Public/Dist/Display.html?Name=Test-File-Contents>;
+
+my %META = (
+ name => 'Test-File-Contents',
+ author => [ 'Kirrily Robert', 'David E. Wheeler' ],
+ x_copyright => { holder => 'David E. Wheeler', year => 2016 },
+ license => 'perl_5',
+ prereqs => {
+ test => {
+ requires => {
+ 'Test::More' => '0.70',
+ },
+ },
+ runtime => {
+ requires => {
+ perl => '5.008003',
+ 'Test::Builder' => '0.70',
+ 'Digest::MD5' => 0,
+ 'File::Spec' => 0,
+ 'Text::Diff' => '0.35',
+ },
+ },
+ },
+ dynamic_config => 0,
+ resources => {
+ repository => { type => 'git', url => "$sc.git", web => $sc },
+ bugtracker => { web => $bt },
+ license => [ 'http://dev.perl.org/licenses/' ],
+ },
+);
+
+sub MY::postamble { -f 'META.yml' ? return : <<'' }
+create_distdir : MANIFEST
+MANIFEST :
+ ( git ls-files ':!README.pod' ; echo MANIFEST ) | sort -f > MANIFEST
+distdir : boilerplate
+.PHONY : boilerplate
+boilerplate : distmeta
+ $(PERL) -Ilib boilerplate.pl $(DISTVNAME)
+
+## BOILERPLATE ###############################################################
+require ExtUtils::MakeMaker;
+
+my %MM_ARGS;
+
+# have to do this since old EUMM dev releases miss the eval $VERSION line
+my $eumm_version = eval $ExtUtils::MakeMaker::VERSION;
+my $mymeta = $eumm_version >= 6.57_02;
+my $mymeta_broken = $mymeta && $eumm_version < 6.57_07;
+
+($MM_ARGS{NAME} = $META{name}) =~ s/-/::/g;
+($MM_ARGS{VERSION_FROM} = "lib/$MM_ARGS{NAME}.pm") =~ s{::}{/}g;
+$MM_ARGS{ABSTRACT_FROM} = $MM_ARGS{VERSION_FROM};
+$META{license} = [ $META{license} ]
+ if $META{license} && !ref $META{license};
+$MM_ARGS{LICENSE} = $META{license}[0]
+ if $META{license} && $eumm_version >= 6.30;
+$MM_ARGS{NO_MYMETA} = 1
+ if $mymeta_broken;
+$MM_ARGS{META_ADD} = { 'meta-spec' => { version => 2 }, %META }
+ unless -f 'META.yml';
+$MM_ARGS{PL_FILES} ||= {};
+$MM_ARGS{NORECURS} = 1
+ if not exists $MM_ARGS{NORECURS};
+
+for (qw(configure build test runtime)) {
+ my $key = $_ eq 'runtime' ? 'PREREQ_PM' : uc $_.'_REQUIRES';
+ my $r = $MM_ARGS{$key} = {
+ %{$META{prereqs}{$_}{requires} || {}},
+ %{delete $MM_ARGS{$key} || {}},
+ };
+ defined $r->{$_} or delete $r->{$_} for keys %$r;
+}
+
+$MM_ARGS{MIN_PERL_VERSION} = eval delete $MM_ARGS{PREREQ_PM}{perl} || 0;
+
+delete $MM_ARGS{MIN_PERL_VERSION}
+ if $eumm_version < 6.47_01;
+$MM_ARGS{BUILD_REQUIRES} = {%{$MM_ARGS{BUILD_REQUIRES}}, %{delete $MM_ARGS{TEST_REQUIRES}}}
+ if $eumm_version < 6.63_03;
+$MM_ARGS{PREREQ_PM} = {%{$MM_ARGS{PREREQ_PM}}, %{delete $MM_ARGS{BUILD_REQUIRES}}}
+ if $eumm_version < 6.55_01;
+delete $MM_ARGS{CONFIGURE_REQUIRES}
+ if $eumm_version < 6.51_03;
+
+ExtUtils::MakeMaker::WriteMakefile(%MM_ARGS);
+## END BOILERPLATE ###########################################################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-File-Contents-0.23/README new/Test-File-Contents-0.240/README
--- old/Test-File-Contents-0.23/README 2016-03-16 18:08:51.000000000 +0100
+++ new/Test-File-Contents-0.240/README 2022-07-17 04:58:28.000000000 +0200
@@ -1,46 +1,30 @@
-Test/File/Contents 0.23
-=======================
+Test::File::Contents
-This library's module, Test::File::Contents, provides an interface for testing
-file contents. Usage is quite simple:
-
- file_contents_eq $file, $contents, $description;
- file_contents_eq_or_diff $file, $string, $description;
- file_contents_like $file, qr/contents/, $description;
- file_md5_sum_is $file, $md5hash, $description;
+Got an app that generates files? Then you need to test those files to
+make sure that their contents are correct. This module makes that easy.
+Use its test functions to make sure that the contents of files are
+exactly what you expect them to be.
INSTALLATION
-To install this module, type the following:
-
- perl Build.PL
- ./Build
- ./Build test
- ./Build install
-
-Or, if you don't have Module::Build installed, type the following:
-
- perl Makefile.PL
- make
- make test
- make install
+This is a Perl module distribution. It should be installed with whichever
+tool you use to manage your installation of Perl, e.g. any of
-Dependencies
-------------
+ cpanm .
+ cpan .
+ cpanp -i .
-Test::File::Contents requires the following modules:
+Consult http://www.cpan.org/modules/INSTALL.html for further instruction.
+Should you wish to install this module manually, the procedure is
-* Perl 5.8.3
-* Test::Builder
-* Digset::MD5
-* File::Spec
-* Text::Diff
+ perl Makefile.PL
+ make
+ make test
+ make install
-Copyright and Licence
----------------------
+COPYRIGHT AND LICENSE
-Copyright (c) 2004-2007 Kirrily Robert. Some Rights Reserved.
-Copyright (c) 2007-2016 David E. Wheeler. Some Rights Reserved.
+This software is copyright (c) 2016 by David E. Wheeler.
-This module is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
+This is free software; you can redistribute it and/or modify it under the
+same terms as the Perl 5 programming language system itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-File-Contents-0.23/boilerplate.pl new/Test-File-Contents-0.240/boilerplate.pl
--- old/Test-File-Contents-0.23/boilerplate.pl 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-File-Contents-0.240/boilerplate.pl 2022-07-17 04:48:31.000000000 +0200
@@ -0,0 +1,44 @@
+use strict; use warnings;
+
+use CPAN::Meta;
+use Software::LicenseUtils;
+use Pod::Readme::Brief 1.001;
+sub slurp { open my $fh, '<', $_[0] or die "Couldn't open $_[0] to read: $!\n"; local $/; readline $fh }
+
+chdir $ARGV[0] or die "Cannot chdir to $ARGV[0]: $!\n";
+
+my %file;
+
+my $meta = CPAN::Meta->load_file( 'META.json' );
+
+my $license = do {
+ my @key = ( $meta->license, $meta->meta_spec_version );
+ my ( $class, @ambiguous ) = Software::LicenseUtils->guess_license_from_meta_key( @key );
+ die if @ambiguous or not $class;
+ $class->new( $meta->custom( 'x_copyright' ) );
+};
+
+$file{'LICENSE'} = $license->fulltext;
+
+my ( $main_module ) = map { s!-!/!g; "lib/$_.pm" } $meta->name;
+
+for ( $file{ $main_module } = slurp $main_module ) {
+ s{(?=^=cut\n\z)}{ join "\n\n", (
+ '=head1 AUTHOR', $meta->authors,
+ '=head1 COPYRIGHT AND LICENSE', $license->notice . "\n",
+ ) }me;
+ $file{'README'} = Pod::Readme::Brief->new( $_ )
+ ->render( installer => -e 'Makefile.PL' ? 'eumm' : die );
+}
+
+for ( $file{'MANIFEST'} = slurp 'MANIFEST' ) {
+ my %have = map +( $_, 1 ), /^([^\s#]+)/mg;
+ $_ = join '', sort map "$_\n", ( split /\n/, $_ ), ( grep !$have{ $_ }, keys %file );
+}
+
+for my $fn ( sort keys %file ) {
+ unlink $fn if -e $fn;
+ open my $fh, '>', $fn or die "Couldn't open $fn to write: $!\n";
+ print $fh $file{ $fn };
+ close $fh or die "Couldn't close $fn after writing: $!\n";
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-File-Contents-0.23/lib/Test/File/Contents.pm new/Test-File-Contents-0.240/lib/Test/File/Contents.pm
--- old/Test-File-Contents-0.23/lib/Test/File/Contents.pm 2016-03-16 18:08:51.000000000 +0100
+++ new/Test-File-Contents-0.240/lib/Test/File/Contents.pm 2022-07-17 04:58:28.000000000 +0200
@@ -6,13 +6,13 @@
=encoding utf8
-=head1 Name
+=head1 NAME
Test::File::Contents - Test routines for examining the contents of files
=cut
-our $VERSION = '0.23';
+our $VERSION = '0.240';
use Test::Builder;
use Digest::MD5;
@@ -39,7 +39,7 @@
my $Test = Test::Builder->new;
-=head1 Synopsis
+=head1 SYNOPSIS
use Test::File::Contents;
@@ -50,14 +50,14 @@
files_eq $file1, $file2, $description;
files_eq_or_diff $file1, $file2, $description;
-=head1 Description
+=head1 DESCRIPTION
Got an app that generates files? Then you need to test those files to make
sure that their contents are correct. This module makes that easy. Use its
test functions to make sure that the contents of files are exactly what you
expect them to be.
-=head1 Interface
+=head1 INTERFACE
=head2 Options
@@ -450,31 +450,21 @@
1;
-=head1 Authors
+__END__
-=over
-
-=item * Kirrily Robert <skud(a)cpan.org>
+=pod
-=item * David E. Wheeler <david(a)justatheory.com>
+=head1 AUTHOR
-=back
+Kirrily Robert
-=head1 Support
+David E. Wheeler
-This module is stored in an open L<GitHub
-repository|https://github.com/theory/test-file-contents/>. Feel free to fork
-and contribute!
+=head1 COPYRIGHT AND LICENSE
-Please file bug reports via L<GitHub
-Issues|https://github.com/theory/test-file-contents/issues/> or by sending
-mail to
-L<bug-Test-File-Contents@rt.cpan.org|mailto:bug-Test-File-Contents@rt.cpan.org>.
+This software is copyright (c) 2016 by David E. Wheeler.
-=head1 Copyright and License
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
-Copyright (c) 2004-2007 Kirrily Robert. Some Rights Reserved.
-Copyright (c) 2007-2016 David E. Wheeler. Some Rights Reserved.
-
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
+=cut
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-PPI for openSUSE:Factory checked in at 2022-08-01 21:31:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-PPI (Old)
and /work/SRC/openSUSE:Factory/.perl-PPI.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-PPI"
Mon Aug 1 21:31:47 2022 rev:25 rq:991548 version:1.276
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-PPI/perl-PPI.changes 2022-05-12 23:00:53.760839954 +0200
+++ /work/SRC/openSUSE:Factory/.perl-PPI.new.1533/perl-PPI.changes 2022-08-01 21:32:28.846014820 +0200
@@ -1,0 +2,14 @@
+Wed Jul 20 03:07:16 UTC 2022 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 1.276
+ see /usr/share/doc/packages/perl-PPI/Changes
+
+ 1.276 2022-07-19 21:43:50Z
+ Summary:
+ - Implement Replace Method (GH#274) (Renee and Olaf Alders)
+
+ 1.275 2022-07-18 19:42:13Z
+ Summary:
+ - CHECK bareword handle parsed as scheduled block (GH#247) (trwyant)
+
+-------------------------------------------------------------------
Old:
----
PPI-1.274.tar.gz
New:
----
PPI-1.276.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-PPI.spec ++++++
--- /var/tmp/diff_new_pack.rKNgR6/_old 2022-08-01 21:32:29.250015979 +0200
+++ /var/tmp/diff_new_pack.rKNgR6/_new 2022-08-01 21:32:29.254015990 +0200
@@ -18,7 +18,7 @@
%define cpan_name PPI
Name: perl-PPI
-Version: 1.274
+Version: 1.276
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Parse, Analyze and Manipulate Perl (without perl)
++++++ PPI-1.274.tar.gz -> PPI-1.276.tar.gz ++++++
++++ 3028 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-File-MimeInfo for openSUSE:Factory checked in at 2022-08-01 21:31:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-MimeInfo (Old)
and /work/SRC/openSUSE:Factory/.perl-File-MimeInfo.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-MimeInfo"
Mon Aug 1 21:31:46 2022 rev:6 rq:991547 version:0.33
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-MimeInfo/perl-File-MimeInfo.changes 2022-03-11 11:49:38.734864376 +0100
+++ /work/SRC/openSUSE:Factory/.perl-File-MimeInfo.new.1533/perl-File-MimeInfo.changes 2022-08-01 21:32:28.102012686 +0200
@@ -1,0 +2,10 @@
+Wed Jul 13 03:07:34 UTC 2022 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 0.33
+ see /usr/share/doc/packages/perl-File-MimeInfo/Changes
+
+ 0.33 2022-07-12
+ - Fix uninitialized value warning in File::MimeInfo::Applications,
+ provided by SPFabGerman
+
+-------------------------------------------------------------------
Old:
----
File-MimeInfo-0.32.tar.gz
New:
----
File-MimeInfo-0.33.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-File-MimeInfo.spec ++++++
--- /var/tmp/diff_new_pack.O8xcSY/_old 2022-08-01 21:32:28.574014040 +0200
+++ /var/tmp/diff_new_pack.O8xcSY/_new 2022-08-01 21:32:28.578014051 +0200
@@ -18,7 +18,7 @@
%define cpan_name File-MimeInfo
Name: perl-File-MimeInfo
-Version: 0.32
+Version: 0.33
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Determine file types
++++++ File-MimeInfo-0.32.tar.gz -> File-MimeInfo-0.33.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-MimeInfo-0.32/Changes new/File-MimeInfo-0.33/Changes
--- old/File-MimeInfo-0.32/Changes 2022-03-06 08:59:17.000000000 +0100
+++ new/File-MimeInfo-0.33/Changes 2022-07-12 22:46:40.000000000 +0200
@@ -2,6 +2,10 @@
Versions up to 0.15 by Jaap Karssenberg <pardus(a)cpan.org>
Versions starting 0.16 by Michiel Beijen <mb(a)x14.nl>
+0.33 2022-07-12
+ - Fix uninitialized value warning in File::MimeInfo::Applications,
+ provided by SPFabGerman
+
0.32 2022-03-06
- Fix uninitialized values in _read_list() call, provided by mazunki
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-MimeInfo-0.32/META.json new/File-MimeInfo-0.33/META.json
--- old/File-MimeInfo-0.32/META.json 2022-03-06 09:04:29.000000000 +0100
+++ new/File-MimeInfo-0.33/META.json 2022-07-12 22:50:37.000000000 +0200
@@ -4,7 +4,7 @@
"Jaap Karssenberg <pardus(a)cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -57,7 +57,7 @@
"url" : "https://github.com/mbeijen/File-MimeInfo"
}
},
- "version" : "0.32",
+ "version" : "0.33",
"x_contributors" : [
"Bernhard Rosenkr����nzer <bero(a)lindev.ch>",
"Christian Ludwig <chrissicool(a)gmail.com>",
@@ -72,11 +72,12 @@
"Patrick Burroughs (Celti) <celti(a)celti.name>",
"Philippe Bruhat (BooK) <book(a)cpan.org>",
"Rudolf Leermakers <rudolf(a)hatsuseno.org>",
+ "SPFabGerman <42518661+SPFabGerman(a)users.noreply.github.com>",
"Sean Smith <ssmith(a)ncsgraphics.com>",
"Stefan Seifert <nine(a)detonation.org>",
"brian m. carlson <sandals(a)crustytoothpaste.net>",
"gregor herrmann <gregoa(a)debian.org>",
"mazunki <rolferen(a)gmail.com>"
],
- "x_serialization_backend" : "JSON::PP version 4.02"
+ "x_serialization_backend" : "JSON::PP version 4.06"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-MimeInfo-0.32/META.yml new/File-MimeInfo-0.33/META.yml
--- old/File-MimeInfo-0.32/META.yml 2022-03-06 09:04:29.000000000 +0100
+++ new/File-MimeInfo-0.33/META.yml 2022-07-12 22:50:37.000000000 +0200
@@ -8,7 +8,7 @@
configure_requires:
ExtUtils::MakeMaker: '6.30'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -30,7 +30,7 @@
resources:
bugtracker: https://github.com/mbeijen/File-MimeInfo/issues
repository: https://github.com/mbeijen/File-MimeInfo
-version: '0.32'
+version: '0.33'
x_contributors:
- 'Bernhard Rosenkr����nzer <bero(a)lindev.ch>'
- 'Christian Ludwig <chrissicool(a)gmail.com>'
@@ -45,6 +45,7 @@
- 'Patrick Burroughs (Celti) <celti(a)celti.name>'
- 'Philippe Bruhat (BooK) <book(a)cpan.org>'
- 'Rudolf Leermakers <rudolf(a)hatsuseno.org>'
+ - 'SPFabGerman <42518661+SPFabGerman(a)users.noreply.github.com>'
- 'Sean Smith <ssmith(a)ncsgraphics.com>'
- 'Stefan Seifert <nine(a)detonation.org>'
- 'brian m. carlson <sandals(a)crustytoothpaste.net>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-MimeInfo-0.32/Makefile.PL new/File-MimeInfo-0.33/Makefile.PL
--- old/File-MimeInfo-0.32/Makefile.PL 2022-03-06 08:56:40.000000000 +0100
+++ new/File-MimeInfo-0.33/Makefile.PL 2022-07-12 22:43:46.000000000 +0200
@@ -59,6 +59,7 @@
'Patrick Burroughs (Celti) <celti(a)celti.name>',
'Philippe Bruhat (BooK) <book(a)cpan.org>',
'Rudolf Leermakers <rudolf(a)hatsuseno.org>',
+ 'SPFabGerman <42518661+SPFabGerman(a)users.noreply.github.com>',
'Sean Smith <ssmith(a)ncsgraphics.com>',
'Stefan Seifert <nine(a)detonation.org>',
'brian m. carlson <sandals(a)crustytoothpaste.net>',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-MimeInfo-0.32/lib/File/MimeInfo/Applications.pm new/File-MimeInfo-0.33/lib/File/MimeInfo/Applications.pm
--- old/File-MimeInfo-0.32/lib/File/MimeInfo/Applications.pm 2022-03-06 09:01:14.000000000 +0100
+++ new/File-MimeInfo-0.33/lib/File/MimeInfo/Applications.pm 2022-07-12 22:48:17.000000000 +0200
@@ -9,7 +9,7 @@
use File::DesktopEntry;
require Exporter;
-our $VERSION = '0.32';
+our $VERSION = '0.33';
our @ISA = qw(Exporter);
our @EXPORT = qw(
@@ -178,7 +178,7 @@
}
sub _find_file {
- my @list = shift;
+ my @list = @_;
for (@list) {
my $file = data_files('applications', $_);
return File::DesktopEntry->new($file) if $file;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-MimeInfo-0.32/lib/File/MimeInfo/Magic.pm new/File-MimeInfo-0.33/lib/File/MimeInfo/Magic.pm
--- old/File-MimeInfo-0.32/lib/File/MimeInfo/Magic.pm 2022-03-06 09:01:14.000000000 +0100
+++ new/File-MimeInfo-0.33/lib/File/MimeInfo/Magic.pm 2022-07-12 22:48:17.000000000 +0200
@@ -17,7 +17,7 @@
our @ISA = qw(Exporter File::MimeInfo);
our @EXPORT = qw(mimetype);
our @EXPORT_OK = qw(extensions describe globs inodetype magic);
-our $VERSION = '0.32';
+our $VERSION = '0.33';
our $DEBUG;
our $_hashed = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-MimeInfo-0.32/lib/File/MimeInfo/Rox.pm new/File-MimeInfo-0.33/lib/File/MimeInfo/Rox.pm
--- old/File-MimeInfo-0.32/lib/File/MimeInfo/Rox.pm 2022-03-06 09:01:14.000000000 +0100
+++ new/File-MimeInfo-0.33/lib/File/MimeInfo/Rox.pm 2022-07-12 22:48:17.000000000 +0200
@@ -11,7 +11,7 @@
our @EXPORT = qw(mime_exec mime_system);
our @EXPORT_OK = qw(suggest_script_name);
our %EXPORT_TAGS = (magic => \@EXPORT);
-our $VERSION = '0.32';
+our $VERSION = '0.33';
our @choicespath = (
config_home('rox.sourceforge.net'),
File::Spec->catdir($ENV{HOME}, 'Choices'),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-MimeInfo-0.32/lib/File/MimeInfo.pm new/File-MimeInfo-0.33/lib/File/MimeInfo.pm
--- old/File-MimeInfo-0.32/lib/File/MimeInfo.pm 2022-03-06 09:01:14.000000000 +0100
+++ new/File-MimeInfo-0.33/lib/File/MimeInfo.pm 2022-07-12 22:48:17.000000000 +0200
@@ -11,7 +11,7 @@
our @ISA = qw(Exporter);
our @EXPORT = qw(mimetype);
our @EXPORT_OK = qw(extensions describe globs inodetype mimetype_canon mimetype_isa);
-our $VERSION = '0.32';
+our $VERSION = '0.33';
our $DEBUG;
our ($_hashed, $_hashed_aliases, $_hashed_subclasses, $_has_mimeinfo_database);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-MimeInfo-0.32/mimeopen new/File-MimeInfo-0.33/mimeopen
--- old/File-MimeInfo-0.32/mimeopen 2022-03-06 09:01:14.000000000 +0100
+++ new/File-MimeInfo-0.33/mimeopen 2022-07-12 22:48:17.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.32';
+our $VERSION = '0.33';
$|++;
# ########## #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-MimeInfo-0.32/mimetype new/File-MimeInfo-0.33/mimetype
--- old/File-MimeInfo-0.32/mimetype 2022-03-06 09:01:14.000000000 +0100
+++ new/File-MimeInfo-0.33/mimetype 2022-07-12 22:48:17.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.32';
+our $VERSION = '0.33';
$|++;
# ########## #
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package veyon for openSUSE:Factory checked in at 2022-08-01 21:31:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/veyon (Old)
and /work/SRC/openSUSE:Factory/.veyon.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "veyon"
Mon Aug 1 21:31:44 2022 rev:17 rq:990674 version:4.7.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/veyon/veyon.changes 2022-04-23 19:49:02.599202836 +0200
+++ /work/SRC/openSUSE:Factory/.veyon.new.1533/veyon.changes 2022-08-01 21:32:26.710008692 +0200
@@ -1,0 +2,5 @@
+Mon Jul 18 09:55:09 UTC 2022 - Marcus Meissner <meissner(a)suse.com>
+
+- require pkexec which is now a standalone package
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ veyon.spec ++++++
--- /var/tmp/diff_new_pack.biYZ1F/_old 2022-08-01 21:32:27.806011836 +0200
+++ /var/tmp/diff_new_pack.biYZ1F/_new 2022-08-01 21:32:27.810011848 +0200
@@ -88,6 +88,7 @@
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(zlib)
+Requires: pkexec
Requires(post): permissions
%{?systemd_requires}
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package davix for openSUSE:Factory checked in at 2022-08-01 21:31:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/davix (Old)
and /work/SRC/openSUSE:Factory/.davix.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "davix"
Mon Aug 1 21:31:42 2022 rev:5 rq:989482 version:0.8.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/davix/davix.changes 2022-05-10 15:12:18.707598886 +0200
+++ /work/SRC/openSUSE:Factory/.davix.new.1533/davix.changes 2022-08-01 21:32:25.702005800 +0200
@@ -1,0 +2,15 @@
+Fri Jul 15 04:32:48 UTC 2022 - Timothy Brown <stimut(a)gmail.com>
+
+- Update to version 0.8.2
+ * New Features
+ - [DMC-1310] - Parse IP stack performance markers in Davix HTTP-TPC
+ - [DMC-1320] - Compute S3v4 URI signatures for HTTP TPC calls
+ * Issues
+ - [davix/issues/97] - Address copyrighted song lyrics in codebase
+ - [root-project/root/issues/9072] - HTTP basic authentication and Davix
+ * Improvements
+ - [DMC-1318] - Better HTTP Copy error message in Davix
+ - [davix/pull/95] - Fix CMake warning
+ - Improve build and release scripts to also accept tags containing release number
+
+-------------------------------------------------------------------
Old:
----
davix-0.8.1.tar.gz
New:
----
davix-0.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ davix.spec ++++++
--- /var/tmp/diff_new_pack.lYr3pR/_old 2022-08-01 21:32:26.390007774 +0200
+++ /var/tmp/diff_new_pack.lYr3pR/_new 2022-08-01 21:32:26.398007797 +0200
@@ -18,13 +18,13 @@
%define shlib lib%{name}0
Name: davix
-Version: 0.8.1
+Version: 0.8.2
Release: 0
Summary: File management over HTTP-based protocols
License: LGPL-2.1-or-later
Group: Productivity/Networking/Web/Utilities
-URL: https://dmc.web.cern.ch/projects/davix/home
-Source: https://github.com/cern-fts/davix/releases/download/R_0_8_1/davix-%{version…
+URL: https://davix.web.cern.ch/davix/docs/devel
+Source: https://github.com/cern-fts/davix/releases/download/R_0_8_2/davix-%{version…
BuildRequires: cmake >= 2.6
BuildRequires: gcc-c++
BuildRequires: pkgconfig
++++++ davix-0.8.1.tar.gz -> davix-0.8.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/davix/davix-0.8.1.tar.gz /work/SRC/openSUSE:Factory/.davix.new.1533/davix-0.8.2.tar.gz differ: char 5, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-vty for openSUSE:Factory checked in at 2022-08-01 21:31:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vty (Old)
and /work/SRC/openSUSE:Factory/.ghc-vty.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-vty"
Mon Aug 1 21:31:40 2022 rev:9 rq:990880 version:5.36
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-vty/ghc-vty.changes 2021-03-10 08:57:53.642928542 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-vty.new.1533/ghc-vty.changes 2022-08-01 21:32:24.386002025 +0200
@@ -1,0 +2,85 @@
+Mon Jul 4 16:02:42 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update vty to version 5.36.
+ 5.36
+ ----
+
+ * Raised `microlens` upper bound to allow building with 0.4.13.
+ * Replaced incomplete `Show` output for `Picture` with a derived
+ instance; derived `Show` for `Cursor` and `Background`, too.
+
+-------------------------------------------------------------------
+Mon Mar 21 03:41:32 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update vty to version 5.35.1.
+ 5.35.1
+ ------
+
+ Bug fixes:
+ * Fixed a build issue with a test program.
+
+ 5.35
+ ----
+
+ New features:
+ * Add support for 24-bit color (thanks @u-quark). This change
+ updates Vty to look at the `COLORTERM` environment variable that is
+ conventionally used to advertise support for truecolor escape
+ sequences. The change also updates the Vty demo to demonstrate
+ 24-bit colors. This change also adds a new data type, `ColorMode`,
+ to represent the color mode in use, as well as an `Output` interface
+ field, `outputColorMode`, to track the active color mode and use it
+ to clamp emitted color escape sequences to the active color range.
+
+ API changes:
+ * All types in `Graphics.Vty.Input.Events` now have strict constructor
+ fields.
+ * Internal events are now wrapped in a new `InternalEvent` type to
+ improve how signal handling is done. This change modifies the `Input`
+ type's event channel API to produce `InternalEvents`, not `Events`.
+ The new `InternalEvent` either wraps `Event` with the `InputEvent`
+ constructor (the previous behavior) or indicates that Vty resumed
+ after handling a signal using the `ResumeAfterSignal` constructor.
+ This change avoids the previous use of `EvResize` with lazy exception
+ arguments as a sentinel value for `ResumeAfterSignal`.
+
+ Other enhancements:
+ * Bracketed paste parsing performance has been greatly improved thanks
+ to benchmarking and optimization work by @iphydf. As part of that
+ work, Vty now uses bytestrings rather than Strings internally when
+ parsing input to look for events.
+ * The `\b` value is now interpreted as `KBS` (thanks @vglfr)
+
+-------------------------------------------------------------------
+Sun Feb 27 23:25:07 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update vty to version 5.34.
+ 5.34
+ ----
+
+ API changes:
+ * Added an `NFData` instance for `Event` (thanks Mario Lang)
+ * Removed `Monoid` and `Semigroup` instances for `Attr` and
+ `MaybeDefault`. This change removed the instances because they were
+ misbehaved; merging `Attr` and `MaybeDefault` values with these
+ instances resulted in field value losses. For example, before this
+ change,
+ ```
+ (defAttr `withForeColor` blue) <> (defAttr `withBackColor` green)
+ ```
+ would result in just
+ ```
+ (defAttr `withBackColor` green)
+ ```
+ because the instances were designed to favor the right-hand
+ arguments' fields even if they had not been explicitly set
+ (a consequence of the `MaybeDefault` `Semigroup` instance).
+ While that behavior was sensible specifically in the context of
+ `Graphics.Vty.Inline`, it wasn't a useful user-facing API and it made
+ for surprising instance behavior. Since there is actually no good way
+ to handle this in a `Semigroup` instance for `Attr` -- some choices
+ have to be made about how to merge two attributes' foreground colors,
+ and that won't be much better than what we had -- the instance was
+ just removed.
+
+-------------------------------------------------------------------
Old:
----
vty-5.33.tar.gz
vty.cabal
New:
----
vty-5.36.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-vty.spec ++++++
--- /var/tmp/diff_new_pack.V6RGZJ/_old 2022-08-01 21:32:24.846003345 +0200
+++ /var/tmp/diff_new_pack.V6RGZJ/_new 2022-08-01 21:32:24.862003390 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-vty
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
%global pkg_name vty
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 5.33
+Version: 5.36
Release: 0
Summary: A simple terminal UI library
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
-Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal…
BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-ansi-terminal-devel
@@ -94,7 +93,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ vty-5.33.tar.gz -> vty-5.36.tar.gz ++++++
++++ 1925 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-pandoc-lua-marshal for openSUSE:Factory checked in at 2022-08-01 21:31:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-pandoc-lua-marshal (Old)
and /work/SRC/openSUSE:Factory/.ghc-pandoc-lua-marshal.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-pandoc-lua-marshal"
Mon Aug 1 21:31:39 2022 rev:3 rq:990835 version:0.1.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-pandoc-lua-marshal/ghc-pandoc-lua-marshal.changes 2022-02-25 21:25:36.983644139 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-pandoc-lua-marshal.new.1533/ghc-pandoc-lua-marshal.changes 2022-08-01 21:32:23.766000246 +0200
@@ -1,0 +2,33 @@
+Sat Jul 16 13:29:37 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update pandoc-lua-marshal to version 0.1.7.
+ ## 0.1.7
+
+ Released 2022-07-16.
+
+ - Allow Blocks to be passed as Caption value. The resulting
+ caption has the Blocks as its long version and no short
+ version.
+
+ - Add `clone` method to Pandoc elements.
+
+-------------------------------------------------------------------
+Fri Jun 10 10:13:58 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update pandoc-lua-marshal to version 0.1.6.1.
+ Upstream has edited the change log file since the last release in
+ a non-trivial way, i.e. they did more than just add a new entry
+ at the top. You can review the file at:
+ http://hackage.haskell.org/package/pandoc-lua-marshal-0.1.6.1/src/CHANGELOG…
+
+-------------------------------------------------------------------
+Sat Feb 19 14:49:24 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update pandoc-lua-marshal to version 0.1.5.1.
+ ## 0.1.5.1
+
+ Release pending.
+
+ - Relax upper bound for lua and hslua.
+
+-------------------------------------------------------------------
Old:
----
pandoc-lua-marshal-0.1.5.tar.gz
New:
----
pandoc-lua-marshal-0.1.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-pandoc-lua-marshal.spec ++++++
--- /var/tmp/diff_new_pack.USUOwy/_old 2022-08-01 21:32:24.194001474 +0200
+++ /var/tmp/diff_new_pack.USUOwy/_new 2022-08-01 21:32:24.202001497 +0200
@@ -19,7 +19,7 @@
%global pkg_name pandoc-lua-marshal
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.1.5
+Version: 0.1.7
Release: 0
Summary: Use pandoc types in Lua
License: MIT
++++++ pandoc-lua-marshal-0.1.5.tar.gz -> pandoc-lua-marshal-0.1.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/CHANGELOG.md new/pandoc-lua-marshal-0.1.7/CHANGELOG.md
--- old/pandoc-lua-marshal-0.1.5/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
@@ -2,6 +2,43 @@
`pandoc-lua-marshal` uses [PVP Versioning][].
+## 0.1.7
+
+Released 2022-07-16.
+
+- Allow Blocks to be passed as Caption value. The resulting
+ caption has the Blocks as its long version and no short
+ version.
+
+- Add `clone` method to Pandoc elements.
+
+## 0.1.6.1
+
+Released 2022-06-10.
+
+- Provide better error messages when fuzzy retrieval of Inlines
+ or Blocks fails.
+
+- Relax upper bound for text, allow text-2.0.
+
+## 0.1.6
+
+Released 2022-06-03.
+
+- Fix `applyFully`: the function always traversed the document
+ type-wise, never topdown.
+
+- Avoid shadowing of a function name that was added in
+ hslua-2.2.
+
+- Support concatenating of Pandoc values with the `..` operator.
+
+## 0.1.5.1
+
+Released 2022-02-19.
+
+- Relax upper bound for lua and hslua.
+
## 0.1.5
Released 2022-02-17.
@@ -10,7 +47,7 @@
functions `filter`, `map`, and `find_if`. These previously
required the argument to be of type `function`, which was too
restrictive.
-
+
- Inline: the type of Image captions is now `Inlines` instead
of `List`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/pandoc-lua-marshal.cabal new/pandoc-lua-marshal-0.1.7/pandoc-lua-marshal.cabal
--- old/pandoc-lua-marshal-0.1.5/pandoc-lua-marshal.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/pandoc-lua-marshal.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: pandoc-lua-marshal
-version: 0.1.5
+version: 0.1.7
synopsis: Use pandoc types in Lua
description: This package provides functions to marshal and unmarshal
pandoc document types to and from Lua.
@@ -19,7 +19,7 @@
license-file: LICENSE
author: Albert Krewinkel, John MacFarlane
maintainer: Albert Krewinkel <albert(a)zeitkraut.de>
-copyright: �� 2017-2021 Albert Krewinkel, John MacFarlane
+copyright: �� 2017-2022 Albert Krewinkel, John MacFarlane
category: Foreign
build-type: Simple
extra-doc-files: README.md
@@ -27,8 +27,8 @@
tested-with: GHC == 8.6.5
GHC == 8.8.4
GHC == 8.10.7
- GHC == 9.0.1
- GHC == 9.2.1
+ GHC == 9.0.2
+ GHC == 9.2.3
extra-source-files: test/test-attr.lua
, test/test-block.lua
, test/test-cell.lua
@@ -49,12 +49,12 @@
, bytestring >= 0.10 && < 0.12
, containers >= 0.6 && < 0.7
, exceptions >= 0.8 && < 0.11
- , lua >= 2.1 && < 2.2
- , hslua >= 2.1 && < 2.2
- , hslua-marshalling >= 2.1 && < 2.2
+ , lua >= 2.1 && < 2.3
+ , hslua >= 2.1 && < 2.3
+ , hslua-marshalling >= 2.1 && < 2.3
, pandoc-types >= 1.22.1 && < 1.23
, safe >= 0.3 && < 0.4
- , text >= 1.1.1.0 && < 1.3
+ , text >= 1.1.1.0 && < 1.3 || >= 2.0 && < 2.1
ghc-options: -Wall
-Wcompat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/AST.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/AST.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/AST.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/AST.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
{- |
-Copyright: (c) 2021 Albert Krewinkel
+Copyright: (c) 2021-2022 Albert Krewinkel
SPDX-License-Identifier: MIT
Maintainer: Albert Krewinkel <albert(a)zeitkraut.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Alignment.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Alignment.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Alignment.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Alignment.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Block.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Block.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Block.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Block.hs 2001-09-09 03:46:40.000000000 +0200
@@ -45,7 +45,7 @@
( peekListAttributes, pushListAttributes )
import Text.Pandoc.Lua.Marshal.Shared (walkBlocksAndInlines)
import Text.Pandoc.Lua.Marshal.TableParts
- ( peekCaption, pushCaption
+ ( peekCaptionFuzzy, pushCaption
, peekColSpec, pushColSpec
, peekTableBody, pushTableBody
, peekTableFoot, pushTableFoot
@@ -90,20 +90,22 @@
-- bare strings as @Str@ values.
peekBlockFuzzy :: LuaError e
=> Peeker e Block
-peekBlockFuzzy = choice
- [ peekBlock
- , \idx -> Plain <$!> peekInlinesFuzzy idx
- ]
+peekBlockFuzzy idx =
+ peekBlock idx
+ <|> (Plain <$!> peekInlinesFuzzy idx)
+ <|> (failPeek =<<
+ typeMismatchMessage "Block or list of Inlines" idx)
{-# INLINABLE peekBlockFuzzy #-}
-- | Try extra-hard to return the value at the given index as a list of
-- inlines.
peekBlocksFuzzy :: LuaError e
=> Peeker e [Block]
-peekBlocksFuzzy = choice
- [ peekList peekBlockFuzzy
- , (<$!>) pure . peekBlockFuzzy
- ]
+peekBlocksFuzzy idx =
+ peekList peekBlockFuzzy idx
+ <|> (pure <$!> peekBlockFuzzy idx)
+ <|> (failPeek =<<
+ typeMismatchMessage "Block, list of Blocks, or compatible element" idx)
{-# INLINABLE peekBlocksFuzzy #-}
-- | Block object type.
@@ -141,7 +143,7 @@
_ -> const Absent)
, possibleProperty "caption" "element caption"
(pushCaption, \case {Table _ capt _ _ _ _ -> Actual capt; _ -> Absent})
- (peekCaption, \case
+ (peekCaptionFuzzy, \case
Table attr _ cs h bs f -> Actual . (\c -> Table attr c cs h bs f)
_ -> const Absent)
, possibleProperty "colspecs" "column alignments and widths"
@@ -373,7 +375,7 @@
let attr = fromMaybe nullAttr mattr
in return $! attr `seq` capt `seq` colspecs `seq` thead `seq` tbodies
`seq` tfoot `seq` Table attr capt colspecs thead tbodies tfoot)
- <#> parameter peekCaption "Caption" "caption" "table caption"
+ <#> parameter peekCaptionFuzzy "Caption" "caption" "table caption"
<#> parameter (peekList peekColSpec) "{ColSpec,...}" "colspecs"
"column alignments and widths"
<#> parameter peekTableHead "TableHead" "head" "table head"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Cell.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Cell.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Cell.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Cell.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE LambdaCase #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Citation.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Citation.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Citation.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Citation.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/CitationMode.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/CitationMode.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/CitationMode.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/CitationMode.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Content.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Content.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Content.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Content.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Filter.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Filter.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Filter.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Filter.hs 2001-09-09 03:46:40.000000000 +0200
@@ -3,7 +3,7 @@
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE ScopedTypeVariables #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Format.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Format.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Format.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Format.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Inline.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Inline.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Inline.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Inline.hs 2001-09-09 03:46:40.000000000 +0200
@@ -25,7 +25,7 @@
, walkInlinesStraight
) where
-import Control.Applicative (optional)
+import Control.Applicative ((<|>), optional)
import Control.Monad.Catch (throwM)
import Control.Monad ((<$!>))
import Data.Data (showConstr, toConstr)
@@ -93,10 +93,10 @@
=> Peeker e [Inline]
peekInlinesFuzzy idx = liftLua (ltype idx) >>= \case
TypeString -> B.toList . B.text <$> peekText idx
- _ -> choice
- [ peekList peekInlineFuzzy
- , fmap pure . peekInlineFuzzy
- ] idx
+ _ -> peekList peekInlineFuzzy idx
+ <|> (pure <$> peekInlineFuzzy idx)
+ <|> (failPeek =<<
+ typeMismatchMessage "Inline, list of Inlines, or string" idx)
{-# INLINABLE peekInlinesFuzzy #-}
-- | Inline object type.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Inline.hs-boot new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Inline.hs-boot
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Inline.hs-boot 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Inline.hs-boot 2001-09-09 03:46:40.000000000 +0200
@@ -1,9 +1,4 @@
{-# LANGUAGE FlexibleContexts #-}
-{-# LANGUAGE LambdaCase #-}
-{-# LANGUAGE OverloadedStrings #-}
-{-# LANGUAGE ScopedTypeVariables #-}
-{-# LANGUAGE TypeApplications #-}
-{-# LANGUAGE TupleSections #-}
module Text.Pandoc.Lua.Marshal.Inline
( -- * Single Inline elements
peekInline
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/List.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/List.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/List.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/List.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/ListAttributes.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/ListAttributes.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/ListAttributes.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/ListAttributes.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TupleSections #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/MathType.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/MathType.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/MathType.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/MathType.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/MetaValue.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/MetaValue.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/MetaValue.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/MetaValue.hs 2001-09-09 03:46:40.000000000 +0200
@@ -3,7 +3,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Pandoc.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Pandoc.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Pandoc.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Pandoc.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
@@ -20,12 +20,10 @@
) where
import Control.Applicative (optional)
-import Control.Monad ((<$!>), (>=>))
+import Control.Monad ((<$!>))
import Data.Maybe (fromMaybe)
import HsLua
-import Text.Pandoc.Lua.Marshal.Block
- (peekBlocksFuzzy, pushBlocks, walkBlockSplicing, walkBlocksStraight)
-import Text.Pandoc.Lua.Marshal.Inline (walkInlineSplicing, walkInlinesStraight)
+import Text.Pandoc.Lua.Marshal.Block (peekBlocksFuzzy, pushBlocks)
import Text.Pandoc.Lua.Marshal.Filter
import Text.Pandoc.Lua.Marshal.MetaValue (peekMetaValue, pushMetaValue)
import Text.Pandoc.Lua.Marshal.Shared (walkBlocksAndInlines)
@@ -43,7 +41,12 @@
-- | Pandoc object type.
typePandoc :: LuaError e => DocumentedType e Pandoc
typePandoc = deftype "Pandoc"
- [ operation Eq $ defun "__eq"
+ [ operation Concat $ lambda
+ ### liftPure2 (<>)
+ <#> parameter peekPandoc "Pandoc" "a" ""
+ <#> parameter peekPandoc "Pandoc" "b" ""
+ =#> functionResult pushPandoc "Pandoc" "combined documents"
+ , operation Eq $ defun "__eq"
### liftPure2 (\a b -> fromMaybe False ((==) <$> a <*> b))
<#> parameter (optional . peekPandoc) "doc1" "pandoc" ""
<#> parameter (optional . peekPandoc) "doc2" "pandoc" ""
@@ -60,14 +63,13 @@
(pushMeta, \(Pandoc meta _) -> meta)
(peekMeta, \(Pandoc _ blks) meta -> Pandoc meta blks)
+ , method $ defun "clone"
+ ### return
+ <#> parameter peekPandoc "Pandoc" "doc" "self"
+ =#> functionResult pushPandoc "Pandoc" "cloned Pandoc document"
+
, method $ defun "walk"
- ### (\doc filter' -> case filterWalkingOrder filter' of
- WalkForEachType -> walkBlocksAndInlines filter' doc
- >>= applyMetaFunction filter'
- >>= applyPandocFunction filter'
- WalkTopdown -> applyPandocFunction filter' doc
- >>= applyMetaFunction filter'
- >>= walkBlocksAndInlines filter')
+ ### flip applyFully
<#> parameter peekPandoc "Pandoc" "self" ""
<#> parameter peekFilter "Filter" "lua_filter" "table of filter functions"
=#> functionResult pushPandoc "Pandoc" "modified element"
@@ -134,10 +136,10 @@
applyFully :: LuaError e
=> Filter
-> Pandoc -> LuaE e Pandoc
-applyFully filter' =
- walkInlineSplicing filter'
- >=> walkInlinesStraight filter'
- >=> walkBlockSplicing filter'
- >=> walkBlocksStraight filter'
- >=> applyMetaFunction filter'
- >=> applyPandocFunction filter'
+applyFully filter' doc = case filterWalkingOrder filter' of
+ WalkForEachType -> walkBlocksAndInlines filter' doc
+ >>= applyMetaFunction filter'
+ >>= applyPandocFunction filter'
+ WalkTopdown -> applyPandocFunction filter' doc
+ >>= applyMetaFunction filter'
+ >>= walkBlocksAndInlines filter'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/QuoteType.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/QuoteType.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/QuoteType.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/QuoteType.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Row.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Row.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Row.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Row.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE LambdaCase #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Shared.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Shared.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/Shared.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/Shared.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE OverloadedStrings #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/SimpleTable.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/SimpleTable.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/SimpleTable.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/SimpleTable.hs 2001-09-09 03:46:40.000000000 +0200
@@ -2,7 +2,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <albert(a)zeitkraut.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/TableFoot.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/TableFoot.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/TableFoot.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/TableFoot.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/TableHead.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/TableHead.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/TableHead.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/TableHead.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/TableParts.hs new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/TableParts.hs
--- old/pandoc-lua-marshal-0.1.5/src/Text/Pandoc/Lua/Marshal/TableParts.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/src/Text/Pandoc/Lua/Marshal/TableParts.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{- |
-Copyright : �� 2021 Albert Krewinkel
+Copyright : �� 2021-2022 Albert Krewinkel
SPDX-License-Identifier : MIT
Maintainer : Albert Krewinkel <tarleb+pandoc(a)moltkeplatz.de>
@@ -10,6 +10,7 @@
-}
module Text.Pandoc.Lua.Marshal.TableParts
( peekCaption
+ , peekCaptionFuzzy
, pushCaption
, peekColSpec
, pushColSpec
@@ -28,7 +29,7 @@
, mkTableHead
) where
-import Control.Applicative (optional)
+import Control.Applicative ((<|>), optional)
import Control.Monad ((<$!>))
import HsLua
import Text.Pandoc.Lua.Marshal.Alignment (peekAlignment, pushAlignment)
@@ -52,11 +53,18 @@
-- | Peek Caption element
peekCaption :: LuaError e => Peeker e Caption
-peekCaption = retrieving "Caption" . \idx -> do
+peekCaption idx = do
short <- optional $ peekFieldRaw peekInlinesFuzzy "short" idx
long <- peekFieldRaw peekBlocksFuzzy "long" idx
return $! Caption short long
+peekCaptionFuzzy :: LuaError e => Peeker e Caption
+peekCaptionFuzzy = retrieving "Caption" . \idx -> do
+ peekCaption idx
+ <|> (Caption Nothing <$!> peekBlocksFuzzy idx)
+ <|> (failPeek =<<
+ typeMismatchMessage "Caption, list of Blocks, or compatible element" idx)
+
-- | Push a ColSpec value as a pair of Alignment and ColWidth.
pushColSpec :: LuaError e => Pusher e ColSpec
pushColSpec = pushPair pushAlignment pushColWidth
@@ -99,7 +107,7 @@
-- | Add a value to the table at the top of the stack at a string-index.
addField :: LuaError e => Name -> LuaE e () -> LuaE e ()
-addField key pushValue = do
+addField key pushFieldValue = do
pushName key
- pushValue
+ pushFieldValue
rawset (nth 3)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/test/test-block.lua new/pandoc-lua-marshal-0.1.7/test/test-block.lua
--- old/pandoc-lua-marshal-0.1.5/test/test-block.lua 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/test/test-block.lua 2001-09-09 03:46:40.000000000 +0200
@@ -319,7 +319,23 @@
Table({long = {}}, {}, TableHead(), {}, new_foot),
tbl
)
- end)
+ end),
+ test('caption field accepts list of blocks', function ()
+ local caption = {long = {Plain 'cap'}}
+ local tbl = Table(caption, {}, TableHead(), {}, TableFoot())
+ assert.are_same(tbl.caption, {long = {Plain 'cap'}})
+
+ tbl.caption = {Plain 'extended'}
+
+ local new_caption = {
+ short = nil,
+ long = {Plain 'extended'}
+ }
+ assert.are_equal(
+ Table(new_caption, {}, TableHead(), {}, TableFoot()),
+ tbl
+ )
+ end),
},
},
group "Blocks" {
@@ -349,6 +365,12 @@
{'Header', 'CodeBlock'}
)
end),
+ test('gives sensible error message', function ()
+ assert.error_matches(
+ function() Blocks(nil) end,
+ 'Block, list of Blocks, or compatible element expected'
+ )
+ end)
},
group 'walk' {
test('modifies Inline subelements', function ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/test/test-inline.lua new/pandoc-lua-marshal-0.1.7/test/test-inline.lua
--- old/pandoc-lua-marshal-0.1.5/test/test-inline.lua 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/test/test-inline.lua 2001-09-09 03:46:40.000000000 +0200
@@ -318,6 +318,12 @@
{'Str', 'Space', 'Str'}
)
end),
+ test('gives sensible error message', function ()
+ assert.error_matches(
+ function() Inlines(nil) end,
+ "Inline, list of Inlines, or string"
+ )
+ end)
},
group 'walk' {
test('modifies Inline subelements', function ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pandoc-lua-marshal-0.1.5/test/test-pandoc.lua new/pandoc-lua-marshal-0.1.7/test/test-pandoc.lua
--- old/pandoc-lua-marshal-0.1.5/test/test-pandoc.lua 2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.1.7/test/test-pandoc.lua 2001-09-09 03:46:40.000000000 +0200
@@ -35,6 +35,31 @@
assert.are_same(meta.zahlen, {'eins', 'zwei', 'drei'})
end),
},
+ group 'operations' {
+ test('concatenation', function ()
+ local doc1 = Pandoc({Para 'Lovely'}, {title='first'})
+ local doc2 = Pandoc({Para 'Day'}, {title='second'})
+ assert.are_equal(
+ Pandoc({Para 'Lovely', Para 'Day'}, {title='second'}),
+ doc1 .. doc2
+ )
+ end)
+ },
+ group 'clone' {
+ test('cloned value is equal to original', function ()
+ local doc = Pandoc({'test'}, {foo = 'hi'})
+ assert.are_same(doc, doc:clone())
+ end),
+ test('changing the clone does not affect original', function ()
+ local orig = Pandoc({'test'}, {foo = 'hi'})
+ local copy = orig:clone()
+
+ copy.blocks[1] = Plain 'different'
+ assert.are_same(orig.meta, copy.meta)
+ assert.are_same(Blocks{'test'}, orig.blocks)
+ assert.are_same(Blocks{'different'}, copy.blocks)
+ end),
+ },
group 'walk' {
test('uses `Meta` function', function ()
local meta = {
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package hledger-ui for openSUSE:Factory checked in at 2022-08-01 21:31:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hledger-ui (Old)
and /work/SRC/openSUSE:Factory/.hledger-ui.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hledger-ui"
Mon Aug 1 21:31:37 2022 rev:15 rq:990795 version:1.26.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/hledger-ui/hledger-ui.changes 2022-02-11 23:12:07.639417611 +0100
+++ /work/SRC/openSUSE:Factory/.hledger-ui.new.1533/hledger-ui.changes 2022-08-01 21:32:22.553996769 +0200
@@ -1,0 +2,27 @@
+Mon Jul 11 09:36:25 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hledger-ui to version 1.26.1.
+ Upstream's change log file format is strange (too much unmodified
+ text at at the top). The automatic updater cannot extract the
+ relevant additions. You can find the file at:
+ http://hackage.haskell.org/package/hledger-ui-1.26.1/src/CHANGES.md
+
+-------------------------------------------------------------------
+Fri Jun 10 05:49:36 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hledger-ui to version 1.26 revision 1.
+ Upstream's change log file format is strange (too much unmodified
+ text at at the top). The automatic updater cannot extract the
+ relevant additions. You can find the file at:
+ http://hackage.haskell.org/package/hledger-ui-1.26/src/CHANGES.md
+
+-------------------------------------------------------------------
+Sat Mar 5 06:11:23 UTC 2022 - Peter Simons <psimons(a)suse.com>
+
+- Update hledger-ui to version 1.25.
+ Upstream's change log file format is strange (too much unmodified
+ text at at the top). The automatic updater cannot extract the
+ relevant additions. You can find the file at:
+ http://hackage.haskell.org/package/hledger-ui-1.25/src/CHANGES.md
+
+-------------------------------------------------------------------
Old:
----
hledger-ui-1.24.99.tar.gz
New:
----
hledger-ui-1.26.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hledger-ui.spec ++++++
--- /var/tmp/diff_new_pack.OhRb3Q/_old 2022-08-01 21:32:23.041998169 +0200
+++ /var/tmp/diff_new_pack.OhRb3Q/_new 2022-08-01 21:32:23.049998192 +0200
@@ -1,7 +1,7 @@
#
# spec file for package hledger-ui
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: hledger-ui
-Version: 1.24.99
+Version: 1.26.1
Release: 0
Summary: Curses-style terminal interface for the hledger accounting system
License: GPL-3.0-or-later
@@ -40,6 +40,7 @@
BuildRequires: ghc-megaparsec-devel
BuildRequires: ghc-microlens-devel
BuildRequires: ghc-microlens-platform-devel
+BuildRequires: ghc-mtl-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-safe-devel
++++++ hledger-ui-1.24.99.tar.gz -> hledger-ui-1.26.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.24.99/CHANGES.md new/hledger-ui-1.26.1/CHANGES.md
--- old/hledger-ui-1.24.99/CHANGES.md 2021-12-10 23:51:33.000000000 +0100
+++ new/hledger-ui-1.26.1/CHANGES.md 2022-07-11 07:36:30.000000000 +0200
@@ -9,7 +9,19 @@
User-visible changes in hledger-ui.
See also the hledger changelog.
-# a98e6125f
+# 1.26.1 2022-07-11
+
+- support doclayout 0.4, brick 0.72+
+
+- require safe 0.3.19+ to avoid deprecation warning
+
+# 1.26 2022-06-04
+
+- Uses hledger 1.26.
+
+# 1.25 2022-03-04
+
+- Uses hledger 1.25.
# 1.24.1 2021-12-10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.24.99/Hledger/UI/AccountsScreen.hs new/hledger-ui-1.26.1/Hledger/UI/AccountsScreen.hs
--- old/hledger-ui-1.24.99/Hledger/UI/AccountsScreen.hs 2021-12-10 23:51:33.000000000 +0100
+++ new/hledger-ui-1.26.1/Hledger/UI/AccountsScreen.hs 2022-07-11 07:29:35.000000000 +0200
@@ -1,5 +1,6 @@
-- The accounts screen, showing accounts and balances like the CLI balance command.
+{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
@@ -254,8 +255,15 @@
where s = chomp $ unlines $ map strip $ getEditContents ed
VtyEvent (EvKey (KChar 'l') [MCtrl]) -> redraw ui
VtyEvent (EvKey (KChar 'z') [MCtrl]) -> suspend ui
- VtyEvent ev -> do ed' <- handleEditorEvent ev ed
- continue $ ui{aMode=Minibuffer "filter" ed'}
+ VtyEvent ev -> do
+ ed' <- handleEditorEvent
+#if MIN_VERSION_brick(0,72,0)
+ (VtyEvent ev)
+#else
+ ev
+#endif
+ ed
+ continue $ ui{aMode=Minibuffer "filter" ed'}
AppEvent _ -> continue ui
MouseDown{} -> continue ui
MouseUp{} -> continue ui
@@ -285,7 +293,7 @@
VtyEvent (EvKey (KChar 'a') []) -> suspendAndResume $ clearScreen >> setCursorPosition 0 0 >> add copts j >> uiReloadJournalIfChanged copts d j ui
VtyEvent (EvKey (KChar 'A') []) -> suspendAndResume $ void (runIadd (journalFilePath j)) >> uiReloadJournalIfChanged copts d j ui
VtyEvent (EvKey (KChar 'E') []) -> suspendAndResume $ void (runEditor endPosition (journalFilePath j)) >> uiReloadJournalIfChanged copts d j ui
- VtyEvent (EvKey (KChar 'B') []) -> continue $ regenerateScreens j d $ toggleCost ui
+ VtyEvent (EvKey (KChar 'B') []) -> continue $ regenerateScreens j d $ toggleConversionOp ui
VtyEvent (EvKey (KChar 'V') []) -> continue $ regenerateScreens j d $ toggleValue ui
VtyEvent (EvKey (KChar '0') []) -> continue $ regenerateScreens j d $ setDepth (Just 0) ui
VtyEvent (EvKey (KChar '1') []) -> continue $ regenerateScreens j d $ setDepth (Just 1) ui
@@ -395,4 +403,4 @@
scrollSelectionToMiddle $ _asList $ aScreen ui
continue ui
-asListSize = V.length . V.takeWhile ((/="").asItemAccountName) . listElements
\ No newline at end of file
+asListSize = V.length . V.takeWhile ((/="").asItemAccountName) . listElements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.24.99/Hledger/UI/ErrorScreen.hs new/hledger-ui-1.26.1/Hledger/UI/ErrorScreen.hs
--- old/hledger-ui-1.24.99/Hledger/UI/ErrorScreen.hs 2021-11-15 02:28:41.000000000 +0100
+++ new/hledger-ui-1.26.1/Hledger/UI/ErrorScreen.hs 2022-06-07 00:23:36.000000000 +0200
@@ -3,6 +3,7 @@
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
+{-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
module Hledger.UI.ErrorScreen
(errorScreen
@@ -15,7 +16,7 @@
import Brick
-- import Brick.Widgets.Border ("border")
import Control.Monad
-import Control.Monad.IO.Class (liftIO)
+import Control.Monad.Except (liftIO)
import Data.Time.Calendar (Day)
import Data.Void (Void)
import Graphics.Vty (Event(..),Key(..),Modifier(..))
@@ -155,26 +156,32 @@
uiReloadJournal copts d ui = do
ej <-
let copts' = enableForecastPreservingPeriod ui copts
- in journalReload copts'
+ in runExceptT $ journalReload copts'
return $ case ej of
Right j -> regenerateScreens j d ui
Left err ->
case ui of
UIState{aScreen=s@ErrorScreen{}} -> ui{aScreen=s{esError=err}}
_ -> screenEnter d errorScreen{esError=err} ui
+ -- XXX GHC 9.2 warning:
+ -- hledger-ui/Hledger/UI/ErrorScreen.hs:164:59: warning: [-Wincomplete-record-updates]
+ -- Pattern match(es) are non-exhaustive
+ -- In a record-update construct:
+ -- Patterns of type ���Screen��� not matched:
+ -- AccountsScreen _ _ _ _ _
+ -- RegisterScreen _ _ _ _ _ _
+ -- TransactionScreen _ _ _ _ _ _
-- | Like uiReloadJournal, but does not re-parse the journal if the file(s)
-- have not changed since last loaded. Always regenerates the screens though,
-- since the provided options or today-date may have changed.
uiReloadJournalIfChanged :: CliOpts -> Day -> Journal -> UIState -> IO UIState
uiReloadJournalIfChanged copts d j ui = do
- (ej, _changed) <-
- let copts' = enableForecastPreservingPeriod ui copts
- in journalReloadIfChanged copts' d j
+ let copts' = enableForecastPreservingPeriod ui copts
+ ej <- runExceptT $ journalReloadIfChanged copts' d j
return $ case ej of
- Right j' -> regenerateScreens j' d ui
- Left err ->
- case ui of
+ Right (j', _) -> regenerateScreens j' d ui
+ Left err -> case ui of
UIState{aScreen=s@ErrorScreen{}} -> ui{aScreen=s{esError=err}}
_ -> screenEnter d errorScreen{esError=err} ui
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.24.99/Hledger/UI/RegisterScreen.hs new/hledger-ui-1.26.1/Hledger/UI/RegisterScreen.hs
--- old/hledger-ui-1.24.99/Hledger/UI/RegisterScreen.hs 2021-12-09 04:19:25.000000000 +0100
+++ new/hledger-ui-1.26.1/Hledger/UI/RegisterScreen.hs 2022-07-11 07:29:35.000000000 +0200
@@ -1,9 +1,11 @@
-- The account register screen, showing transactions in an account, like hledger-web's register.
+{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE NamedFieldPuns #-}
+{-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
module Hledger.UI.RegisterScreen
(registerScreen
@@ -69,6 +71,8 @@
ropts' = ropts {
-- ignore any depth limit, as in postingsReport; allows register's total to match accounts screen
depth_=Nothing
+ -- do not strip prices so we can toggle costs within the ui
+ , show_costs_=True
-- XXX aregister also has this, needed ?
-- always show historical balance
-- , balanceaccum_= Historical
@@ -299,8 +303,15 @@
-- VtyEvent (EvKey (KChar '/') []) -> continue $ regenerateScreens j d $ showMinibuffer ui
VtyEvent (EvKey (KChar 'l') [MCtrl]) -> redraw ui
VtyEvent (EvKey (KChar 'z') [MCtrl]) -> suspend ui
- VtyEvent ev -> do ed' <- handleEditorEvent ev ed
- continue $ ui{aMode=Minibuffer "filter" ed'}
+ VtyEvent ev -> do
+ ed' <- handleEditorEvent
+#if MIN_VERSION_brick(0,72,0)
+ (VtyEvent ev)
+#else
+ ev
+#endif
+ ed
+ continue $ ui{aMode=Minibuffer "filter" ed'}
AppEvent _ -> continue ui
MouseDown{} -> continue ui
MouseUp{} -> continue ui
@@ -335,7 +346,7 @@
rsItemTransaction=Transaction{tsourcepos=(SourcePos f l c,_)}}) -> (Just (unPos l, Just $ unPos c),f)
-- display mode/query toggles
- VtyEvent (EvKey (KChar 'B') []) -> rsCenterAndContinue $ regenerateScreens j d $ toggleCost ui
+ VtyEvent (EvKey (KChar 'B') []) -> rsCenterAndContinue $ regenerateScreens j d $ toggleConversionOp ui
VtyEvent (EvKey (KChar 'V') []) -> rsCenterAndContinue $ regenerateScreens j d $ toggleValue ui
VtyEvent (EvKey (KChar 'H') []) -> rsCenterAndContinue $ regenerateScreens j d $ toggleHistorical ui
VtyEvent (EvKey (KChar 't') []) -> rsCenterAndContinue $ regenerateScreens j d $ toggleTree ui
@@ -420,4 +431,4 @@
scrollSelectionToMiddle $ rsList $ aScreen ui
continue ui
-rsListSize = V.length . V.takeWhile ((/="").rsItemDate) . listElements
\ No newline at end of file
+rsListSize = V.length . V.takeWhile ((/="").rsItemDate) . listElements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.24.99/Hledger/UI/TransactionScreen.hs new/hledger-ui-1.26.1/Hledger/UI/TransactionScreen.hs
--- old/hledger-ui-1.24.99/Hledger/UI/TransactionScreen.hs 2021-12-09 04:26:46.000000000 +0100
+++ new/hledger-ui-1.26.1/Hledger/UI/TransactionScreen.hs 2022-06-07 00:23:36.000000000 +0200
@@ -3,13 +3,14 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TupleSections #-}
+{-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
module Hledger.UI.TransactionScreen
( transactionScreen
) where
import Control.Monad
-import Control.Monad.IO.Class (liftIO)
+import Control.Monad.Except (liftIO)
import Data.List
import Data.Maybe
import qualified Data.Text as T
@@ -63,12 +64,10 @@
-- Render a transaction suitably for the transaction screen.
showTxn :: ReportOpts -> ReportSpec -> Journal -> Transaction -> T.Text
showTxn ropts rspec j t =
- showTransactionOneLineAmounts
- $ maybe id (transactionApplyValuation prices styles periodlast (_rsDay rspec)) (value_ ropts)
- $ case cost_ ropts of
- Cost -> transactionToCost styles t
- NoCost -> t
- -- (if real_ ropts then filterTransactionPostings (Real True) else id) -- filter postings by --real
+ showTransactionOneLineAmounts
+ $ maybe id (transactionApplyValuation prices styles periodlast (_rsDay rspec)) (value_ ropts)
+ $ maybe id (transactionToCost styles) (conversionop_ ropts) t
+ -- (if real_ ropts then filterTransactionPostings (Real True) else id) -- filter postings by --real
where
prices = journalPriceOracle (infer_prices_ ropts) j
styles = journalCommodityStyles j
@@ -97,9 +96,9 @@
-- XXX would like to shrink the editor to the size of the entry,
-- so handler can more easily detect clicks below it
- txneditor =
- renderEditor (vBox . map txt) False $
- editorText TransactionEditor Nothing $
+ txneditor =
+ renderEditor (vBox . map txt) False $
+ editorText TransactionEditor Nothing $
showTxn ropts rspec j t
toplabel =
@@ -176,7 +175,7 @@
p = reportPeriod ui
e | e `elem` [VtyEvent (EvKey (KChar 'g') []), AppEvent FileChange] -> do
-- plog (if e == AppEvent FileChange then "file change" else "manual reload") "" `seq` return ()
- ej <- liftIO $ journalReload copts
+ ej <- liftIO . runExceptT $ journalReload copts
case ej of
Left err -> continue $ screenEnter d errorScreen{esError=err} ui
Right j' -> continue $ regenerateScreens j' d ui
@@ -187,7 +186,7 @@
-- EvKey (KChar 'E') [] -> continue $ regenerateScreens j d $ stToggleEmpty ui
-- EvKey (KChar 'C') [] -> continue $ regenerateScreens j d $ stToggleCleared ui
-- EvKey (KChar 'R') [] -> continue $ regenerateScreens j d $ stToggleReal ui
- VtyEvent (EvKey (KChar 'B') []) -> continue . regenerateScreens j d $ toggleCost ui
+ VtyEvent (EvKey (KChar 'B') []) -> continue . regenerateScreens j d $ toggleConversionOp ui
VtyEvent (EvKey (KChar 'V') []) -> continue . regenerateScreens j d $ toggleValue ui
VtyEvent e | e `elem` moveUpEvents -> continue $ tsSelect iprev tprev ui
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.24.99/Hledger/UI/UIState.hs new/hledger-ui-1.26.1/Hledger/UI/UIState.hs
--- old/hledger-ui-1.24.99/Hledger/UI/UIState.hs 2021-12-09 04:26:46.000000000 +0100
+++ new/hledger-ui-1.26.1/Hledger/UI/UIState.hs 2022-02-06 08:28:53.000000000 +0100
@@ -97,11 +97,12 @@
toggleEmpty = over empty__ not
-- | Toggle between showing the primary amounts or costs.
-toggleCost :: UIState -> UIState
-toggleCost = over cost toggleCostMode
+toggleConversionOp :: UIState -> UIState
+toggleConversionOp = over conversionop toggleCostMode
where
- toggleCostMode Cost = NoCost
- toggleCostMode NoCost = Cost
+ toggleCostMode Nothing = Just ToCost
+ toggleCostMode (Just NoConversionOp) = Just ToCost
+ toggleCostMode (Just ToCost) = Just NoConversionOp
-- | Toggle between showing primary amounts or default valuation.
toggleValue :: UIState -> UIState
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.24.99/hledger-ui.1 new/hledger-ui-1.26.1/hledger-ui.1
--- old/hledger-ui-1.24.99/hledger-ui.1 2021-12-10 23:51:33.000000000 +0100
+++ new/hledger-ui-1.26.1/hledger-ui.1 2022-07-11 07:33:22.000000000 +0200
@@ -1,5 +1,5 @@
-.TH "HLEDGER-UI" "1" "December 2021" "hledger-ui-1.24.99 " "hledger User Manuals"
+.TH "HLEDGER-UI" "1" "July 2022" "hledger-ui-1.26.1 " "hledger User Manuals"
@@ -7,7 +7,7 @@
.PP
hledger-ui is a terminal interface (TUI) for the hledger accounting
tool.
-This manual is for hledger-ui 1.24.99.
+This manual is for hledger-ui 1.26.1.
.SH SYNOPSIS
.PP
\f[C]hledger-ui [OPTIONS] [QUERYARGS]\f[R]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.24.99/hledger-ui.cabal new/hledger-ui-1.26.1/hledger-ui.cabal
--- old/hledger-ui-1.24.99/hledger-ui.cabal 2021-12-10 23:51:33.000000000 +0100
+++ new/hledger-ui-1.26.1/hledger-ui.cabal 2022-07-11 07:33:11.000000000 +0200
@@ -5,7 +5,7 @@
-- see: https://github.com/sol/hpack
name: hledger-ui
-version: 1.24.99
+version: 1.26.1
synopsis: Curses-style terminal interface for the hledger accounting system
description: A simple curses-style terminal user interface for the hledger accounting system.
It can be a more convenient way to browse your accounts than the CLI.
@@ -62,8 +62,8 @@
Paths_hledger_ui
hs-source-dirs:
./
- ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
- cpp-options: -DVERSION="1.24.99"
+ ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-name-shadowing -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind
+ cpp-options: -DVERSION="1.26.1"
build-depends:
ansi-terminal >=0.9
, async
@@ -73,17 +73,18 @@
, containers >=0.5.9
, data-default
, directory
- , doclayout ==0.3.*
+ , doclayout >=0.3 && <0.5
, extra >=1.6.3
, filepath
, fsnotify >=0.2.1.2 && <0.4
- , hledger >=1.24.99 && <1.25
- , hledger-lib >=1.24.99 && <1.25
+ , hledger >=1.26.1 && <1.27
+ , hledger-lib >=1.26.1 && <1.27
, megaparsec >=7.0.0 && <9.3
, microlens >=0.4
, microlens-platform >=0.2.3.1
+ , mtl >=2.2.1
, process >=1.2
- , safe >=0.2
+ , safe >=0.3.19
, split >=0.1
, text >=1.2
, text-zipper >=0.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.24.99/hledger-ui.info new/hledger-ui-1.26.1/hledger-ui.info
--- old/hledger-ui-1.24.99/hledger-ui.info 2021-12-10 23:51:33.000000000 +0100
+++ new/hledger-ui-1.26.1/hledger-ui.info 2022-07-11 07:33:23.000000000 +0200
@@ -12,7 +12,7 @@
*************
hledger-ui is a terminal interface (TUI) for the hledger accounting
-tool. This manual is for hledger-ui 1.24.99.
+tool. This manual is for hledger-ui 1.26.1.
'hledger-ui [OPTIONS] [QUERYARGS]'
'hledger ui -- [OPTIONS] [QUERYARGS]'
@@ -639,34 +639,34 @@
Tag Table:
Node: Top221
-Node: OPTIONS1657
-Ref: #options1755
-Node: MOUSE6637
-Ref: #mouse6732
-Node: KEYS7014
-Ref: #keys7107
-Node: SCREENS11193
-Ref: #screens11291
-Node: Accounts screen11381
-Ref: #accounts-screen11509
-Node: Register screen13848
-Ref: #register-screen14003
-Node: Transaction screen15987
-Ref: #transaction-screen16145
-Node: Error screen17015
-Ref: #error-screen17137
-Node: TIPS17381
-Ref: #tips17480
-Node: Watch mode17532
-Ref: #watch-mode17649
-Node: Watch mode limitations18399
-Ref: #watch-mode-limitations18540
-Node: ENVIRONMENT19676
-Ref: #environment19787
-Node: FILES21095
-Ref: #files21194
-Node: BUGS21407
-Ref: #bugs21484
+Node: OPTIONS1656
+Ref: #options1754
+Node: MOUSE6636
+Ref: #mouse6731
+Node: KEYS7013
+Ref: #keys7106
+Node: SCREENS11192
+Ref: #screens11290
+Node: Accounts screen11380
+Ref: #accounts-screen11508
+Node: Register screen13847
+Ref: #register-screen14002
+Node: Transaction screen15986
+Ref: #transaction-screen16144
+Node: Error screen17014
+Ref: #error-screen17136
+Node: TIPS17380
+Ref: #tips17479
+Node: Watch mode17531
+Ref: #watch-mode17648
+Node: Watch mode limitations18398
+Ref: #watch-mode-limitations18539
+Node: ENVIRONMENT19675
+Ref: #environment19786
+Node: FILES21094
+Ref: #files21193
+Node: BUGS21406
+Ref: #bugs21483
End Tag Table
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.24.99/hledger-ui.txt new/hledger-ui-1.26.1/hledger-ui.txt
--- old/hledger-ui-1.24.99/hledger-ui.txt 2021-12-10 23:51:33.000000000 +0100
+++ new/hledger-ui-1.26.1/hledger-ui.txt 2022-07-11 07:33:27.000000000 +0200
@@ -5,7 +5,7 @@
NAME
hledger-ui is a terminal interface (TUI) for the hledger accounting
- tool. This manual is for hledger-ui 1.24.99.
+ tool. This manual is for hledger-ui 1.26.1.
SYNOPSIS
hledger-ui [OPTIONS] [QUERYARGS]
@@ -548,4 +548,4 @@
-hledger-ui-1.24.99 December 2021 HLEDGER-UI(1)
+hledger-ui-1.26.1 July 2022 HLEDGER-UI(1)
1
0