Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-HTTP-Message for 
openSUSE:Factory checked in at 2021-03-11 20:07:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTTP-Message (Old)
 and      /work/SRC/openSUSE:Factory/.perl-HTTP-Message.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-HTTP-Message"

Thu Mar 11 20:07:48 2021 rev:27 rq:877971 version:6.29

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-HTTP-Message/perl-HTTP-Message.changes      
2021-03-02 15:23:39.797697682 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-HTTP-Message.new.2401/perl-HTTP-Message.changes
    2021-03-11 20:08:24.844286017 +0100
@@ -1,0 +2,10 @@
+Sun Mar  7 03:06:30 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 6.29
+   see /usr/share/doc/packages/perl-HTTP-Message/Changes
+
+  6.29      2021-03-06 04:50:34Z
+      - fix issue with HTTP::Request internal cache for canonical url when 
using
+        URI::URL (GH#146) (andrew-grechkin)
+
+-------------------------------------------------------------------

Old:
----
  HTTP-Message-6.28.tar.gz

New:
----
  HTTP-Message-6.29.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-HTTP-Message.spec ++++++
--- /var/tmp/diff_new_pack.HfBnM2/_old  2021-03-11 20:08:25.936287789 +0100
+++ /var/tmp/diff_new_pack.HfBnM2/_new  2021-03-11 20:08:25.940287796 +0100
@@ -18,7 +18,7 @@
 
 %define cpan_name HTTP-Message
 Name:           perl-HTTP-Message
-Version:        6.28
+Version:        6.29
 Release:        0
 Summary:        HTTP style message (base class)
 License:        Artistic-1.0 OR GPL-1.0-or-later
@@ -44,6 +44,7 @@
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Try::Tiny)
 BuildRequires:  perl(URI) >= 1.10
+BuildRequires:  perl(URI::URL)
 Requires:       perl(Compress::Raw::Zlib)
 Requires:       perl(Encode) >= 3.01
 Requires:       perl(Encode::Locale) >= 1

++++++ HTTP-Message-6.28.tar.gz -> HTTP-Message-6.29.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/CONTRIBUTORS 
new/HTTP-Message-6.29/CONTRIBUTORS
--- old/HTTP-Message-6.28/CONTRIBUTORS  2021-02-19 17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/CONTRIBUTORS  2021-03-06 05:50:46.000000000 +0100
@@ -12,6 +12,7 @@
     * Alex Kapranoff
     * amire80
     * Andreas J. Koenig
+    * Andrei Grechkin
     * Bill Mann
     * Brendan Byrd
     * Bron Gondwana
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/Changes 
new/HTTP-Message-6.29/Changes
--- old/HTTP-Message-6.28/Changes       2021-02-19 17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/Changes       2021-03-06 05:50:46.000000000 +0100
@@ -1,5 +1,9 @@
 Revision history for HTTP-Message
 
+6.29      2021-03-06 04:50:34Z
+    - fix issue with HTTP::Request internal cache for canonical url when using
+      URI::URL (GH#146) (andrew-grechkin)
+
 6.28      2021-02-19 16:22:13Z
     - fix warnings during HTTP::Config->match #62 (GH#152) (Vi??as Str??dal)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/META.json 
new/HTTP-Message-6.29/META.json
--- old/HTTP-Message-6.28/META.json     2021-02-19 17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/META.json     2021-03-06 05:50:46.000000000 +0100
@@ -85,6 +85,7 @@
             "Test::More" : "0.88",
             "Time::Local" : "0",
             "Try::Tiny" : "0",
+            "URI::URL" : "0",
             "lib" : "0",
             "overload" : "0",
             "perl" : "5.008001"
@@ -105,10 +106,10 @@
       "x_IRC" : "irc://irc.perl.org/#lwp",
       "x_MailingList" : "mailto:[email protected]";
    },
