Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Git-Repository for 
openSUSE:Factory checked in at 2021-06-02 22:12:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Git-Repository (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Git-Repository.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Git-Repository"

Wed Jun  2 22:12:12 2021 rev:3 rq:896826 version:1.325

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Git-Repository/perl-Git-Repository.changes  
2021-02-19 23:45:41.335388310 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Git-Repository.new.1898/perl-Git-Repository.changes
        2021-06-02 22:12:38.484093579 +0200
@@ -1,0 +2,13 @@
+Tue Jun  1 03:07:11 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 1.325
+   see /usr/share/doc/packages/perl-Git-Repository/Changes
+
+  1.325 2021-06-01 BOOK
+      [ENHANCEMENTS]
+      - Prevent Test::Git from clobbering its arguments in some cases
+      [TESTS]
+      - Stop t/24-errors.t from failing with git >= 2.30.0-rc0
+        (Fix RT #133951, RT #134115, GH #20)
+
+-------------------------------------------------------------------

Old:
----
  Git-Repository-1.324.tar.gz

New:
----
  Git-Repository-1.325.tar.gz

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

Other differences:
------------------
++++++ perl-Git-Repository.spec ++++++
--- /var/tmp/diff_new_pack.0kghOp/_old  2021-06-02 22:12:38.900092551 +0200
+++ /var/tmp/diff_new_pack.0kghOp/_new  2021-06-02 22:12:38.904092541 +0200
@@ -18,7 +18,7 @@
 
 %define cpan_name Git-Repository
 Name:           perl-Git-Repository
-Version:        1.324
+Version:        1.325
 Release:        0
 Summary:        Perl interface to Git repositories
 License:        Artistic-1.0 OR GPL-1.0-or-later

++++++ Git-Repository-1.324.tar.gz -> Git-Repository-1.325.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/Changes 
new/Git-Repository-1.325/Changes
--- old/Git-Repository-1.324/Changes    2019-09-01 01:30:08.000000000 +0200
+++ new/Git-Repository-1.325/Changes    2021-06-01 01:00:09.000000000 +0200
@@ -1,5 +1,12 @@
 Revision history for Git-Repository
 
+1.325 2021-06-01 BOOK
+    [ENHANCEMENTS]
+    - Prevent Test::Git from clobbering its arguments in some cases
+    [TESTS]
+    - Stop t/24-errors.t from failing with git >= 2.30.0-rc0
+      (Fix RT #133951, RT #134115, GH #20)
+
 1.324 2019-09-01 BOOK
     [DOCUMENTATION]
     - Minor documentation updates
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/LICENSE 
new/Git-Repository-1.325/LICENSE
--- old/Git-Repository-1.324/LICENSE    2019-09-01 01:30:08.000000000 +0200
+++ new/Git-Repository-1.325/LICENSE    2021-06-01 01:00:09.000000000 +0200
@@ -1,4 +1,4 @@
-This software is copyright (c) 2019 by Philippe Bruhat (BooK).
+This software is copyright (c) 2021 by Philippe Bruhat (BooK).
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
 
 --- The GNU General Public License, Version 1, February 1989 ---
 
-This software is Copyright (c) 2019 by Philippe Bruhat (BooK).
+This software is Copyright (c) 2021 by Philippe Bruhat (BooK).
 
 This is free software, licensed under:
 
@@ -272,7 +272,7 @@
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2019 by Philippe Bruhat (BooK).
+This software is Copyright (c) 2021 by Philippe Bruhat (BooK).
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/META.json 
new/Git-Repository-1.325/META.json
--- old/Git-Repository-1.324/META.json  2019-09-01 01:30:08.000000000 +0200
+++ new/Git-Repository-1.325/META.json  2021-06-01 01:00:09.000000000 +0200
@@ -14,7 +14,7 @@
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : 2
+      "version" : "2"
    },
    "name" : "Git-Repository",
    "prereqs" : {
@@ -80,7 +80,7 @@
          "web" : "https://github.com/book/Git-Repository";
       }
    },
-   "version" : "1.324",
+   "version" : "1.325",
    "x_contributors" : [
       "H.Merijn Brand <[email protected]>",
       "Jan Pazdziora <[email protected]>",
@@ -110,6 +110,6 @@
       "Gustavo Leite de Mendon\u00e7a Chaves <[email protected]>"
    ],
    "x_generated_by_perl" : "v5.28.1",
-   "x_serialization_backend" : "Cpanel::JSON::XS version 4.07"
+   "x_serialization_backend" : "JSON::XS version 3.04"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/META.yml 
new/Git-Repository-1.325/META.yml
--- old/Git-Repository-1.324/META.yml   2019-09-01 01:30:08.000000000 +0200
+++ new/Git-Repository-1.325/META.yml   2021-06-01 01:00:09.000000000 +0200
@@ -44,7 +44,7 @@
 resources:
   bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Git-Repository
   repository: https://github.com/book/Git-Repository.git
-version: '1.324'
+version: '1.325'
 x_contributors:
   - 'H.Merijn Brand <[email protected]>'
   - 'Jan Pazdziora <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/Makefile.PL 
new/Git-Repository-1.325/Makefile.PL
--- old/Git-Repository-1.324/Makefile.PL        2019-09-01 01:30:08.000000000 
+0200
+++ new/Git-Repository-1.325/Makefile.PL        2021-06-01 01:00:09.000000000 
+0200
@@ -44,7 +44,7 @@
     "lib" => 0,
     "overload" => 0
   },
