Hello community,
here is the log from the commit of package perl-Log-Dispatchouli for
openSUSE:Factory checked in at 2019-07-29 17:31:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Log-Dispatchouli (Old)
and /work/SRC/openSUSE:Factory/.perl-Log-Dispatchouli.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Log-Dispatchouli"
Mon Jul 29 17:31:46 2019 rev:14 rq:719526 version:2.018
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Log-Dispatchouli/perl-Log-Dispatchouli.changes
2019-03-14 15:01:31.927693380 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Log-Dispatchouli.new.4126/perl-Log-Dispatchouli.changes
2019-07-29 17:31:47.874142767 +0200
@@ -1,0 +2,10 @@
+Sat Jul 27 05:13:39 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to 2.018
+ see /usr/share/doc/packages/perl-Log-Dispatchouli/Changes
+
+ 2.018 2019-07-26 18:36:56-04:00 America/New_York
+ - add enable_stdout and enable_stderr to, uh, enable stdout and
enable
+ stderr (after initial construction)
+
+-------------------------------------------------------------------
Old:
----
Log-Dispatchouli-2.017.tar.gz
New:
----
Log-Dispatchouli-2.018.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Log-Dispatchouli.spec ++++++
--- /var/tmp/diff_new_pack.nU1Llj/_old 2019-07-29 17:31:48.358142182 +0200
+++ /var/tmp/diff_new_pack.nU1Llj/_new 2019-07-29 17:31:48.358142182 +0200
@@ -17,7 +17,7 @@
Name: perl-Log-Dispatchouli
-Version: 2.017
+Version: 2.018
Release: 0
%define cpan_name Log-Dispatchouli
Summary: Simple wrapper around Log::Dispatch
++++++ Log-Dispatchouli-2.017.tar.gz -> Log-Dispatchouli-2.018.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.017/Changes
new/Log-Dispatchouli-2.018/Changes
--- old/Log-Dispatchouli-2.017/Changes 2019-03-13 02:10:31.000000000 +0100
+++ new/Log-Dispatchouli-2.018/Changes 2019-07-27 00:37:01.000000000 +0200
@@ -1,5 +1,9 @@
Revision history for Log-Dispatchouli
+2.018 2019-07-26 18:36:56-04:00 America/New_York
+ - add enable_stdout and enable_stderr to, uh, enable stdout and enable
+ stderr (after initial construction)
+
2.017 2019-03-12 21:10:26-04:00 America/New_York
- syslog_socket can now be supplied to replace the native socket for
Sys::Syslog (thanks, Jon Stuart!)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.017/META.json
new/Log-Dispatchouli-2.018/META.json
--- old/Log-Dispatchouli-2.017/META.json 2019-03-13 02:10:31.000000000
+0100
+++ new/Log-Dispatchouli-2.018/META.json 2019-07-27 00:37:01.000000000
+0200
@@ -79,7 +79,7 @@
"web" : "https://github.com/rjbs/Log-Dispatchouli"
}
},
- "version" : "2.017",
+ "version" : "2.018",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.026003"
@@ -102,7 +102,7 @@
}
},
"name" : "@RJBS/Git::GatherDir",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
@@ -225,12 +225,12 @@
"version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.21.0",
"repo_root" : "."
}
},
"name" : "@RJBS/Git::NextVersion",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
@@ -411,19 +411,19 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.21.0",
"repo_root" : "."
}
},
"name" : "@RJBS/@Git/Check",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"config" : {
"Dist::Zilla::Plugin::Git::Commit" : {
"add_files_in" : [],
- "commit_msg" : "v%v%n%n%c"
+ "commit_msg" : "v%V%n%n%c"
},
"Dist::Zilla::Role::Git::DirtyFiles" : {
"allow_dirty" : [
@@ -434,7 +434,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.21.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -442,7 +442,7 @@
}
},
"name" : "@RJBS/@Git/Commit",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -451,12 +451,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "2.017",
+ "tag" : "2.018",
"tag_format" : "%v",
- "tag_message" : "v%v"
+ "tag_message" : "v%V"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.21.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -464,7 +464,7 @@
}
},
"name" : "@RJBS/@Git/Tag",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -477,18 +477,18 @@
"remotes_must_exist" : 0
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.21.0",
"repo_root" : "."
}
},
"name" : "@RJBS/@Git/Push",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.21.0",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
@@ -580,6 +580,6 @@
"Sawyer X <[email protected]>"
],
"x_generated_by_perl" : "v5.26.3",
- "x_serialization_backend" : "Cpanel::JSON::XS version 4.09"
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.12"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.017/META.yml
new/Log-Dispatchouli-2.018/META.yml
--- old/Log-Dispatchouli-2.017/META.yml 2019-03-13 02:10:31.000000000 +0100
+++ new/Log-Dispatchouli-2.018/META.yml 2019-07-27 00:37:01.000000000 +0200
@@ -43,7 +43,7 @@
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.017'
+version: '2.018'
x_Dist_Zilla:
perl:
version: '5.026003'
@@ -62,7 +62,7 @@
Dist::Zilla::Plugin::Git::GatherDir:
include_untracked: 0
name: '@RJBS/Git::GatherDir'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
@@ -159,10 +159,10 @@
version_by_branch: 0
version_regexp: (?^:^([0-9]+\.[0-9]+)$)
Dist::Zilla::Role::Git::Repo:
- git_version: 2.20.1
+ git_version: 2.21.0
repo_root: .
name: '@RJBS/Git::NextVersion'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
@@ -303,16 +303,16 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.20.1
+ git_version: 2.21.0
repo_root: .
name: '@RJBS/@Git/Check'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
Dist::Zilla::Plugin::Git::Commit:
add_files_in: []
- commit_msg: v%v%n%n%c
+ commit_msg: v%V%n%n%c
Dist::Zilla::Role::Git::DirtyFiles:
allow_dirty:
- Changes
@@ -320,12 +320,12 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.20.1
+ git_version: 2.21.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@RJBS/@Git/Commit'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
@@ -333,16 +333,16 @@
branch: ~
changelog: Changes
signed: 0
- tag: '2.017'
+ tag: '2.018'
tag_format: '%v'
- tag_message: v%v
+ tag_message: v%V
Dist::Zilla::Role::Git::Repo:
- git_version: 2.20.1
+ git_version: 2.21.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@RJBS/@Git/Tag'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -352,15 +352,15 @@
- 'github :'
remotes_must_exist: 0
Dist::Zilla::Role::Git::Repo:
- git_version: 2.20.1
+ git_version: 2.21.0
repo_root: .
name: '@RJBS/@Git/Push'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- git_version: 2.20.1
+ git_version: 2.21.0
include_authors: 0
include_releaser: 1
order_by: name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.017/Makefile.PL
new/Log-Dispatchouli-2.018/Makefile.PL
--- old/Log-Dispatchouli-2.017/Makefile.PL 2019-03-13 02:10:31.000000000
+0100
+++ new/Log-Dispatchouli-2.018/Makefile.PL 2019-07-27 00:37:01.000000000
+0200
@@ -45,7 +45,7 @@
"base" => 0,
"lib" => 0
},
- "VERSION" => "2.017",
+ "VERSION" => "2.018",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.017/README
new/Log-Dispatchouli-2.018/README
--- old/Log-Dispatchouli-2.017/README 2019-03-13 02:10:31.000000000 +0100
+++ new/Log-Dispatchouli-2.018/README 2019-07-27 00:37:01.000000000 +0200
@@ -1,5 +1,5 @@
This archive contains the distribution Log-Dispatchouli,
-version 2.017:
+version 2.018:
a simple wrapper around Log::Dispatch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Log-Dispatchouli-2.017/lib/Log/Dispatchouli/Global.pm
new/Log-Dispatchouli-2.018/lib/Log/Dispatchouli/Global.pm
--- old/Log-Dispatchouli-2.017/lib/Log/Dispatchouli/Global.pm 2019-03-13
02:10:31.000000000 +0100
+++ new/Log-Dispatchouli-2.018/lib/Log/Dispatchouli/Global.pm 2019-07-27
00:37:01.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.017';
+$Log::Dispatchouli::Global::VERSION = '2.018';
use Carp ();
use Log::Dispatchouli;
use Scalar::Util ();
@@ -280,7 +280,7 @@
=head1 VERSION
-version 2.017
+version 2.018
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.017/lib/Log/Dispatchouli/Proxy.pm
new/Log-Dispatchouli-2.018/lib/Log/Dispatchouli/Proxy.pm
--- old/Log-Dispatchouli-2.017/lib/Log/Dispatchouli/Proxy.pm 2019-03-13
02:10:31.000000000 +0100
+++ new/Log-Dispatchouli-2.018/lib/Log/Dispatchouli/Proxy.pm 2019-07-27
00:37:01.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
package Log::Dispatchouli::Proxy;
# ABSTRACT: a simple wrapper around Log::Dispatch
-$Log::Dispatchouli::Proxy::VERSION = '2.017';
+$Log::Dispatchouli::Proxy::VERSION = '2.018';
use Params::Util qw(_ARRAY0 _HASH0);
#pod =head1 DESCRIPTION
@@ -149,7 +149,7 @@
=head1 VERSION
-version 2.017
+version 2.018
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Log-Dispatchouli-2.017/lib/Log/Dispatchouli.pm
new/Log-Dispatchouli-2.018/lib/Log/Dispatchouli.pm
--- old/Log-Dispatchouli-2.017/lib/Log/Dispatchouli.pm 2019-03-13
02:10:31.000000000 +0100
+++ new/Log-Dispatchouli-2.018/lib/Log/Dispatchouli.pm 2019-07-27
00:37:01.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
package Log::Dispatchouli;
# ABSTRACT: a simple wrapper around Log::Dispatch
-$Log::Dispatchouli::VERSION = '2.017';
+$Log::Dispatchouli::VERSION = '2.018';
use Carp ();
use File::Spec ();
use Log::Dispatch;
@@ -226,16 +226,9 @@
DEST: for my $dest (qw(err out)) {
next DEST unless $arg->{"to_std$dest"};
- require Log::Dispatch::Screen;
- $log->add(
- Log::Dispatch::Screen->new(
- name => "std$dest",
- min_level => 'debug',
- stderr => ($dest eq 'err' ? 1 : 0),
- callbacks => sub { +{@_}->{message} . "\n" },
- ($quiet_fatal{"std$dest"} ? (max_level => 'info') : ()),
- ),
- );
+ my $method = "enable_std$dest";
+
+ $self->$method;
}
$self->{dispatcher} = $log;
@@ -248,11 +241,32 @@
: ($self->env_value('DEBUG') ? 1 : 0);
$self->{muted} = $arg->{muted};
- $self->{fail_fatal} = exists $arg->{fail_fatal} ? $arg->{fail_fatal} : 1;
+ $self->{quiet_fatal} = \%quiet_fatal;
+ $self->{fail_fatal} = exists $arg->{fail_fatal} ? $arg->{fail_fatal} : 1;
return $self;
}
+for my $dest (qw(out err)) {
+ my $name = "std$dest";
+ my $code = sub {
+ return if $_[0]->dispatcher->output($name);
+ require Log::Dispatch::Screen;
+ $_[0]->dispatcher->add(
+ Log::Dispatch::Screen->new(
+ name => "std$dest",
+ min_level => 'debug',
+ stderr => ($dest eq 'err' ? 1 : 0),
+ callbacks => sub { +{@_}->{message} . "\n" },
+ ($_[0]{quiet_fatal}{"std$dest"} ? (max_level => 'info') : ()),
+ ),
+ );
+ };
+
+ no strict 'refs';
+ *{"enable_std$dest"} = $code;
+}
+
#pod =method log
#pod
#pod $logger->log(@messages);
@@ -698,7 +712,7 @@
=head1 VERSION
-version 2.017
+version 2.018
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Log-Dispatchouli-2.017/xt/release/changes_has_content.t
new/Log-Dispatchouli-2.018/xt/release/changes_has_content.t
--- old/Log-Dispatchouli-2.017/xt/release/changes_has_content.t 2019-03-13
02:10:31.000000000 +0100
+++ new/Log-Dispatchouli-2.018/xt/release/changes_has_content.t 2019-07-27
00:37:01.000000000 +0200
@@ -2,7 +2,7 @@
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '2.017';
+my $newver = '2.018';
my $trial_token = '-TRIAL';
my $encoding = 'UTF-8';