-   "version" : "6.28",
+   "version" : "6.29",
    "x_Dist_Zilla" : {
       "perl" : {
-         "version" : "5.030003"
+         "version" : "5.030002"
       },
       "plugins" : [
          {
@@ -233,7 +234,7 @@
             "class" : "Dist::Zilla::Plugin::InstallGuide",
             "config" : {
                "Dist::Zilla::Role::ModuleMetadata" : {
-                  "Module::Metadata" : "1.000037",
+                  "Module::Metadata" : "1.000036",
                   "version" : "0.006"
                }
             },
@@ -612,7 +613,7 @@
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v6.28",
+                  "tag" : "v6.29",
                   "tag_format" : "v%V",
                   "tag_message" : "v%V"
                },
@@ -811,6 +812,7 @@
       "Alex Kapranoff <[email protected]>",
       "amire80 <[email protected]>",
       "Andreas J. Koenig <[email protected]>",
+      "Andrei Grechkin <[email protected]>",
       "Bill Mann <[email protected]>",
       "Brendan Byrd <[email protected]>",
       "Bron Gondwana <[email protected]>",
@@ -884,7 +886,7 @@
       "Zakariyya Mughal <[email protected]>",
       "Zefram <[email protected]>"
    ],
-   "x_generated_by_perl" : "v5.30.3",
+   "x_generated_by_perl" : "v5.30.2",
    "x_serialization_backend" : "Cpanel::JSON::XS version 4.19",
    "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
    "x_static_install" : 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/META.yml 
new/HTTP-Message-6.29/META.yml
--- old/HTTP-Message-6.28/META.yml      2021-02-19 17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/META.yml      2021-03-06 05:50:46.000000000 +0100
@@ -9,6 +9,7 @@
   Test::More: '0.88'
   Time::Local: '0'
   Try::Tiny: '0'
+  URI::URL: '0'
   lib: '0'
   overload: '0'
   perl: '5.008001'
@@ -56,10 +57,10 @@
   bugtracker: https://github.com/libwww-perl/HTTP-Message/issues
   homepage: https://github.com/libwww-perl/HTTP-Message
   repository: https://github.com/libwww-perl/HTTP-Message.git
-version: '6.28'
+version: '6.29'
 x_Dist_Zilla:
   perl:
-    version: '5.030003'
+    version: '5.030002'
   plugins:
     -
       class: Dist::Zilla::Plugin::MetaResources
@@ -157,7 +158,7 @@
       class: Dist::Zilla::Plugin::InstallGuide
       config:
         Dist::Zilla::Role::ModuleMetadata:
-          Module::Metadata: '1.000037'
+          Module::Metadata: '1.000036'
           version: '0.006'
       name: '@Author::OALDERS/InstallGuide'
       version: '1.200013'
@@ -449,7 +450,7 @@
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v6.28
+          tag: v6.29
           tag_format: v%V
           tag_message: v%V
         Dist::Zilla::Role::Git::Repo:
@@ -599,6 +600,7 @@
   - 'Alex Kapranoff <[email protected]>'
   - 'amire80 <[email protected]>'
   - 'Andreas J. Koenig <[email protected]>'
+  - 'Andrei Grechkin <[email protected]>'
   - 'Bill Mann <[email protected]>'
   - 'Brendan Byrd <[email protected]>'
   - 'Bron Gondwana <[email protected]>'
@@ -671,7 +673,7 @@
   - 'Yuri Karaban <[email protected]>'
   - 'Zakariyya Mughal <[email protected]>'
   - 'Zefram <[email protected]>'
-x_generated_by_perl: v5.30.3
+x_generated_by_perl: v5.30.2
 x_serialization_backend: 'YAML::Tiny version 1.73'
 x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
 x_static_install: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/Makefile.PL 
new/HTTP-Message-6.29/Makefile.PL
--- old/HTTP-Message-6.28/Makefile.PL   2021-02-19 17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/Makefile.PL   2021-03-06 05:50:46.000000000 +0100
@@ -46,10 +46,11 @@
     "Test::More" => "0.88",
     "Time::Local" => 0,
     "Try::Tiny" => 0,
+    "URI::URL" => 0,
     "lib" => 0,
     "overload" => 0
   },
-  "VERSION" => "6.28",
+  "VERSION" => "6.29",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -81,6 +82,7 @@
   "Time::Local" => 0,
   "Try::Tiny" => 0,
   "URI" => "1.10",
+  "URI::URL" => 0,
   "base" => 0,
   "lib" => 0,
   "overload" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/README.md 
new/HTTP-Message-6.29/README.md
--- old/HTTP-Message-6.28/README.md     2021-02-19 17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/README.md     2021-03-06 05:50:46.000000000 +0100
@@ -4,7 +4,7 @@
 
 # VERSION
 
-version 6.28
+version 6.29
 
 # SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/cpanfile 
new/HTTP-Message-6.29/cpanfile
--- old/HTTP-Message-6.28/cpanfile      2021-02-19 17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/cpanfile      2021-03-06 05:50:46.000000000 +0100
@@ -32,6 +32,7 @@
   requires "Test::More" => "0.88";
   requires "Time::Local" => "0";
   requires "Try::Tiny" => "0";