-  "VERSION" => "1.324",
+  "VERSION" => "1.325",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/lib/Git/Repository/Command.pm 
new/Git-Repository-1.325/lib/Git/Repository/Command.pm
--- old/Git-Repository-1.324/lib/Git/Repository/Command.pm      2019-09-01 
01:30:08.000000000 +0200
+++ new/Git-Repository-1.325/lib/Git/Repository/Command.pm      2021-06-01 
01:00:09.000000000 +0200
@@ -1,5 +1,5 @@
 package Git::Repository::Command;
-$Git::Repository::Command::VERSION = '1.324';
+$Git::Repository::Command::VERSION = '1.325';
 use strict;
 use warnings;
 use 5.006;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/lib/Git/Repository/Plugin.pm 
new/Git-Repository-1.325/lib/Git/Repository/Plugin.pm
--- old/Git-Repository-1.324/lib/Git/Repository/Plugin.pm       2019-09-01 
01:30:08.000000000 +0200
+++ new/Git-Repository-1.325/lib/Git/Repository/Plugin.pm       2021-06-01 
01:00:09.000000000 +0200
@@ -1,5 +1,5 @@
 package Git::Repository::Plugin;
-$Git::Repository::Plugin::VERSION = '1.324';
+$Git::Repository::Plugin::VERSION = '1.325';
 use strict;
 use warnings;
 use 5.006;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/lib/Git/Repository.pm 
new/Git-Repository-1.325/lib/Git/Repository.pm
--- old/Git-Repository-1.324/lib/Git/Repository.pm      2019-09-01 
01:30:08.000000000 +0200
+++ new/Git-Repository-1.325/lib/Git/Repository.pm      2021-06-01 
01:00:09.000000000 +0200
@@ -1,5 +1,5 @@
 package Git::Repository;
-$Git::Repository::VERSION = '1.324';
+$Git::Repository::VERSION = '1.325';
 use warnings;
 use strict;
 use 5.006;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/lib/Test/Git.pm 
new/Git-Repository-1.325/lib/Test/Git.pm
--- old/Git-Repository-1.324/lib/Test/Git.pm    2019-09-01 01:30:08.000000000 
+0200
+++ new/Git-Repository-1.325/lib/Test/Git.pm    2021-06-01 01:00:09.000000000 
+0200
@@ -1,5 +1,5 @@
 package Test::Git;
-$Test::Git::VERSION = '1.324';
+$Test::Git::VERSION = '1.325';
 use strict;
 use warnings;
 
@@ -69,9 +69,8 @@
     my $cwd = { cwd => $dir };    # option to chdir there
 
     # create the git repository there
-    unshift @$init,
-        Git::Repository->version_lt('1.5.0.rc1') ? 'init-db' : 'init';
-    my @cmd = $clone ? ( clone => @$clone, $dir ) : ( @$init, $cwd );
+    my $init_cmd = Git::Repository->version_lt('1.5.0.rc1') ? 'init-db' : 
'init';
+    my @cmd = $clone ? ( clone => @$clone, $dir ) : ( $init_cmd => @$init, 
$cwd );
     Git::Repository->run( @cmd, $safe );
 
     # create the Git::Repository object
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/t/11-create.t 
new/Git-Repository-1.325/t/11-create.t
--- old/Git-Repository-1.324/t/11-create.t      2019-09-01 01:30:08.000000000 
+0200
+++ new/Git-Repository-1.325/t/11-create.t      2021-06-01 01:00:09.000000000 
+0200
@@ -48,13 +48,17 @@
 my ( $dir, $r );
 $dir = next_dir;
 
