Hello community, here is the log from the commit of package perl-Minion for openSUSE:Factory checked in at 2019-05-16 22:08:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Minion (Old) and /work/SRC/openSUSE:Factory/.perl-Minion.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Minion" Thu May 16 22:08:10 2019 rev:47 rq:703144 version:9.10 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Minion/perl-Minion.changes 2019-02-06 14:06:30.098659264 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Minion.new.5148/perl-Minion.changes 2019-05-16 22:08:12.102382859 +0200 @@ -1,0 +2,9 @@ +Tue May 14 05:14:28 UTC 2019 - Stephan Kulow <[email protected]> + +- updated to 9.10 + see /usr/share/doc/packages/perl-Minion/Changes + + 9.10 2019-05-09 + - Fixed a few query parameter bugs in the admin ui. (fskale, sri) + +------------------------------------------------------------------- Old: ---- Minion-9.09.tar.gz New: ---- Minion-9.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Minion.spec ++++++ --- /var/tmp/diff_new_pack.Tf28J3/_old 2019-05-16 22:08:12.622382387 +0200 +++ /var/tmp/diff_new_pack.Tf28J3/_new 2019-05-16 22:08:12.622382387 +0200 @@ -17,7 +17,7 @@ Name: perl-Minion -Version: 9.09 +Version: 9.10 Release: 0 %define cpan_name Minion Summary: Job queue ++++++ Minion-9.09.tar.gz -> Minion-9.10.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.09/Changes new/Minion-9.10/Changes --- old/Minion-9.09/Changes 2019-02-03 15:54:22.000000000 +0100 +++ new/Minion-9.10/Changes 2019-05-09 13:30:06.000000000 +0200 @@ -1,4 +1,7 @@ +9.10 2019-05-09 + - Fixed a few query parameter bugs in the admin ui. (fskale, sri) + 9.09 2019-02-03 - Changed result_p method in Minion to pass along the whole job info hash instead of just the job result. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.09/META.json new/Minion-9.10/META.json --- old/Minion-9.09/META.json 2019-02-03 16:04:49.000000000 +0100 +++ new/Minion-9.10/META.json 2019-05-13 11:55:49.000000000 +0200 @@ -4,7 +4,7 @@ "Sebastian Riedel <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.36, CPAN::Meta::Converter version 2.150010", "license" : [ "artistic_2" ], @@ -54,6 +54,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "9.09", - "x_serialization_backend" : "JSON::PP version 4.00" + "version" : "9.10", + "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.09/META.yml new/Minion-9.10/META.yml --- old/Minion-9.09/META.yml 2019-02-03 16:04:49.000000000 +0100 +++ new/Minion-9.10/META.yml 2019-05-13 11:55:49.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.36, CPAN::Meta::Converter version 2.150010' license: artistic_2 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,5 +27,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/minion.git -version: '9.09' +version: '9.10' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.09/lib/Minion.pm new/Minion-9.10/lib/Minion.pm --- old/Minion-9.09/lib/Minion.pm 2019-02-03 15:54:42.000000000 +0100 +++ new/Minion-9.10/lib/Minion.pm 2019-05-09 13:30:35.000000000 +0200 @@ -22,7 +22,7 @@ has remove_after => 172800; has tasks => sub { {} }; -our $VERSION = '9.09'; +our $VERSION = '9.10'; sub add_task { ($_[0]->tasks->{$_[1]} = $_[2]) and return $_[0] } @@ -249,6 +249,21 @@ $ ./myapp.pl minion worker +The worker process will fork a new process for every job that is being +processed. This allows for resources such as memory to be returned to the +operating system once a job is finished. Perl fork is very fast, so don't worry +about the overhead. + + Minion::Worker + |- Minion::Job [1] + |- Minion::Job [2] + +- ... + +By default up to four jobs will be processed in parallel, but that can be +changed with configuration options or on demand with signals. + + $ ./myapp.pl minion worker -j 12 + Jobs can be managed right from the command line with L<Minion::Command::minion::job>. @@ -925,6 +940,8 @@ Brian Medley +Franz Skale + Hubert "depesz" Lubaczewski Joel Berger diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.09/lib/Mojolicious/Plugin/Minion/resources/templates/minion/_limit.html.ep new/Minion-9.10/lib/Mojolicious/Plugin/Minion/resources/templates/minion/_limit.html.ep --- old/Minion-9.09/lib/Mojolicious/Plugin/Minion/resources/templates/minion/_limit.html.ep 2018-01-25 21:57:21.000000000 +0100 +++ new/Minion-9.10/lib/Mojolicious/Plugin/Minion/resources/templates/minion/_limit.html.ep 2019-05-09 13:26:30.000000000 +0200 @@ -6,7 +6,7 @@ % } % else { <li class="page-item"> - % my $url = url_with->query([limit => $i]); + % my $url = url_with->query({limit => $i}); <a class="page-link" href="<%= $url %>"><%= $i %></a> </li> % } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.09/lib/Mojolicious/Plugin/Minion/resources/templates/minion/_pagination.html.ep new/Minion-9.10/lib/Mojolicious/Plugin/Minion/resources/templates/minion/_pagination.html.ep --- old/Minion-9.09/lib/Mojolicious/Plugin/Minion/resources/templates/minion/_pagination.html.ep 2018-01-25 22:02:17.000000000 +0100 +++ new/Minion-9.10/lib/Mojolicious/Plugin/Minion/resources/templates/minion/_pagination.html.ep 2019-05-09 13:26:30.000000000 +0200 @@ -14,7 +14,7 @@ % } % else { <li class="page-item"> - % my $url = url_with->query([offset => 0]); + % my $url = url_with->query({offset => 0}); <a class="page-link" href="<%= $url %>">First</a> % } </li> @@ -24,7 +24,7 @@ % } % else { <li class="page-item"> - % my $url = url_with->query([offset => $prev_offset]); + % my $url = url_with->query({offset => $prev_offset}); <a class="page-link" href="<%= $url %>">Previous</a> % } </li> @@ -38,7 +38,7 @@ % } % else { <li class="page-item"> - % my $url = url_with->query([offset => ($i - 1) * $limit]); + % my $url = url_with->query({offset => ($i - 1) * $limit}); <a class="page-link" href="<%= $url %>"><%= $i %></a> </li> % } @@ -49,7 +49,7 @@ % } % else { <li class="page-item"> - % my $url = url_with->query([offset => $next_offset]); + % my $url = url_with->query({offset => $next_offset}); <a class="page-link" href="<%= $url %>">Next</a> % } </li> @@ -59,7 +59,7 @@ % } % else { <li class="page-item"> - % my $url = url_with->query([offset => $last_offset]); + % my $url = url_with->query({offset => $last_offset}); <a class="page-link" href="<%= $url %>">Last</a> % } </li> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.09/lib/Mojolicious/Plugin/Minion/resources/templates/minion/jobs.html.ep new/Minion-9.10/lib/Mojolicious/Plugin/Minion/resources/templates/minion/jobs.html.ep --- old/Minion-9.09/lib/Mojolicious/Plugin/Minion/resources/templates/minion/jobs.html.ep 2018-09-21 01:46:45.000000000 +0200 +++ new/Minion-9.10/lib/Mojolicious/Plugin/Minion/resources/templates/minion/jobs.html.ep 2019-05-09 13:28:03.000000000 +0200 @@ -94,24 +94,24 @@ % my $i = 0; % for my $job (@$jobs) { % $i++; - % my $base = url_with->query([offset => 0]); + % my $base = url_with->query({offset => 0}); <tbody> <tr> <td> <input type="checkbox" name="id" value="<%= $job->{id} %>"> </td> <td> - <a href="<%= url_for->query([id => $job->{id}]) %>"> + <a href="<%= url_for->query({id => $job->{id}}) %>"> <%= $job->{id} %> </a> </td> <td> - <a href="<%= $base->clone->query([task => $job->{task}]) %>"> + <a href="<%= $base->clone->query({task => $job->{task}}) %>"> <%= $job->{task} %> </a> </td> <td> - <a href="<%= $base->clone->query([queue => $job->{queue}]) %>"> + <a href="<%= $base->clone->query({queue => $job->{queue}}) %>"> <%= $job->{queue} %> </a> </td> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.09/lib/Mojolicious/Plugin/Minion/resources/templates/minion/locks.html.ep new/Minion-9.10/lib/Mojolicious/Plugin/Minion/resources/templates/minion/locks.html.ep --- old/Minion-9.09/lib/Mojolicious/Plugin/Minion/resources/templates/minion/locks.html.ep 2018-01-26 23:08:48.000000000 +0100 +++ new/Minion-9.10/lib/Mojolicious/Plugin/Minion/resources/templates/minion/locks.html.ep 2019-05-09 13:28:24.000000000 +0200 @@ -37,7 +37,7 @@ <input type="checkbox" name="name" value="<%= $lock->{name} %>"> </td> <td> - <a href="<%= url_for->query([name => $lock->{name}]) %>"> + <a href="<%= url_for->query({name => $lock->{name}}) %>"> <%= $lock->{name} %> </a> </td> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-9.09/lib/Mojolicious/Plugin/Minion/resources/templates/minion/workers.html.ep new/Minion-9.10/lib/Mojolicious/Plugin/Minion/resources/templates/minion/workers.html.ep --- old/Minion-9.09/lib/Mojolicious/Plugin/Minion/resources/templates/minion/workers.html.ep 2018-02-28 18:10:13.000000000 +0100 +++ new/Minion-9.10/lib/Mojolicious/Plugin/Minion/resources/templates/minion/workers.html.ep 2019-05-09 13:28:14.000000000 +0200 @@ -51,7 +51,7 @@ <tbody> <tr> <td> - <a href="<%= url_for->query([id => $worker->{id}]) %>"> + <a href="<%= url_for->query({id => $worker->{id}}) %>"> <%= $worker->{id} %> </a> </td>
