Hello community, here is the log from the commit of package perl-Minion for openSUSE:Factory checked in at 2015-10-19 22:52:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Minion (Old) and /work/SRC/openSUSE:Factory/.perl-Minion.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Minion" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Minion/perl-Minion.changes 2015-10-08 08:24:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Minion.new/perl-Minion.changes 2015-10-20 00:06:13.000000000 +0200 @@ -1,0 +2,31 @@ +Fri Oct 16 09:22:50 UTC 2015 - [email protected] + +- updated to 2.05 + see /usr/share/doc/packages/perl-Minion/Changes + + 2.05 2015-10-15 + - Fixed bug where jobs could sometimes not be finished correctly by the worker + command. + + 2.04 2015-10-14 + - Fixed portability issue in worker command. + +------------------------------------------------------------------- +Sun Oct 11 09:01:00 UTC 2015 - [email protected] + +- updated to 2.03 + see /usr/share/doc/packages/perl-Minion/Changes + + 2.03 2015-10-09 + - Improved commands to show all options that can affect their behavior. + +------------------------------------------------------------------- +Sat Oct 10 09:06:45 UTC 2015 - [email protected] + +- updated to 2.02 + see /usr/share/doc/packages/perl-Minion/Changes + + 2.02 2015-10-08 + - Improved job command to show the queue in job lists. + +------------------------------------------------------------------- Old: ---- Minion-2.01.tar.gz New: ---- Minion-2.05.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Minion.spec ++++++ --- /var/tmp/diff_new_pack.WbkuMY/_old 2015-10-20 00:06:14.000000000 +0200 +++ /var/tmp/diff_new_pack.WbkuMY/_new 2015-10-20 00:06:14.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Minion -Version: 2.01 +Version: 2.05 Release: 0 %define cpan_name Minion Summary: Job queue ++++++ Minion-2.01.tar.gz -> Minion-2.05.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/Changes new/Minion-2.05/Changes --- old/Minion-2.01/Changes 2015-10-02 16:32:39.000000000 +0200 +++ new/Minion-2.05/Changes 2015-10-15 12:36:29.000000000 +0200 @@ -1,4 +1,17 @@ +2.05 2015-10-15 + - Fixed bug where jobs could sometimes not be finished correctly by the worker + command. + +2.04 2015-10-14 + - Fixed portability issue in worker command. + +2.03 2015-10-09 + - Improved commands to show all options that can affect their behavior. + +2.02 2015-10-08 + - Improved job command to show the queue in job lists. + 2.01 2015-10-02 - Fixed Windows portability issues in tests. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/META.json new/Minion-2.05/META.json --- old/Minion-2.01/META.json 2015-10-02 17:14:17.000000000 +0200 +++ new/Minion-2.05/META.json 2015-10-15 12:39:03.000000000 +0200 @@ -4,7 +4,7 @@ "Sebastian Riedel <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150005", + "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001", "license" : [ "artistic_2" ], @@ -55,6 +55,5 @@ }, "x_IRC" : "irc://irc.perl.org/#mojo" }, - "version" : "2.01", - "x_serialization_backend" : "JSON::PP version 2.27300" + "version" : "2.05" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/META.yml new/Minion-2.05/META.yml --- old/Minion-2.01/META.yml 2015-10-02 17:14:16.000000000 +0200 +++ new/Minion-2.05/META.yml 2015-10-15 12:39:03.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150005' +generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001' license: artistic_2 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -28,5 +28,4 @@ homepage: http://mojolicio.us license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/kraih/minion.git -version: '2.01' -x_serialization_backend: 'CPAN::Meta::YAML version 0.016' +version: '2.05' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/lib/Minion/Backend/File.pm new/Minion-2.05/lib/Minion/Backend/File.pm --- old/Minion-2.01/lib/Minion/Backend/File.pm 2015-10-02 16:30:39.000000000 +0200 +++ new/Minion-2.05/lib/Minion/Backend/File.pm 2015-10-02 21:50:52.000000000 +0200 @@ -287,18 +287,26 @@ =item args + args => ['foo', 'bar'] + Job arguments. =item id + id => '10023' + Job ID. =item retries + retries => 3 + Number of times job has been retried. =item task + task => 'foo' + Task name. =back @@ -370,54 +378,80 @@ =item args + args => ['foo', 'bar'] + Job arguments. =item created + created => 784111777 + Time job was created. =item delayed + delayed => 784111777 + Time job was delayed to. =item finished + finished => 784111777 + Time job was finished. =item priority + priority => 3 + Job priority. =item queue + queue => 'important' + Queue name. =item result + result => 'All went well!' + Job result. =item retried + retried => 784111777 + Time job has been retried. =item retries + retries => 3 + Number of times job has been retried. =item started + started => 784111777 + Time job was started. =item state + state => 'inactive' + Current job state, usually C<active>, C<failed>, C<finished> or C<inactive>. =item task + task => 'foo' + Task name. =item worker + worker => '154' + Id of worker that is processing the job. =back @@ -542,22 +576,32 @@ =item host + host => 'localhost' + Worker host. =item jobs + jobs => ['10023', '10024', '10025', '10029'] + Ids of jobs the worker is currently processing. =item notified + notified => 784111777 + Last time worker sent a heartbeat. =item pid + pid => 12345 + Process id of worker. =item started + started => 784111777 + Time worker was started. =back diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/lib/Minion/Backend/Pg.pm new/Minion-2.05/lib/Minion/Backend/Pg.pm --- old/Minion-2.01/lib/Minion/Backend/Pg.pm 2015-10-02 07:42:52.000000000 +0200 +++ new/Minion-2.05/lib/Minion/Backend/Pg.pm 2015-10-13 17:58:39.000000000 +0200 @@ -277,18 +277,26 @@ =item args + args => ['foo', 'bar'] + Job arguments. =item id + id => '10023' + Job ID. =item retries + retries => 3 + Number of times job has been retried. =item task + task => 'foo' + Task name. =back @@ -360,54 +368,80 @@ =item args + args => ['foo', 'bar'] + Job arguments. =item created + created => 784111777 + Time job was created. =item delayed + delayed => 784111777 + Time job was delayed to. =item finished + finished => 784111777 + Time job was finished. =item priority + priority => 3 + Job priority. =item queue + queue => 'important' + Queue name. =item result + result => 'All went well!' + Job result. =item retried + retried => 784111777 + Time job has been retried. =item retries + retries => 3 + Number of times job has been retried. =item started + started => 784111777 + Time job was started. =item state + state => 'inactive' + Current job state, usually C<active>, C<failed>, C<finished> or C<inactive>. =item task + task => 'foo' + Task name. =item worker + worker => '154' + Id of worker that is processing the job. =back @@ -532,22 +566,32 @@ =item host + host => 'localhost' + Worker host. =item jobs + jobs => ['10023', '10024', '10025', '10029'] + Ids of jobs the worker is currently processing. =item notified + notified => 784111777 + Last time worker sent a heartbeat. =item pid + pid => 12345 + Process id of worker. =item started + started => 784111777 + Time worker was started. =back diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/lib/Minion/Backend.pm new/Minion-2.05/lib/Minion/Backend.pm --- old/Minion-2.01/lib/Minion/Backend.pm 2015-10-02 07:42:52.000000000 +0200 +++ new/Minion-2.05/lib/Minion/Backend.pm 2015-10-02 21:46:31.000000000 +0200 @@ -104,18 +104,26 @@ =item args + args => ['foo', 'bar'] + Job arguments. =item id + id => '10023' + Job ID. =item retries + retries => 3 + Number of times job has been retried. =item task + task => 'foo' + Task name. =back @@ -190,54 +198,80 @@ =item args + args => ['foo', 'bar'] + Job arguments. =item created + created => 784111777 + Time job was created. =item delayed + delayed => 784111777 + Time job was delayed to. =item finished + finished => 784111777 + Time job was finished. =item priority + priority => 3 + Job priority. =item queue + queue => 'important' + Queue name. =item result + result => 'All went well!' + Job result. =item retried + retried => 784111777 + Time job has been retried. =item retries + retries => 3 + Number of times job has been retried. =item started + started => 784111777 + Time job was started. =item state + state => 'inactive' + Current job state, usually C<active>, C<failed>, C<finished> or C<inactive>. =item task + task => 'foo' + Task name. =item worker + worker => '154' + Id of worker that is processing the job. =back @@ -363,22 +397,32 @@ =item host + host => 'localhost' + Worker host. =item jobs + jobs => ['10023', '10024', '10025', '10029'] + Ids of jobs the worker is currently processing. =item notified + notified => 784111777 + Last time worker sent a heartbeat. =item pid + pid => 12345 + Process id of worker. =item started + started => 784111777 + Time worker was started. =back diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/lib/Minion/Command/minion/job.pm new/Minion-2.05/lib/Minion/Command/minion/job.pm --- old/Minion-2.01/lib/Minion/Command/minion/job.pm 2015-10-02 07:42:52.000000000 +0200 +++ new/Minion-2.05/lib/Minion/Command/minion/job.pm 2015-10-09 20:08:47.000000000 +0200 @@ -71,7 +71,7 @@ sub _list_jobs { my $jobs = shift->app->minion->backend->list_jobs(@_); - print tablify [map { [@$_{qw(id state task)}] } @$jobs]; + print tablify [map { [@$_{qw(id state queue task)}] } @$jobs]; } sub _list_workers { @@ -122,8 +122,14 @@ -a, --args <JSON array> Arguments for new job in JSON format -d, --delay <seconds> Delay new job for this many seconds -e, --enqueue <name> New job to be enqueued + -h, --help Show this summary of available options + --home <path> Path to home directory of your application, + defaults to the value of MOJO_HOME or auto + detection -l, --limit <number> Number of jobs/workers to show when listing them, defaults to 100 + -m, --mode <name> Operating mode for your application, defaults to + the value of MOJO_MODE/PLACK_ENV or "development" -o, --offset <number> Number of jobs/workers to skip when listing them, defaults to 0 -p, --priority <number> Priority of new job, defaults to 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/lib/Minion/Command/minion/worker.pm new/Minion-2.05/lib/Minion/Command/minion/worker.pm --- old/Minion-2.01/lib/Minion/Command/minion/worker.pm 2015-10-02 07:42:52.000000000 +0200 +++ new/Minion-2.05/lib/Minion/Command/minion/worker.pm 2015-10-15 12:33:53.000000000 +0200 @@ -74,9 +74,16 @@ ./myapp.pl minion worker -q important -q default Options: + -h, --help Show this summary of available options + --home <path> Path to home directory of your + application, defaults to the value of + MOJO_HOME or auto detection -I, --heartbeat-interval <seconds> Heartbeat interval, defaults to 60 -j, --jobs <number> Number of jobs to perform concurrently, defaults to 4 + -m, --mode <name> Operating mode for your application, + defaults to the value of + MOJO_MODE/PLACK_ENV or "development" -q, --queue <name> One or more queues to get jobs from, defaults to "default" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/lib/Minion/Job.pm new/Minion-2.05/lib/Minion/Job.pm --- old/Minion-2.01/lib/Minion/Job.pm 2015-10-02 07:42:52.000000000 +0200 +++ new/Minion-2.05/lib/Minion/Job.pm 2015-10-15 12:10:11.000000000 +0200 @@ -220,54 +220,80 @@ =item args + args => ['foo', 'bar'] + Job arguments. =item created + created => 784111777 + Time job was created. =item delayed + delayed => 784111777 + Time job was delayed to. =item finished + finished => 784111777 + Time job was finished. =item priority + priority => 3 + Job priority. =item queue + queue => 'important' + Queue name. =item result + result => 'All went well!' + Job result. =item retried + retried => 784111777 + Time job has been retried. =item retries + retries => 3 + Number of times job has been retried. =item started + started => 784111777 + Time job was started. =item state + state => 'inactive' + Current job state, usually C<active>, C<failed>, C<finished> or C<inactive>. =item task + task => 'foo' + Task name. =item worker + worker => '154' + Id of worker that is processing the job. =back diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/lib/Minion/Worker.pm new/Minion-2.05/lib/Minion/Worker.pm --- old/Minion-2.01/lib/Minion/Worker.pm 2015-10-02 07:42:52.000000000 +0200 +++ new/Minion-2.05/lib/Minion/Worker.pm 2015-10-02 21:50:46.000000000 +0200 @@ -128,22 +128,32 @@ =item host + host => 'localhost' + Worker host. =item jobs + jobs => ['10023', '10024', '10025', '10029'] + Ids of jobs the worker is currently processing. =item notified + notified => 784111777 + Last time worker sent a heartbeat. =item pid + pid => 12345 + Process id of worker. =item started + started => 784111777 + Time worker was started. =back diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Minion-2.01/lib/Minion.pm new/Minion-2.05/lib/Minion.pm --- old/Minion-2.01/lib/Minion.pm 2015-10-02 07:45:27.000000000 +0200 +++ new/Minion-2.05/lib/Minion.pm 2015-10-14 18:31:06.000000000 +0200 @@ -15,7 +15,7 @@ has remove_after => 864000; has tasks => sub { {} }; -our $VERSION = '2.01'; +our $VERSION = '2.05'; sub add_task { ($_[0]->tasks->{$_[1]} = $_[2]) and return $_[0] }