+# a quiet git init:
+my @init = qw( init );
+push @init, '-q' if Git::Repository->version_ge('1.5.2.3');
+
 # PASS - non-existent directory
 BEGIN { $tests += 5 }
 my $gitdir = File::Spec->catdir( $dir, '.git' );
 mkpath $dir;
 chdir $dir;
 ok( $r = eval {
-        $r = Git::Repository->run( 'init', { cwd => $dir } );
+        $r = Git::Repository->run( @init, { cwd => $dir } );
         Git::Repository->new( { cwd => $dir } );
     },
     "init => $i"
@@ -190,7 +194,7 @@
 mkpath $dir;
 chdir $dir;
 ok( $r = eval {
-        Git::Repository->run(qw( init --bare ));
+        Git::Repository->run( @init, '--bare' );
         Git::Repository->new();
     },
     "clone => @{[ $i - 1 ]} - $i"
@@ -216,7 +220,7 @@
 my $options
     = { cwd => $dir, env => { GIT_DIR => File::Spec->abs2rel($gitdir) } };
 ok( $r = eval {
-        Git::Repository->run( 'init', $options );
+        Git::Repository->run( @init, $options );
         Git::Repository->new($options);
     },
     "init - cwd => $i, GIT_DIR => '.notgit'"
@@ -240,7 +244,7 @@
 $gitdir = File::Spec->catdir( $dir, '.notgit' );
 $options = { cwd => $dir, env => { GIT_DIR => File::Spec->abs2rel($gitdir) } };
 ok( $r = eval {
-        Git::Repository->run( "--work-tree=$dir", 'init', $options );
+        Git::Repository->run( "--work-tree=$dir", @init, $options );
         Git::Repository->new( work_tree => $dir, $options );
     },
     "init - cwd => $i, GIT_DIR => '.notgit'"
@@ -266,7 +270,7 @@
     }
 };
 ok( $r = eval {
-        Git::Repository->run( 'init', $options );
+        Git::Repository->run( @init, $options );
         Git::Repository->new($options);
     },
     "init - cwd => $i, GIT_DIR => '.notgit'"
@@ -285,7 +289,7 @@
     $dir = next_dir;
     { open my $fh, '>', $dir; }    # creates an empty file
     ok( !(  $r = eval {
-                Git::Repository->run( init => $dir );
+                Git::Repository->run( @init, $dir );
                 Git::Repository->new( work_tree => $dir );
             }
         ),
@@ -299,7 +303,7 @@
     $dir = next_dir;
     $gitdir = File::Spec->catdir( $dir, '.git' );
     ok( $r = eval {
-            Git::Repository->run( init => $dir );
+            Git::Repository->run( @init, $dir );
             Git::Repository->new( work_tree => $dir );
         },
         "init => $i"
@@ -308,7 +312,7 @@
     test_repo( $r, $gitdir, $dir, {} );
 
     ok( $r = eval {
-            Git::Repository->run( init => $dir );
+            Git::Repository->run( @init, $dir );
             Git::Repository->new( work_tree => $dir );
         },
         "init => $i - again"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/t/20-simple.t 
new/Git-Repository-1.325/t/20-simple.t
--- old/Git-Repository-1.324/t/20-simple.t      2019-09-01 01:30:08.000000000 
+0200
+++ new/Git-Repository-1.325/t/20-simple.t      2021-06-01 01:00:09.000000000 
+0200
@@ -39,10 +39,14 @@
 # a place to put a git repository
 my $dir = abs_path( tempdir( CLEANUP => 1 ) );
 
+# a quiet git init:
+my @init = qw( init );
+push @init, '-q' if Git::Repository->version_ge('1.5.2.3');
+
 # PASS - non-existent directory
 BEGIN { $tests += 3 }
 chdir $dir;
-Git::Repository->run('init');
+Git::Repository->run( @init );
 my $r = Git::Repository->new();
 isa_ok( $r, 'Git::Repository' );
 chdir $home;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/t/21-submodule.t 
new/Git-Repository-1.325/t/21-submodule.t
--- old/Git-Repository-1.324/t/21-submodule.t   2019-09-01 01:30:08.000000000 
+0200
+++ new/Git-Repository-1.325/t/21-submodule.t   2021-06-01 01:00:09.000000000 
+0200
@@ -31,7 +31,9 @@
 $ENV{GIT_COMMITTER_EMAIL} = '[email protected]';
 
 # create a small repository
-my $s = test_repository;
+my @init;
+push @init, init => [ '-q' ] if Git::Repository->version_ge('1.5.2.3');
+my $s = test_repository(@init);
 my $blob =
   $s->run( qw( hash-object -t blob -w --stdin ), { input => 'hello' } );
 my $tree = $s->run( mktree => { input => "100644 blob $blob\thello" } );
@@ -40,7 +42,7 @@
 $s->run( checkout => 'master', { quiet => 1 } );
 
 # now test adding a submodule
-my $r = test_repository;
+my $r = test_repository(@init);
 $r->run(
     submodule => add => $s->work_tree => 'sub',
     { env => { GIT_WORK_TREE => undef } }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/t/22-backward.t 
new/Git-Repository-1.325/t/22-backward.t
--- old/Git-Repository-1.324/t/22-backward.t    2019-09-01 01:30:08.000000000 
+0200
+++ new/Git-Repository-1.325/t/22-backward.t    2021-06-01 01:00:09.000000000 
+0200
@@ -19,8 +19,10 @@
 my $home = cwd();
 
 # a place to put a git repository
+my @init;
+push @init, init => [ '-q' ] if Git::Repository->version_ge('1.5.2.3');
 my $fake   = realpath( tempdir( CLEANUP => 1 ) );
-my $r      = test_repository;
+my $r      = test_repository(@init);
 my $dir    = $r->work_tree;
 my $gitdir = $r->git_dir;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/t/23-quiet.t 
new/Git-Repository-1.325/t/23-quiet.t
--- old/Git-Repository-1.324/t/23-quiet.t       2019-09-01 01:30:08.000000000 
+0200
+++ new/Git-Repository-1.325/t/23-quiet.t       2021-06-01 01:00:09.000000000 
+0200
@@ -19,7 +19,9 @@
 delete $ENV{HOME};
 
 # a place to put a git repository
-my $r = test_repository;
+my @init;
+push @init, init => [ '-q' ] if Git::Repository->version_ge('1.5.2.3');
+my $r = test_repository(@init);
 
 # PREV will be replaced by the result of the previous command
 my @tests = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/t/24-errors.t 
new/Git-Repository-1.325/t/24-errors.t
--- old/Git-Repository-1.324/t/24-errors.t      2019-09-01 01:30:08.000000000 
+0200
+++ new/Git-Repository-1.325/t/24-errors.t      2021-06-01 01:00:09.000000000 
+0200
@@ -193,12 +193,14 @@
 
 plan tests => 3 * @tests + @warnings;
 
+my @quiet = Git::Repository->version_ge('1.5.2.3') ? ( init => ['-q'] ) : ();
+
 my $output = '';
 for my $t (@tests) {
     @warnings = ();
 
     # create a new test repository if needed
-    $r = test_repository( @{ $t->{test_repo} } )
+    $r = test_repository( @{ $t->{test_repo} }, @quiet )
         if $t->{test_repo};
 
     # check if the command threw errors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/t/25-plugins.t 
new/Git-Repository-1.325/t/25-plugins.t
--- old/Git-Repository-1.324/t/25-plugins.t     2019-09-01 01:30:08.000000000 
+0200
+++ new/Git-Repository-1.325/t/25-plugins.t     2021-06-01 01:00:09.000000000 
+0200
@@ -21,7 +21,9 @@
 plan tests => my $tests;
 
 # first create a new empty repository
-my $r      = test_repository;
+my @init;
+push @init, init => [ '-q' ] if Git::Repository->version_ge('1.5.2.3');
+my $r      = test_repository( @init );
 my $dir    = $r->work_tree;
 my $gitdir = $r->git_dir;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/t/26-overloaded_objects.t 
new/Git-Repository-1.325/t/26-overloaded_objects.t
--- old/Git-Repository-1.324/t/26-overloaded_objects.t  2019-09-01 
01:30:08.000000000 +0200
+++ new/Git-Repository-1.325/t/26-overloaded_objects.t  2021-06-01 
01:00:09.000000000 +0200
@@ -33,9 +33,12 @@
     }
 }
 
+# a quiet git init:
+my @init = qw( init );
+push @init, '-q' if Git::Repository->version_ge('1.5.2.3');
 
 my $repo_dir = My::Dir->new( tempdir( CLEANUP => 1 ) );
-note( Git::Repository->run( init => $repo_dir ) );
+note( Git::Repository->run( @init, $repo_dir ) );
 ok -d "$repo_dir/.git", "git repo initialized";
 my $r = eval { Git::Repository->new( work_tree => $repo_dir ); };
 isa_ok $r, "Git::Repository";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Git-Repository-1.324/t/30-test_repository.t 
new/Git-Repository-1.325/t/30-test_repository.t
--- old/Git-Repository-1.324/t/30-test_repository.t     2019-09-01 
01:30:08.000000000 +0200
+++ new/Git-Repository-1.325/t/30-test_repository.t     2021-06-01 
01:00:09.000000000 +0200
@@ -23,7 +23,10 @@
 delete $ENV{HOME};
 my $home = cwd;
 
-my $r = test_repository;
+my @init;
+push @init, init => [ '-q' ] if Git::Repository->version_ge('1.5.2.3');
+
+my $r = test_repository(@init);
 
 # add a file
 my $file = 'hello.txt';

Reply via email to