commit perl-Minion for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Minion for openSUSE:Factory checked in at 2018-04-26 13:38:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Minion (Old) and /work/SRC/openSUSE:Factory/.perl-Minion.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Minion" Thu Apr 26 13:38:09 2018 rev:43 rq:599900 version:9.03 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Minion/perl-Minion.changes 2018-04-19 15:33:09.402011098 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Minion.new/perl-Minion.changes 2018-04-26 13:38:14.155630323 +0200 @@ -1,0 +2,6 @@ +Sat Apr 21 05:34:30 UTC 2018 - coolo@suse.com + +- updated to 9.03 + see /usr/share/doc/packages/perl-Minion/Changes + +------------------------------------------------------------------- Old: ---- Minion-9.02.tar.gz New: ---- Minion-9.03.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Minion.spec ++++++ --- /var/tmp/diff_new_pack.1BXJ4o/_old 2018-04-26 13:38:14.827605693 +0200 +++ /var/tmp/diff_new_pack.1BXJ4o/_new 2018-04-26 13:38:14.827605693 +0200 @@ -17,7 +17,7 @@ Name: perl-Minion -Version: 9.02 +Version: 9.03 Release: 0 %define cpan_name Minion Summary: Job queue ++++++ Minion-9.02.tar.gz -> Minion-9.03.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.02/Changes new/Minion-9.03/Changes --- old/Minion-9.02/Changes 2018-04-18 10:45:59.000000000 +0200 +++ new/Minion-9.03/Changes 2018-04-19 21:13:54.000000000 +0200 @@ -1,4 +1,9 @@ +9.03 2018-04-19 + - Removed hour value from daily history data. + - Improved 24 hour history graph on Mojolicious::Plugin::Minion::Admin + dashboard to use the local time, consistent with the real-time graph. + 9.02 2018-04-18 - Changed 24 hour history graph on Mojolicious::Plugin::Minion::Admin dashboard to refresh in 10 minute intervals. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.02/META.json new/Minion-9.03/META.json --- old/Minion-9.02/META.json 2018-04-18 10:52:27.000000000 +0200 +++ new/Minion-9.03/META.json 2018-04-20 00:09:34.000000000 +0200 @@ -54,6 +54,6 @@ }, "x_IRC" : "irc://irc.perl.org/#mojo" }, - "version" : "9.02", + "version" : "9.03", "x_serialization_backend" : "JSON::PP version 2.97001" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.02/META.yml new/Minion-9.03/META.yml --- old/Minion-9.02/META.yml 2018-04-18 10:52:27.000000000 +0200 +++ new/Minion-9.03/META.yml 2018-04-20 00:09:34.000000000 +0200 @@ -27,5 +27,5 @@ homepage: http://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/kraih/minion.git -version: '9.02' +version: '9.03' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.02/lib/Minion/Backend/Pg.pm new/Minion-9.03/lib/Minion/Backend/Pg.pm --- old/Minion-9.02/lib/Minion/Backend/Pg.pm 2018-04-18 10:39:39.000000000 +0200 +++ new/Minion-9.03/lib/Minion/Backend/Pg.pm 2018-04-19 21:11:43.000000000 +0200 @@ -54,7 +54,7 @@ my $self = shift; my $daily = $self->pg->db->query( - "select extract(epoch from ts) as epoch, extract(hour from ts) as hour, + "select extract(epoch from ts) as epoch, coalesce(failed_jobs, 0) as failed_jobs, coalesce(finished_jobs, 0) as finished_jobs from ( @@ -502,8 +502,7 @@ =item daily - daily => - [{epoch => 12345, hour => 20, finished_jobs => 95, failed_jobs => 2}, ...] + daily => [{epoch => 12345, finished_jobs => 95, failed_jobs => 2}, ...] Hourly counts for processed jobs from the past day. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.02/lib/Minion/Backend.pm new/Minion-9.03/lib/Minion/Backend.pm --- old/Minion-9.02/lib/Minion/Backend.pm 2018-04-18 10:40:06.000000000 +0200 +++ new/Minion-9.03/lib/Minion/Backend.pm 2018-04-19 21:11:59.000000000 +0200 @@ -243,8 +243,7 @@ =item daily - daily => - [{epoch => 12345, hour => 20, finished_jobs => 95, failed_jobs => 2}, ...] + daily => [{epoch => 12345, finished_jobs => 95, failed_jobs => 2}, ...] Hourly counts for processed jobs from the past day. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.02/lib/Minion.pm new/Minion-9.03/lib/Minion.pm --- old/Minion-9.02/lib/Minion.pm 2018-04-18 10:40:27.000000000 +0200 +++ new/Minion-9.03/lib/Minion.pm 2018-04-19 21:23:41.000000000 +0200 @@ -18,7 +18,7 @@ has remove_after => 172800; has tasks => sub { {} }; -our $VERSION = '9.02'; +our $VERSION = '9.03'; sub add_task { ($_[0]->tasks->{$_[1]} = $_[2]) and return $_[0] } @@ -524,8 +524,7 @@ =item daily - daily => - [{epoch => 12345, hour => 20, finished_jobs => 95, failed_jobs => 2}, ...] + daily => [{epoch => 12345, finished_jobs => 95, failed_jobs => 2}, ...] Hourly counts for processed jobs from the past day. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.02/lib/Mojolicious/Plugin/Minion/resources/templates/minion/dashboard.html.ep new/Minion-9.03/lib/Mojolicious/Plugin/Minion/resources/templates/minion/dashboard.html.ep --- old/Minion-9.02/lib/Mojolicious/Plugin/Minion/resources/templates/minion/dashboard.html.ep 2018-04-18 10:45:00.000000000 +0200 +++ new/Minion-9.03/lib/Mojolicious/Plugin/Minion/resources/templates/minion/dashboard.html.ep 2018-04-19 21:15:58.000000000 +0200 @@ -39,7 +39,7 @@ var historylog = []; for (hour = 0; hour < data.daily.length; hour++) { historylog.push({ - x: data.daily[hour].hour, + x: new Date(data.daily[hour].epoch * 1000).getTime(), y: data.daily[hour].finished_jobs + data.daily[hour].failed_jobs }); } @@ -47,7 +47,7 @@ historychart = $('#history-chart').epoch({ type: 'bar', tickFormats: { - bottom: function (d) { return ('0' + d).slice(-2) + ':00' } + bottom: function (d) { return moment(d).format('HH:00') } }, data: [{ label: 'processed', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.02/t/pg.t new/Minion-9.03/t/pg.t --- old/Minion-9.02/t/pg.t 2018-04-18 10:44:42.000000000 +0200 +++ new/Minion-9.03/t/pg.t 2018-04-19 21:10:46.000000000 +0200 @@ -297,13 +297,9 @@ is $history->{daily}[0]{finished_jobs}, 0, 'no finished jobs 24 hours ago'; is $history->{daily}[0]{failed_jobs}, 0, 'no failed jobs 24 hours ago'; ok defined $history->{daily}[0]{epoch}, 'has epoch value'; -ok defined $history->{daily}[0]{hour}, 'has hour value'; ok defined $history->{daily}[1]{epoch}, 'has epoch value'; -ok defined $history->{daily}[1]{hour}, 'has hour value'; ok defined $history->{daily}[12]{epoch}, 'has epoch value'; -ok defined $history->{daily}[12]{hour}, 'has hour value'; ok defined $history->{daily}[-1]{epoch}, 'has epoch value'; -ok defined $history->{daily}[-1]{hour}, 'has hour value'; $job->remove; # List jobs
participants (1)
-
root@hilbert.suse.de