Hello community,
here is the log from the commit of package perl-Minion-Backend-SQLite for
openSUSE:Factory checked in at 2019-06-24 21:52:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Minion-Backend-SQLite (Old)
and /work/SRC/openSUSE:Factory/.perl-Minion-Backend-SQLite.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Minion-Backend-SQLite"
Mon Jun 24 21:52:58 2019 rev:2 rq:711575 version:4.003
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Minion-Backend-SQLite/perl-Minion-Backend-SQLite.changes
2018-10-11 11:58:04.645823246 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Minion-Backend-SQLite.new.4615/perl-Minion-Backend-SQLite.changes
2019-06-24 21:53:56.976133197 +0200
@@ -1,0 +2,10 @@
+Sat Jun 22 05:18:44 UTC 2019 - Stephan Kulow
<coolo@please-enter-an-email-address>
+
+- updated to 4.003
+ see /usr/share/doc/packages/perl-Minion-Backend-SQLite/Changes
+
+ 4.003 2019-06-21 18:06:07 EDT
+ - Ignore missing workers for jobs in the minion_foreground named queue to
+ make debugging very slow jobs easier.
+
+-------------------------------------------------------------------
Old:
----
Minion-Backend-SQLite-4.002.tar.gz
New:
----
Minion-Backend-SQLite-4.003.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Minion-Backend-SQLite.spec ++++++
--- /var/tmp/diff_new_pack.JYckCh/_old 2019-06-24 21:53:57.568133655 +0200
+++ /var/tmp/diff_new_pack.JYckCh/_new 2019-06-24 21:53:57.572133657 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Minion-Backend-SQLite
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-Minion-Backend-SQLite
-Version: 4.002
+Version: 4.003
Release: 0
%define cpan_name Minion-Backend-SQLite
Summary: SQLite backend for Minion job queue
License: Artistic-2.0
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Minion-Backend-SQLite/
+Url: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/D/DB/DBOOK/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -50,7 +51,7 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Build.PL --installdirs=vendor
+perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
++++++ Minion-Backend-SQLite-4.002.tar.gz -> Minion-Backend-SQLite-4.003.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Minion-Backend-SQLite-4.002/Build.PL
new/Minion-Backend-SQLite-4.003/Build.PL
--- old/Minion-Backend-SQLite-4.002/Build.PL 2018-10-03 19:58:17.000000000
+0200
+++ new/Minion-Backend-SQLite-4.003/Build.PL 2019-06-22 00:06:10.000000000
+0200
@@ -84,7 +84,7 @@
"Dan Book <dbook\@cpan.org>"
],
"dist_name" => "Minion-Backend-SQLite",
- "dist_version" => "4.002",
+ "dist_version" => "4.003",
"license" => "artistic_2",
"module_name" => "Minion::Backend::SQLite",
"recursive_test_files" => 1,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Minion-Backend-SQLite-4.002/Changes
new/Minion-Backend-SQLite-4.003/Changes
--- old/Minion-Backend-SQLite-4.002/Changes 2018-10-03 19:58:17.000000000
+0200
+++ new/Minion-Backend-SQLite-4.003/Changes 2019-06-22 00:06:10.000000000
+0200
@@ -1,3 +1,7 @@
+4.003 2019-06-21 18:06:07 EDT
+ - Ignore missing workers for jobs in the minion_foreground named queue to
+ make debugging very slow jobs easier.
+
4.002 2018-10-03 13:58:15 EDT
- Optimize repair query (yrjustice, #15, #16)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Minion-Backend-SQLite-4.002/INSTALL
new/Minion-Backend-SQLite-4.003/INSTALL
--- old/Minion-Backend-SQLite-4.002/INSTALL 2018-10-03 19:58:17.000000000
+0200
+++ new/Minion-Backend-SQLite-4.003/INSTALL 2019-06-22 00:06:10.000000000
+0200
@@ -53,6 +53,19 @@
"configure_requires" key of META.yml or the
"{prereqs}{configure}{requires}" key of META.json.
+## Other Prerequisites
+
+This distribution may require additional modules to be installed after running
+Build.PL.
+Look for prerequisites in the following phases:
+
+* to run ./Build, PHASE = build
+* to use the module code itself, PHASE = runtime
+* to run tests, PHASE = test
+
+They can all be found in the "PHASE_requires" key of MYMETA.yml or the
+"{prereqs}{PHASE}{requires}" key of MYMETA.json.
+
## Documentation
Minion-Backend-SQLite documentation is available as POD.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Minion-Backend-SQLite-4.002/META.json
new/Minion-Backend-SQLite-4.003/META.json
--- old/Minion-Backend-SQLite-4.002/META.json 2018-10-03 19:58:17.000000000
+0200
+++ new/Minion-Backend-SQLite-4.003/META.json 2019-06-22 00:06:10.000000000
+0200
@@ -64,7 +64,7 @@
"provides" : {
"Minion::Backend::SQLite" : {
"file" : "lib/Minion/Backend/SQLite.pm",
- "version" : "4.002"
+ "version" : "4.003"
}
},
"release_status" : "stable",
@@ -80,10 +80,10 @@
},
"x_IRC" : "irc://irc.freenode.net/#mojo"
},
- "version" : "4.002",
+ "version" : "4.003",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.028000"
+ "version" : "5.030000"
},
"plugins" : [
{
@@ -131,7 +131,7 @@
"meta_noindex" : 1
},
"Dist::Zilla::Role::ModuleMetadata" : {
- "Module::Metadata" : "1.000033",
+ "Module::Metadata" : "1.000036",
"version" : "0.006"
}
},
@@ -147,7 +147,7 @@
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.14.4",
+ "git_version" : "2.20.1",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
@@ -188,12 +188,12 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.14.4",
+ "git_version" : "2.20.1",
"repo_root" : "."
}
},
"name" : "@Author::DBOOK/Git::Check",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::RewriteVersion",
@@ -257,7 +257,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.14.4",
+ "git_version" : "2.20.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -265,7 +265,7 @@
}
},
"name" : "@Author::DBOOK/Git::Commit",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -274,12 +274,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "4.002",
+ "tag" : "4.003",
"tag_format" : "%v",
"tag_message" : "%v"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.14.4",
+ "git_version" : "2.20.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -287,7 +287,7 @@
}
},
"name" : "@Author::DBOOK/Git::Tag",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease",
@@ -322,7 +322,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.14.4",
+ "git_version" : "2.20.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -330,7 +330,7 @@
}
},
"name" : "@Author::DBOOK/Commit_Version_Bump",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -342,12 +342,12 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.14.4",
+ "git_version" : "2.20.1",
"repo_root" : "."
}
},
"name" : "@Author::DBOOK/Git::Push",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
@@ -389,7 +389,7 @@
}
},
"name" : "@Author::DBOOK/Git::GatherDir",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::Regenerate::AfterReleasers",
@@ -504,8 +504,14 @@
},
{
"class" : "Dist::Zilla::Plugin::InstallGuide",
+ "config" : {
+ "Dist::Zilla::Role::ModuleMetadata" : {
+ "Module::Metadata" : "1.000036",
+ "version" : "0.006"
+ }
+ },
"name" : "@Author::DBOOK/InstallGuide",
- "version" : "1.200011"
+ "version" : "1.200013"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
@@ -595,7 +601,7 @@
"Dan Book <[email protected]>",
"yrjustice <[email protected]>"
],
- "x_generated_by_perl" : "v5.28.0",
- "x_serialization_backend" : "Cpanel::JSON::XS version 4.06"
+ "x_generated_by_perl" : "v5.30.0",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.11"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Minion-Backend-SQLite-4.002/META.yml
new/Minion-Backend-SQLite-4.003/META.yml
--- old/Minion-Backend-SQLite-4.002/META.yml 2018-10-03 19:58:17.000000000
+0200
+++ new/Minion-Backend-SQLite-4.003/META.yml 2019-06-22 00:06:10.000000000
+0200
@@ -26,7 +26,7 @@
provides:
Minion::Backend::SQLite:
file: lib/Minion/Backend/SQLite.pm
- version: '4.002'
+ version: '4.003'
requires:
List::Util: '0'
Minion: '9.0'
@@ -40,10 +40,10 @@
bugtracker: https://github.com/Grinnz/Minion-Backend-SQLite/issues
homepage: https://github.com/Grinnz/Minion-Backend-SQLite
repository: https://github.com/Grinnz/Minion-Backend-SQLite.git
-version: '4.002'
+version: '4.003'
x_Dist_Zilla:
perl:
- version: '5.028000'
+ version: '5.030000'
plugins:
-
class: Dist::Zilla::Plugin::GithubMeta
@@ -80,7 +80,7 @@
inherit_version: '1'
meta_noindex: '1'
Dist::Zilla::Role::ModuleMetadata:
- Module::Metadata: '1.000033'
+ Module::Metadata: '1.000036'
version: '0.006'
name: '@Author::DBOOK/MetaProvides::Package'
version: '2.004003'
@@ -92,7 +92,7 @@
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- git_version: 2.14.4
+ git_version: 2.20.1
include_authors: 0
include_releaser: 1
order_by: name
@@ -124,10 +124,10 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.14.4
+ git_version: 2.20.1
repo_root: .
name: '@Author::DBOOK/Git::Check'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::RewriteVersion
config:
@@ -177,12 +177,12 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.14.4
+ git_version: 2.20.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Author::DBOOK/Git::Commit'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
@@ -190,16 +190,16 @@
branch: ~
changelog: Changes
signed: 0
- tag: '4.002'
+ tag: '4.003'
tag_format: '%v'
tag_message: '%v'
Dist::Zilla::Role::Git::Repo:
- git_version: 2.14.4
+ git_version: 2.20.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Author::DBOOK/Git::Tag'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::BumpVersionAfterRelease
config:
@@ -225,12 +225,12 @@
- (?^:^)
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.14.4
+ git_version: 2.20.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Author::DBOOK/Commit_Version_Bump'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -239,10 +239,10 @@
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- git_version: 2.14.4
+ git_version: 2.20.1
repo_root: .
name: '@Author::DBOOK/Git::Push'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Author::DBOOK/PodSyntaxTests'
@@ -276,7 +276,7 @@
Dist::Zilla::Plugin::Git::GatherDir:
include_untracked: 0
name: '@Author::DBOOK/Git::GatherDir'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::Regenerate::AfterReleasers
config:
@@ -360,8 +360,12 @@
version: '0.029'
-
class: Dist::Zilla::Plugin::InstallGuide
+ config:
+ Dist::Zilla::Role::ModuleMetadata:
+ Module::Metadata: '1.000036'
+ version: '0.006'
name: '@Author::DBOOK/InstallGuide'
- version: '1.200011'
+ version: '1.200013'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Author::DBOOK/Manifest'
@@ -430,5 +434,5 @@
x_contributors:
- 'Dan Book <[email protected]>'
- 'yrjustice <[email protected]>'
-x_generated_by_perl: v5.28.0
+x_generated_by_perl: v5.30.0
x_serialization_backend: 'YAML::Tiny version 1.73'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Minion-Backend-SQLite-4.002/lib/Minion/Backend/SQLite.pm
new/Minion-Backend-SQLite-4.003/lib/Minion/Backend/SQLite.pm
--- old/Minion-Backend-SQLite-4.002/lib/Minion/Backend/SQLite.pm
2018-10-03 19:58:17.000000000 +0200
+++ new/Minion-Backend-SQLite-4.003/lib/Minion/Backend/SQLite.pm
2019-06-22 00:06:10.000000000 +0200
@@ -8,7 +8,7 @@
use Sys::Hostname 'hostname';
use Time::HiRes 'usleep';
-our $VERSION = '4.002';
+our $VERSION = '4.003';
has dequeue_interval => 0.5;
has 'sqlite';
@@ -277,7 +277,7 @@
# Jobs with missing worker (can be retried)
my $fail = $db->query(
q{select id, retries from minion_jobs as j
- where state = 'active'
+ where state = 'active' and queue != 'minion_foreground'
and not exists (select 1 from minion_workers where id = j.worker)}
)->hashes;
$fail->each(sub { $self->fail_job(@$_{qw(id retries)}, 'Worker went away')
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Minion-Backend-SQLite-4.002/t/sqlite.t
new/Minion-Backend-SQLite-4.003/t/sqlite.t
--- old/Minion-Backend-SQLite-4.002/t/sqlite.t 2018-10-03 19:58:17.000000000
+0200
+++ new/Minion-Backend-SQLite-4.003/t/sqlite.t 2019-06-22 00:06:10.000000000
+0200
@@ -84,6 +84,18 @@
is $job->info->{result}, 'Worker went away', 'right result';
} # end SKIP
+SKIP: { skip 'Minion workers do not support fork emulation', 3 if
HAS_PSEUDOFORK;
+# Repair abandoned job in minion_foreground queue (have to be handled manually)
+$worker->register;
+$id = $minion->enqueue('test', [], {queue => 'minion_foreground'});
+$job = $worker->dequeue(0, {queues => ['minion_foreground']});
+is $job->id, $id, 'right id';
+$worker->unregister;
+$minion->repair;
+is $job->info->{state}, 'active', 'job is still active';
+is $job->info->{result}, undef, 'no result';
+} # end SKIP
+
my ($id2, $id3, $finished);
SKIP: { skip 'Minion workers do not support fork emulation', 3 if
HAS_PSEUDOFORK;
# Repair old jobs
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module