+  requires "URI::URL" => "0";
   requires "lib" => "0";
   requires "overload" => "0";
   requires "perl" => "5.008001";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/lib/HTTP/Config.pm 
new/HTTP-Message-6.29/lib/HTTP/Config.pm
--- old/HTTP-Message-6.28/lib/HTTP/Config.pm    2021-02-19 17:22:31.000000000 
+0100
+++ new/HTTP-Message-6.29/lib/HTTP/Config.pm    2021-03-06 05:50:46.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.28';
+our $VERSION = '6.29';
 
 use URI;
 
@@ -249,7 +249,7 @@
 
 =head1 VERSION
 
-version 6.28
+version 6.29
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/lib/HTTP/Headers/Auth.pm 
new/HTTP-Message-6.29/lib/HTTP/Headers/Auth.pm
--- old/HTTP-Message-6.28/lib/HTTP/Headers/Auth.pm      2021-02-19 
17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/lib/HTTP/Headers/Auth.pm      2021-03-06 
05:50:46.000000000 +0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.28';
+our $VERSION = '6.29';
 
 use HTTP::Headers;
 
@@ -111,7 +111,7 @@
 
 =head1 VERSION
 
-version 6.28
+version 6.29
 
 =head1 AUTHOR
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/lib/HTTP/Headers/ETag.pm 
new/HTTP-Message-6.29/lib/HTTP/Headers/ETag.pm
--- old/HTTP-Message-6.28/lib/HTTP/Headers/ETag.pm      2021-02-19 
17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/lib/HTTP/Headers/ETag.pm      2021-03-06 
05:50:46.000000000 +0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.28';
+our $VERSION = '6.29';
 
 require HTTP::Date;
 
@@ -107,7 +107,7 @@
 
 =head1 VERSION
 
-version 6.28
+version 6.29
 
 =head1 AUTHOR
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/lib/HTTP/Headers/Util.pm 
new/HTTP-Message-6.29/lib/HTTP/Headers/Util.pm
--- old/HTTP-Message-6.28/lib/HTTP/Headers/Util.pm      2021-02-19 
17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/lib/HTTP/Headers/Util.pm      2021-03-06 
05:50:46.000000000 +0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.28';
+our $VERSION = '6.29';
 
 use base 'Exporter';
 
@@ -103,7 +103,7 @@
 
 =head1 VERSION
 
-version 6.28
+version 6.29
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/lib/HTTP/Headers.pm 
new/HTTP-Message-6.29/lib/HTTP/Headers.pm
--- old/HTTP-Message-6.28/lib/HTTP/Headers.pm   2021-02-19 17:22:31.000000000 
+0100
+++ new/HTTP-Message-6.29/lib/HTTP/Headers.pm   2021-03-06 05:50:46.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.28';
+our $VERSION = '6.29';
 
 use Carp ();
 
@@ -475,7 +475,7 @@
 
 =head1 VERSION
 
-version 6.28
+version 6.29
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/lib/HTTP/Message.pm 
new/HTTP-Message-6.29/lib/HTTP/Message.pm
--- old/HTTP-Message-6.28/lib/HTTP/Message.pm   2021-02-19 17:22:31.000000000 
+0100
+++ new/HTTP-Message-6.29/lib/HTTP/Message.pm   2021-03-06 05:50:46.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.28';
+our $VERSION = '6.29';
 
 require HTTP::Headers;
 require Carp;
@@ -782,7 +782,7 @@
 
 =head1 VERSION
 
-version 6.28
+version 6.29
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/lib/HTTP/Request/Common.pm 
new/HTTP-Message-6.29/lib/HTTP/Request/Common.pm
--- old/HTTP-Message-6.28/lib/HTTP/Request/Common.pm    2021-02-19 
17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/lib/HTTP/Request/Common.pm    2021-03-06 
05:50:46.000000000 +0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.28';
+our $VERSION = '6.29';
 
 our $DYNAMIC_FILE_UPLOAD ||= 0;  # make it defined (don't know why)
 
@@ -313,7 +313,7 @@
 
 =head1 VERSION
 
-version 6.28
+version 6.29
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/lib/HTTP/Request.pm 
new/HTTP-Message-6.29/lib/HTTP/Request.pm
--- old/HTTP-Message-6.28/lib/HTTP/Request.pm   2021-02-19 17:22:31.000000000 
+0100
+++ new/HTTP-Message-6.29/lib/HTTP/Request.pm   2021-03-06 05:50:46.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.28';
+our $VERSION = '6.29';
 
 use base 'HTTP::Message';
 
