Hello community, here is the log from the commit of package perl-Log-Dispatchouli for openSUSE:Factory checked in at 2020-08-21 19:17:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Log-Dispatchouli (Old) and /work/SRC/openSUSE:Factory/.perl-Log-Dispatchouli.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Log-Dispatchouli" Fri Aug 21 19:17:34 2020 rev:16 rq:828469 version:2.021 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Log-Dispatchouli/perl-Log-Dispatchouli.changes 2019-07-31 14:31:24.677994280 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Log-Dispatchouli.new.3399/perl-Log-Dispatchouli.changes 2020-08-21 19:18:18.984856866 +0200 @@ -1,0 +2,13 @@ +Thu Aug 13 03:11:49 UTC 2020 - Tina Müller <timueller+p...@suse.de> + +- updated to 2.021 + see /usr/share/doc/packages/perl-Log-Dispatchouli/Changes + + 2.021 2020-08-12 11:48:57-04:00 America/New_York + - add another experimental means to replace how Syslog output is set up + + 2.020 2020-02-06 13:45:44-05:00 America/New_York (TRIAL RELEASE) + - add stdio_dispatcher_class, so you can subclass the Screen dispatcher + for stderr and stdio; this is experimental! + +------------------------------------------------------------------- Old: ---- Log-Dispatchouli-2.019.tar.gz New: ---- Log-Dispatchouli-2.021.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Log-Dispatchouli.spec ++++++ --- /var/tmp/diff_new_pack.E2cwvv/_old 2020-08-21 19:18:21.692858302 +0200 +++ /var/tmp/diff_new_pack.E2cwvv/_new 2020-08-21 19:18:21.696858304 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Log-Dispatchouli # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: perl-Log-Dispatchouli -Version: 2.019 +Version: 2.021 Release: 0 %define cpan_name Log-Dispatchouli Summary: Simple wrapper around Log::Dispatch License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch ++++++ Log-Dispatchouli-2.019.tar.gz -> Log-Dispatchouli-2.021.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatchouli-2.019/Changes new/Log-Dispatchouli-2.021/Changes --- old/Log-Dispatchouli-2.019/Changes 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/Changes 2020-08-12 17:48:59.000000000 +0200 @@ -1,5 +1,12 @@ Revision history for Log-Dispatchouli +2.021 2020-08-12 11:48:57-04:00 America/New_York + - add another experimental means to replace how Syslog output is set up + +2.020 2020-02-06 13:45:44-05:00 America/New_York (TRIAL RELEASE) + - add stdio_dispatcher_class, so you can subclass the Screen dispatcher + for stderr and stdio; this is experimental! + 2.019 2019-07-27 16:13:30-04:00 America/New_York - fix an initialization ordering bug for loggers using stdio diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatchouli-2.019/LICENSE new/Log-Dispatchouli-2.021/LICENSE --- old/Log-Dispatchouli-2.019/LICENSE 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/LICENSE 2020-08-12 17:48:59.000000000 +0200 @@ -1,4 +1,4 @@ -This software is copyright (c) 2019 by Ricardo SIGNES. +This software is copyright (c) 2020 by Ricardo SIGNES. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2019 by Ricardo SIGNES. +This software is Copyright (c) 2020 by Ricardo SIGNES. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2019 by Ricardo SIGNES. +This software is Copyright (c) 2020 by Ricardo SIGNES. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatchouli-2.019/MANIFEST new/Log-Dispatchouli-2.021/MANIFEST --- old/Log-Dispatchouli-2.019/MANIFEST 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/MANIFEST 2020-08-12 17:48:59.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.015. Changes LICENSE MANIFEST diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatchouli-2.019/META.json new/Log-Dispatchouli-2.021/META.json --- old/Log-Dispatchouli-2.019/META.json 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/META.json 2020-08-12 17:48:59.000000000 +0200 @@ -4,7 +4,7 @@ "Ricardo SIGNES <r...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.015, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -79,10 +79,10 @@ "web" : "https://github.com/rjbs/Log-Dispatchouli" } }, - "version" : "2.019", + "version" : "2.021", "x_Dist_Zilla" : { "perl" : { - "version" : "5.026003" + "version" : "5.032000" }, "plugins" : [ { @@ -129,7 +129,7 @@ } }, "name" : "@RJBS/RJBS-Outdated", - "version" : "0.055" + "version" : "0.057" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -144,62 +144,62 @@ } }, "name" : "@RJBS/CPAN-Outdated", - "version" : "0.055" + "version" : "0.057" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@RJBS/@Filter/PruneCruft", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@RJBS/@Filter/ManifestSkip", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@RJBS/@Filter/MetaYAML", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@RJBS/@Filter/License", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@RJBS/@Filter/Readme", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@RJBS/@Filter/ExecDir", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@RJBS/@Filter/ShareDir", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@RJBS/@Filter/Manifest", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@RJBS/@Filter/TestRelease", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@RJBS/@Filter/ConfirmRelease", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@RJBS/@Filter/UploadToCPAN", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -209,12 +209,12 @@ } }, "name" : "@RJBS/MakeMaker", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", @@ -225,7 +225,7 @@ "version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.21.0", + "git_version" : "2.24.3 (Apple Git-128)", "repo_root" : "." } }, @@ -235,22 +235,22 @@ { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -260,7 +260,7 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", @@ -276,7 +276,7 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -411,7 +411,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.21.0", + "git_version" : "2.24.3 (Apple Git-128)", "repo_root" : "." } }, @@ -434,7 +434,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.21.0", + "git_version" : "2.24.3 (Apple Git-128)", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -451,12 +451,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "2.019", + "tag" : "2.021", "tag_format" : "%v", "tag_message" : "v%V" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.21.0", + "git_version" : "2.24.3 (Apple Git-128)", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -477,7 +477,7 @@ "remotes_must_exist" : 0 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.21.0", + "git_version" : "2.24.3 (Apple Git-128)", "repo_root" : "." } }, @@ -488,7 +488,7 @@ "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.21.0", + "git_version" : "2.24.3 (Apple Git-128)", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", @@ -507,57 +507,57 @@ } }, "name" : "Prereqs", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.012" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.012" + "version" : "6.015" } ], "zilla" : { @@ -565,7 +565,7 @@ "config" : { "is_trial" : 0 }, - "version" : "6.012" + "version" : "6.015" } }, "x_contributors" : [ @@ -577,9 +577,11 @@ "Matt Phillips <ma...@cpan.org>", "Olivier Mengu\u00e9 <dol...@cpan.org>", "Randy Stauner <ra...@magnificent-tears.com>", + "Ricardo Signes <rjbs@semiotic.systems>", "Sawyer X <xsawy...@cpan.org>" ], - "x_generated_by_perl" : "v5.26.3", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.12" + "x_generated_by_perl" : "v5.32.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.19", + "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatchouli-2.019/META.yml new/Log-Dispatchouli-2.021/META.yml --- old/Log-Dispatchouli-2.019/META.yml 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/META.yml 2020-08-12 17:48:59.000000000 +0200 @@ -15,7 +15,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.015, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -43,10 +43,10 @@ bugtracker: https://github.com/rjbs/Log-Dispatchouli/issues homepage: https://github.com/rjbs/Log-Dispatchouli repository: https://github.com/rjbs/Log-Dispatchouli.git -version: '2.019' +version: '2.021' x_Dist_Zilla: perl: - version: '5.026003' + version: '5.032000' plugins: - class: Dist::Zilla::Plugin::Git::GatherDir @@ -83,7 +83,7 @@ run_under_travis: 0 skip: [] name: '@RJBS/RJBS-Outdated' - version: '0.055' + version: '0.057' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -95,62 +95,62 @@ run_under_travis: 0 skip: [] name: '@RJBS/CPAN-Outdated' - version: '0.055' + version: '0.057' - class: Dist::Zilla::Plugin::PruneCruft name: '@RJBS/@Filter/PruneCruft' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::ManifestSkip name: '@RJBS/@Filter/ManifestSkip' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::MetaYAML name: '@RJBS/@Filter/MetaYAML' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::License name: '@RJBS/@Filter/License' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::Readme name: '@RJBS/@Filter/Readme' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::ExecDir name: '@RJBS/@Filter/ExecDir' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::ShareDir name: '@RJBS/@Filter/ShareDir' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::Manifest name: '@RJBS/@Filter/Manifest' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::TestRelease name: '@RJBS/@Filter/TestRelease' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@RJBS/@Filter/ConfirmRelease' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@RJBS/@Filter/UploadToCPAN' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: 9 name: '@RJBS/MakeMaker' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::Git::NextVersion config: @@ -159,26 +159,26 @@ version_by_branch: 0 version_regexp: (?^:^([0-9]+\.[0-9]+)$) Dist::Zilla::Role::Git::Repo: - git_version: 2.21.0 + git_version: '2.24.3 (Apple Git-128)' repo_root: . name: '@RJBS/Git::NextVersion' version: '2.046' - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: '@RJBS/Test::ChangesHasContent' @@ -186,7 +186,7 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@RJBS/Test::ReportPrereqs' @@ -198,7 +198,7 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -303,7 +303,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.21.0 + git_version: '2.24.3 (Apple Git-128)' repo_root: . name: '@RJBS/@Git/Check' version: '2.046' @@ -320,7 +320,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.21.0 + git_version: '2.24.3 (Apple Git-128)' repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -333,11 +333,11 @@ branch: ~ changelog: Changes signed: 0 - tag: '2.019' + tag: '2.021' tag_format: '%v' tag_message: v%V Dist::Zilla::Role::Git::Repo: - git_version: 2.21.0 + git_version: '2.24.3 (Apple Git-128)' repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -352,7 +352,7 @@ - 'github :' remotes_must_exist: 0 Dist::Zilla::Role::Git::Repo: - git_version: 2.21.0 + git_version: '2.24.3 (Apple Git-128)' repo_root: . name: '@RJBS/@Git/Push' version: '2.046' @@ -360,7 +360,7 @@ class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.21.0 + git_version: '2.24.3 (Apple Git-128)' include_authors: 0 include_releaser: 1 order_by: name @@ -374,52 +374,52 @@ phase: runtime type: requires name: Prereqs - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.012' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.012' + version: '6.015' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.012' + version: '6.015' x_contributors: - 'Christopher J. Madsen <p...@cjmweb.net>' - 'Dagfinn Ilmari Mannsåker <ilm...@ilmari.org>' @@ -429,6 +429,8 @@ - 'Matt Phillips <ma...@cpan.org>' - 'Olivier Mengué <dol...@cpan.org>' - 'Randy Stauner <ra...@magnificent-tears.com>' + - 'Ricardo Signes <rjbs@semiotic.systems>' - 'Sawyer X <xsawy...@cpan.org>' -x_generated_by_perl: v5.26.3 +x_generated_by_perl: v5.32.0 x_serialization_backend: 'YAML::Tiny version 1.73' +x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatchouli-2.019/Makefile.PL new/Log-Dispatchouli-2.021/Makefile.PL --- old/Log-Dispatchouli-2.019/Makefile.PL 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/Makefile.PL 2020-08-12 17:48:59.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.015. use strict; use warnings; @@ -45,7 +45,7 @@ "base" => 0, "lib" => 0 }, - "VERSION" => "2.019", + "VERSION" => "2.021", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatchouli-2.019/README new/Log-Dispatchouli-2.021/README --- old/Log-Dispatchouli-2.019/README 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/README 2020-08-12 17:48:59.000000000 +0200 @@ -1,12 +1,12 @@ This archive contains the distribution Log-Dispatchouli, -version 2.019: +version 2.021: a simple wrapper around Log::Dispatch -This software is copyright (c) 2019 by Ricardo SIGNES. +This software is copyright (c) 2020 by Ricardo SIGNES. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. -This README file was generated by Dist::Zilla::Plugin::Readme v6.012. +This README file was generated by Dist::Zilla::Plugin::Readme v6.015. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatchouli-2.019/lib/Log/Dispatchouli/Global.pm new/Log-Dispatchouli-2.021/lib/Log/Dispatchouli/Global.pm --- old/Log-Dispatchouli-2.019/lib/Log/Dispatchouli/Global.pm 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/lib/Log/Dispatchouli/Global.pm 2020-08-12 17:48:59.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; package Log::Dispatchouli::Global; # ABSTRACT: a system for sharing a global, dynamically-scoped logger -$Log::Dispatchouli::Global::VERSION = '2.019'; +$Log::Dispatchouli::Global::VERSION = '2.021'; use Carp (); use Log::Dispatchouli; use Scalar::Util (); @@ -280,7 +280,7 @@ =head1 VERSION -version 2.019 +version 2.021 =head1 DESCRIPTION @@ -440,7 +440,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2019 by Ricardo SIGNES. +This software is copyright (c) 2020 by Ricardo SIGNES. 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/Log-Dispatchouli-2.019/lib/Log/Dispatchouli/Proxy.pm new/Log-Dispatchouli-2.021/lib/Log/Dispatchouli/Proxy.pm --- old/Log-Dispatchouli-2.019/lib/Log/Dispatchouli/Proxy.pm 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/lib/Log/Dispatchouli/Proxy.pm 2020-08-12 17:48:59.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; package Log::Dispatchouli::Proxy; # ABSTRACT: a simple wrapper around Log::Dispatch -$Log::Dispatchouli::Proxy::VERSION = '2.019'; +$Log::Dispatchouli::Proxy::VERSION = '2.021'; use Params::Util qw(_ARRAY0 _HASH0); #pod =head1 DESCRIPTION @@ -149,7 +149,7 @@ =head1 VERSION -version 2.019 +version 2.021 =head1 DESCRIPTION @@ -182,7 +182,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2019 by Ricardo SIGNES. +This software is copyright (c) 2020 by Ricardo SIGNES. 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/Log-Dispatchouli-2.019/lib/Log/Dispatchouli.pm new/Log-Dispatchouli-2.021/lib/Log/Dispatchouli.pm --- old/Log-Dispatchouli-2.019/lib/Log/Dispatchouli.pm 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/lib/Log/Dispatchouli.pm 2020-08-12 17:48:59.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; package Log::Dispatchouli; # ABSTRACT: a simple wrapper around Log::Dispatch -$Log::Dispatchouli::VERSION = '2.019'; +$Log::Dispatchouli::VERSION = '2.021'; use Carp (); use File::Spec (); use Log::Dispatch; @@ -149,8 +149,6 @@ my $pid_prefix = exists $arg->{log_pid} ? $arg->{log_pid} : 1; - my $self = bless {} => $class; - my $log = Log::Dispatch->new( $pid_prefix ? ( @@ -161,6 +159,8 @@ : () ); + my $self = bless { dispatcher => $log } => $class; + if ($arg->{to_file}) { require Log::Dispatch::File; my $log_file = File::Spec->catfile( @@ -195,20 +195,10 @@ } if ($arg->{facility} and not $self->env_value('NOSYSLOG')) { - require Log::Dispatch::Syslog; - $log->add( - Log::Dispatch::Syslog->new( - name => 'syslog', - min_level => 'debug', - facility => $arg->{facility}, - ident => $ident, - logopt => 'pid', - socket => $arg->{syslog_socket} || 'native', - callbacks => sub { - ( my $m = {@_}->{message} ) =~ s/\n/<LF>/g; - $m - }, - ), + $self->setup_syslog_output( + facility => $arg->{facility}, + socket => $arg->{syslog_socket}, + ident => $ident, ); } @@ -224,7 +214,6 @@ ); } - $self->{dispatcher} = $log; $self->{prefix} = $arg->{prefix}; $self->{ident} = $ident; $self->{config_id} = $config_id; @@ -251,9 +240,8 @@ my $name = "std$dest"; my $code = sub { return if $_[0]->dispatcher->output($name); - require Log::Dispatch::Screen; $_[0]->dispatcher->add( - Log::Dispatch::Screen->new( + $_[0]->stdio_dispatcher_class->new( name => "std$dest", min_level => 'debug', stderr => ($dest eq 'err' ? 1 : 0), @@ -267,6 +255,26 @@ *{"enable_std$dest"} = $code; } +sub setup_syslog_output { + my ($self, %arg) = @_; + + require Log::Dispatch::Syslog; + $self->{dispatcher}->add( + Log::Dispatch::Syslog->new( + name => 'syslog', + min_level => 'debug', + facility => $arg{facility}, + ident => $arg{ident}, + logopt => 'pid', + socket => $arg{socket} || 'native', + callbacks => sub { + ( my $m = {@_}->{message} ) =~ s/\n/<LF>/g; + $m + }, + ), + ); +} + #pod =method log #pod #pod $logger->log(@messages); @@ -645,6 +653,19 @@ sub dispatcher { $_[0]->{dispatcher} } +#pod =method stdio_dispatcher_class +#pod +#pod This method is an experimental feature to allow you to pick an alternate +#pod dispatch class for stderr and stdio. By default, Log::Dispatch::Screen is +#pod used. B<This feature may go away at any time.> +#pod +#pod =cut + +sub stdio_dispatcher_class { + require Log::Dispatch::Screen; + return 'Log::Dispatch::Screen'; +} + #pod =head1 METHODS FOR API COMPATIBILITY #pod #pod To provide compatibility with some other loggers, most specifically @@ -712,7 +733,7 @@ =head1 VERSION -version 2.019 +version 2.021 =head1 SYNOPSIS @@ -887,6 +908,12 @@ This returns the underlying Log::Dispatch object. This is not the method you're looking for. Move along. +=head2 stdio_dispatcher_class + +This method is an experimental feature to allow you to pick an alternate +dispatch class for stderr and stdio. By default, Log::Dispatch::Screen is +used. B<This feature may go away at any time.> + =head1 LOGGER PREFIX Log messages may be prepended with information to set context. This can be set @@ -1061,7 +1088,7 @@ =head1 CONTRIBUTORS -=for stopwords Christopher J. Madsen Dagfinn Ilmari Mannsåker Dan Book George Hartzell Jon Stuart Matt Phillips Olivier Mengué Randy Stauner Sawyer X +=for stopwords Christopher J. Madsen Dagfinn Ilmari Mannsåker Dan Book George Hartzell Jon Stuart Matt Phillips Olivier Mengué Randy Stauner Ricardo Signes Sawyer X =over 4 @@ -1099,13 +1126,17 @@ =item * +Ricardo Signes <rjbs@semiotic.systems> + +=item * + Sawyer X <xsawy...@cpan.org> =back =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2019 by Ricardo SIGNES. +This software is copyright (c) 2020 by Ricardo SIGNES. 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/Log-Dispatchouli-2.019/xt/release/changes_has_content.t new/Log-Dispatchouli-2.021/xt/release/changes_has_content.t --- old/Log-Dispatchouli-2.019/xt/release/changes_has_content.t 2019-07-27 22:13:33.000000000 +0200 +++ new/Log-Dispatchouli-2.021/xt/release/changes_has_content.t 2020-08-12 17:48:59.000000000 +0200 @@ -2,7 +2,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '2.019'; +my $newver = '2.021'; my $trial_token = '-TRIAL'; my $encoding = 'UTF-8';