Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-TheSchwartz for
openSUSE:Factory checked in at 2021-07-26 17:38:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-TheSchwartz (Old)
and /work/SRC/openSUSE:Factory/.perl-TheSchwartz.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-TheSchwartz"
Mon Jul 26 17:38:11 2021 rev:5 rq:908184 version:1.16
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-TheSchwartz/perl-TheSchwartz.changes
2020-01-30 09:42:22.841521568 +0100
+++
/work/SRC/openSUSE:Factory/.perl-TheSchwartz.new.1899/perl-TheSchwartz.changes
2021-07-26 17:38:32.406062128 +0200
@@ -1,0 +2,10 @@
+Sat Jul 17 03:09:34 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 1.16
+ see /usr/share/doc/packages/perl-TheSchwartz/Changes
+
+ 1.16 2021-07-16T07:49:43Z
+
+ - Add ability to disable job randomization GH#9 (@jamadam++)
+
+-------------------------------------------------------------------
Old:
----
TheSchwartz-1.15.tar.gz
New:
----
TheSchwartz-1.16.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-TheSchwartz.spec ++++++
--- /var/tmp/diff_new_pack.oz3Pv1/_old 2021-07-26 17:38:32.886061551 +0200
+++ /var/tmp/diff_new_pack.oz3Pv1/_new 2021-07-26 17:38:32.890061547 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-TheSchwartz
#
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,16 @@
#
+%define cpan_name TheSchwartz
Name: perl-TheSchwartz
-Version: 1.15
+Version: 1.16
Release: 0
-%define cpan_name TheSchwartz
Summary: Reliable job queue
License: Artistic-1.0 OR GPL-1.0-or-later
-Group: Development/Libraries/Perl
-Url: https://metacpan.org/release/%{cpan_name}
+URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/A/AK/AKIYM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Accessor::Fast)
@@ -62,7 +60,7 @@
all the mail for that domain once it connects to that domain's mail server.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
@@ -77,7 +75,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes doc minil.toml README.md
%license LICENSE
++++++ TheSchwartz-1.15.tar.gz -> TheSchwartz-1.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/TheSchwartz-1.15/Changes new/TheSchwartz-1.16/Changes
--- old/TheSchwartz-1.15/Changes 2020-01-28 07:20:56.000000000 +0100
+++ new/TheSchwartz-1.16/Changes 2021-07-16 09:50:30.000000000 +0200
@@ -1,3 +1,7 @@
+1.16 2021-07-16T07:49:43Z
+
+ - Add ability to disable job randomization GH#9 (@jamadam++)
+
1.15 2020-01-28T06:19:54Z
- Fix tests on win32 GH#4 (@charsbar++)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/TheSchwartz-1.15/META.json
new/TheSchwartz-1.16/META.json
--- old/TheSchwartz-1.15/META.json 2020-01-28 07:20:56.000000000 +0100
+++ new/TheSchwartz-1.16/META.json 2021-07-16 09:50:30.000000000 +0200
@@ -4,7 +4,7 @@
", Six Apart Ltd, [email protected]. All"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v3.1.8",
+ "generated_by" : "Minilla/v3.1.11",
"license" : [
"perl_5"
],
@@ -58,7 +58,7 @@
"provides" : {
"TheSchwartz" : {
"file" : "lib/TheSchwartz.pm",
- "version" : "1.15"
+ "version" : "1.16"
},
"TheSchwartz::Error" : {
"file" : "lib/TheSchwartz/Error.pm"
@@ -90,13 +90,14 @@
"web" : "https://github.com/akiym/TheSchwartz"
}
},
- "version" : "1.15",
+ "version" : "1.16",
"x_authority" : "cpan:AKIYM",
"x_contributors" : [
"Akira Sawada <[email protected]>",
"Brad Fitzpatrick <[email protected]>",
"Jeff Fearn <[email protected]>",
"Jeff Fearn <[email protected]>",
+ "Keita Jamadam Sugama <[email protected]>",
"Kenichi Ishigaki <[email protected]>",
"Mohammad S Anwar <[email protected]>",
"Six Apart Ltd. <[email protected]>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/TheSchwartz-1.15/META.yml
new/TheSchwartz-1.16/META.yml
--- old/TheSchwartz-1.15/META.yml 2020-01-28 07:20:56.000000000 +0100
+++ new/TheSchwartz-1.16/META.yml 2021-07-16 09:50:30.000000000 +0200
@@ -7,7 +7,7 @@
configure_requires:
Module::Build::Tiny: '0.035'
dynamic_config: 0
-generated_by: 'Minilla/v3.1.8, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Minilla/v3.1.11, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -26,7 +26,7 @@
provides:
TheSchwartz:
file: lib/TheSchwartz.pm
- version: '1.15'
+ version: '1.16'
TheSchwartz::Error:
file: lib/TheSchwartz/Error.pm
TheSchwartz::ExitStatus:
@@ -49,13 +49,14 @@
bugtracker: https://github.com/akiym/TheSchwartz/issues
homepage: https://github.com/akiym/TheSchwartz
repository: git://github.com/akiym/TheSchwartz.git
-version: '1.15'
+version: '1.16'
x_authority: cpan:AKIYM
x_contributors:
- 'Akira Sawada <[email protected]>'
- 'Brad Fitzpatrick <[email protected]>'
- 'Jeff Fearn <[email protected]>'
- 'Jeff Fearn <[email protected]>'
+ - 'Keita Jamadam Sugama <[email protected]>'
- 'Kenichi Ishigaki <[email protected]>'
- 'Mohammad S Anwar <[email protected]>'
- 'Six Apart Ltd. <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/TheSchwartz-1.15/README.md
new/TheSchwartz-1.16/README.md
--- old/TheSchwartz-1.15/README.md 2020-01-28 07:20:56.000000000 +0100
+++ new/TheSchwartz-1.16/README.md 2021-07-16 09:50:30.000000000 +0200
@@ -250,7 +250,7 @@
## `$client->grab_and_work_on($handle)`
-Similar to
[$client->work\_on($handle)](https://metacpan.org/pod/$client->work_on\($handle\)),
except that the job will be grabbed
+Similar to
[$client->work\_on($handle)](https://metacpan.org/pod/%24client-%3Ework_on%28%24handle%29),
except that the job will be grabbed
before being run. It guarantees that only one worker will work on it (at least
in the `grab_for` interval).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/TheSchwartz-1.15/lib/TheSchwartz.pm
new/TheSchwartz-1.16/lib/TheSchwartz.pm
--- old/TheSchwartz-1.15/lib/TheSchwartz.pm 2020-01-28 07:20:56.000000000
+0100
+++ new/TheSchwartz-1.16/lib/TheSchwartz.pm 2021-07-16 09:50:30.000000000
+0200
@@ -6,7 +6,7 @@
use fields
qw( databases retry_seconds dead_dsns retry_at funcmap_cache verbose
all_abilities current_abilities current_job cached_drivers
driver_cache_expiration scoreboard prioritize floor batch_size
strict_remove_ability);
-our $VERSION = "1.15";
+our $VERSION = "1.16";
use Carp qw( croak );
use Data::ObjectDriver::Errors;
@@ -27,6 +27,7 @@
## Number of jobs to fetch at a time in find_job_for_workers.
our $FIND_JOB_BATCH_SIZE = 50;
+our $RANDOMIZE_JOBS = 1;
sub new {
my TheSchwartz $client = shift;
@@ -400,7 +401,7 @@
my $driver = $client->driver_for($hashdsn);
## Got some jobs! Randomize them to avoid contention between workers.
- my @jobs = shuffle(@_);
+ my @jobs = $RANDOMIZE_JOBS ? shuffle(@_) : @_;
JOB:
while ( my $job = shift @jobs ) {