@@ -96,9 +96,9 @@
     my $uri = $self->{_uri};
 
     if (defined (my $canon = $self->{_uri_canonical})) {
-        # early bailout if these are the exact same string; try to use
-        # the cheapest comparison method possible
-        return $canon if $$canon eq $$uri;
+        # early bailout if these are the exact same string;
+        # rely on stringification of the URI objects
+        return $canon if $canon eq $uri;
     }
 
     # otherwise we need to refresh the memoized value
@@ -155,7 +155,7 @@
 
 =head1 VERSION
 
-version 6.28
+version 6.29
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/lib/HTTP/Response.pm 
new/HTTP-Message-6.29/lib/HTTP/Response.pm
--- old/HTTP-Message-6.28/lib/HTTP/Response.pm  2021-02-19 17:22:31.000000000 
+0100
+++ new/HTTP-Message-6.29/lib/HTTP/Response.pm  2021-03-06 05:50:46.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.28';
+our $VERSION = '6.29';
 
 use base 'HTTP::Message';
 
@@ -351,7 +351,7 @@
 
 =head1 VERSION
 
-version 6.28
+version 6.29
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/lib/HTTP/Status.pm 
new/HTTP-Message-6.29/lib/HTTP/Status.pm
--- old/HTTP-Message-6.28/lib/HTTP/Status.pm    2021-02-19 17:22:31.000000000 
+0100
+++ new/HTTP-Message-6.29/lib/HTTP/Status.pm    2021-03-06 05:50:46.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.28';
+our $VERSION = '6.29';
 
 require 5.002;   # because we use prototypes
 
@@ -175,7 +175,7 @@
 
 =head1 VERSION
 
-version 6.28
+version 6.29
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/t/00-report-prereqs.dd 
new/HTTP-Message-6.29/t/00-report-prereqs.dd
--- old/HTTP-Message-6.28/t/00-report-prereqs.dd        2021-02-19 
17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/t/00-report-prereqs.dd        2021-03-06 
05:50:46.000000000 +0100
@@ -63,6 +63,7 @@
                                    'Test::More' => '0.88',
                                    'Time::Local' => '0',
                                    'Try::Tiny' => '0',
+                                   'URI::URL' => '0',
                                    'lib' => '0',
                                    'overload' => '0',
                                    'perl' => '5.008001'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/t/request.t 
new/HTTP-Message-6.29/t/request.t
--- old/HTTP-Message-6.28/t/request.t   2021-02-19 17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/t/request.t   2021-03-06 05:50:46.000000000 +0100
@@ -5,7 +5,7 @@
 use warnings;
 
 use Test::More;
-plan tests => 35;
+plan tests => 39;
 
 use HTTP::Request;
 use Try::Tiny qw( catch try );
@@ -104,6 +104,22 @@
         },
         'Object without scheme method triggers an exception'
     );
+
+    # test uri_canonical cache
+    {
+        my $url = 'https://localhost/';
+        my $r   = HTTP::Request->new(GET => $url);
+        is($r->uri_canonical, $url, 'Works when canonical uri not yet cached');
+        is($r->uri_canonical, $url, 'Works when canonical uri has been 
cached');
+    }
+
+    {
+        require URI::URL;
+        my $url = 'https://localhost/';
+        my $r   = HTTP::Request->new(GET => URI::URL->new($url));
+        is($r->uri_canonical, $url, 'Works when canonical uri not yet cached 
with URI::URL');
+        is($r->uri_canonical, $url, 'Works when canonical uri has been cached 
with URI::URL');
+    }
 }
 
 eval { $req->uri ({ foo => 'bar'}); };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.28/xt/release/changes_has_content.t 
new/HTTP-Message-6.29/xt/release/changes_has_content.t
--- old/HTTP-Message-6.28/xt/release/changes_has_content.t      2021-02-19 
17:22:31.000000000 +0100
+++ new/HTTP-Message-6.29/xt/release/changes_has_content.t      2021-03-06 
05:50:46.000000000 +0100
@@ -8,7 +8,7 @@
 
 note 'Checking Changes';
 my $changes_file = 'Changes';
-my $newver = '6.28';
+my $newver = '6.29';
 my $trial_token = '-TRIAL';
 my $encoding = 'UTF-8';
 

Reply via email to