Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ack for openSUSE:Factory checked in 
at 2025-01-05 15:28:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ack (Old)
 and      /work/SRC/openSUSE:Factory/.ack.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ack"

Sun Jan  5 15:28:57 2025 rev:36 rq:1234620 version:3.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ack/ack.changes  2024-12-22 18:09:01.747656908 
+0100
+++ /work/SRC/openSUSE:Factory/.ack.new.1881/ack.changes        2025-01-05 
15:29:08.768554560 +0100
@@ -1,0 +2,6 @@
+Wed Jan  1 11:10:30 UTC 2025 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- ack 3.8.1
+  * zsh completion fix
+
+-------------------------------------------------------------------

Old:
----
  ack-v3.8.0.tar.gz

New:
----
  ack-v3.8.1.tar.gz

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

Other differences:
------------------
++++++ ack.spec ++++++
--- /var/tmp/diff_new_pack.8FqQq6/_old  2025-01-05 15:29:11.020647192 +0100
+++ /var/tmp/diff_new_pack.8FqQq6/_new  2025-01-05 15:29:11.040648014 +0100
@@ -2,7 +2,7 @@
 # spec file for package ack
 #
 # Copyright (c) 2023 SUSE LLC
-# Copyright (c) 2024 Andreas Stieger <andreas.stie...@gmx.de>
+# Copyright (c) 2025 Andreas Stieger <andreas.stie...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 
 Name:           ack
-Version:        3.8.0
+Version:        3.8.1
 Release:        0
 Summary:        Grep-Like Text Finder
 License:        Artistic-2.0

++++++ ack-v3.8.0.tar.gz -> ack-v3.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/Changes new/ack-v3.8.1/Changes
--- old/ack-v3.8.0/Changes      2024-12-21 05:11:28.000000000 +0100
+++ new/ack-v3.8.1/Changes      2025-01-01 04:23:56.000000000 +0100
@@ -1,6 +1,13 @@
 History file for ack 3.  https://beyondgrep.com/
 
 
+v3.8.1      Tue Dec 31 21:22:59 CST 2024
+========================================
+[ENHANCEMENTS]
+The rules for Pytest were modified so that zsh's ad hoc scraping of
+filetypes for tab completion wouldn't blow up. (GH #386)
+
+
 v3.8.0      Fri Dec 20 22:07:26 CST 2024
 ========================================
 [FEATURES]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/MANIFEST new/ack-v3.8.1/MANIFEST
--- old/ack-v3.8.0/MANIFEST     2024-12-21 05:13:15.000000000 +0100
+++ new/ack-v3.8.1/MANIFEST     2025-01-01 04:24:14.000000000 +0100
@@ -159,6 +159,7 @@
 t/swamp/favicon.ico
 t/swamp/file.bar
 t/swamp/file.foo
+t/swamp/foo_test.py
 t/swamp/fresh.css
 t/swamp/fresh.css.min
 t/swamp/fresh.min.css
@@ -223,6 +224,8 @@
 t/swamp/service.svc
 t/swamp/solution8.tar
 t/swamp/stuff.cmake
+t/swamp/test.py
+t/swamp/test_foo.py
 t/swamp/swamp/ignoreme.txt
 
 t/text/amontillado.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/META.json new/ack-v3.8.1/META.json
--- old/ack-v3.8.0/META.json    2024-12-21 05:13:15.000000000 +0100
+++ new/ack-v3.8.1/META.json    2025-01-01 04:24:14.000000000 +0100
@@ -70,5 +70,5 @@
       },
       "x_MailingList" : "https://groups.google.com/group/ack-users";
    },
-   "version" : "v3.8.0"
+   "version" : "v3.8.1"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/META.yml new/ack-v3.8.1/META.yml
--- old/ack-v3.8.0/META.yml     2024-12-21 05:13:15.000000000 +0100
+++ new/ack-v3.8.1/META.yml     2025-01-01 04:24:14.000000000 +0100
@@ -44,4 +44,4 @@
   homepage: https://beyondgrep.com/
   license: https://www.perlfoundation.org/artistic-license-20.html
   repository: git://github.com/beyondgrep/ack3.git
-version: v3.8.0
+version: v3.8.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/ack new/ack-v3.8.1/ack
--- old/ack-v3.8.0/ack  2024-12-21 05:11:28.000000000 +0100
+++ new/ack-v3.8.1/ack  2025-01-01 04:23:56.000000000 +0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = 'v3.8.0'; # Check https://beyondgrep.com/ for updates
+our $VERSION = 'v3.8.1'; # Check https://beyondgrep.com/ for updates
 
 use 5.010001;
 
@@ -2381,6 +2381,8 @@
 How appropriate to have I<ack>nowledgements!
 
 Thanks to everyone who has contributed to ack in any way, including
+Geraint Edwards,
+Loren Howard,
 Yaroslav Halchenko,
 Thiago Perrotta,
 Thomas Gossler,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/lib/App/Ack/ConfigDefault.pm 
new/ack-v3.8.1/lib/App/Ack/ConfigDefault.pm
--- old/ack-v3.8.0/lib/App/Ack/ConfigDefault.pm 2024-12-21 05:11:28.000000000 
+0100
+++ new/ack-v3.8.1/lib/App/Ack/ConfigDefault.pm 2025-01-01 04:23:56.000000000 
+0100
@@ -420,8 +420,10 @@
 
 # Pytest
 # https://pytest.org/
---type-add=pytest:match:_test[.]py$
---type-add=pytest:match:^test_.*[.]py$
+# Pytest files are *.py files that start with test_ or end with _test.py
+# 
https://docs.pytest.org/en/stable/explanation/goodpractices.html#test-discovery
+--type-add=pytest:match:_test\.py$
+--type-add=pytest:match:^test_.*\.py$
 
 # R
 # https://www.r-project.org/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/lib/App/Ack.pm 
new/ack-v3.8.1/lib/App/Ack.pm
--- old/ack-v3.8.0/lib/App/Ack.pm       2024-12-21 05:11:28.000000000 +0100
+++ new/ack-v3.8.1/lib/App/Ack.pm       2025-01-01 04:23:56.000000000 +0100
@@ -16,7 +16,7 @@
 our $VERSION;
 our $COPYRIGHT;
 BEGIN {
-    $VERSION = 'v3.8.0'; # Check https://beyondgrep.com/ for updates
+    $VERSION = 'v3.8.1'; # Check https://beyondgrep.com/ for updates
     $COPYRIGHT = 'Copyright 2005-2024 Andy Lester.';
 }
 our $STANDALONE = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/t/ack-f.t new/ack-v3.8.1/t/ack-f.t
--- old/ack-v3.8.0/t/ack-f.t    2023-02-25 21:34:04.000000000 +0100
+++ new/ack-v3.8.1/t/ack-f.t    2025-01-01 04:23:56.000000000 +0100
@@ -20,6 +20,7 @@
         t/swamp/example.R
         t/swamp/file.bar
         t/swamp/file.foo
+        t/swamp/foo_test.py
         t/swamp/fresh.css
         t/swamp/groceries/another_subdir/fruit
         t/swamp/groceries/another_subdir/junk
@@ -62,6 +63,8 @@
         t/swamp/sample.rake
         t/swamp/service.svc
         t/swamp/stuff.cmake
+        t/swamp/test_foo.py
+        t/swamp/test.py
         t/swamp/CMakeLists.txt
         t/swamp/swamp/ignoreme.txt
         ),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/t/ack-k.t new/ack-v3.8.1/t/ack-k.t
--- old/ack-v3.8.0/t/ack-k.t    2023-02-25 21:34:04.000000000 +0100
+++ new/ack-v3.8.1/t/ack-k.t    2025-01-01 04:23:56.000000000 +0100
@@ -81,6 +81,9 @@
         t/swamp/fresh.css
         t/swamp/lua-shebang-test
         t/swamp/notes.md
+        t/swamp/test.py
+        t/swamp/test_foo.py
+        t/swamp/foo_test.py
     );
 
     my @files_no_perl = qw(
@@ -106,6 +109,9 @@
         t/swamp/fresh.css
         t/swamp/lua-shebang-test
         t/swamp/notes.md
+        t/swamp/test.py
+        t/swamp/test_foo.py
+        t/swamp/foo_test.py
     );
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/t/default-filter.t 
new/ack-v3.8.1/t/default-filter.t
--- old/ack-v3.8.0/t/default-filter.t   2023-02-25 21:34:52.000000000 +0100
+++ new/ack-v3.8.1/t/default-filter.t   2025-01-01 04:23:56.000000000 +0100
@@ -23,6 +23,7 @@
         't/swamp/example.R',
         't/swamp/file.bar',
         't/swamp/file.foo',
+        't/swamp/foo_test.py',
         't/swamp/fresh.css',
         't/swamp/fresh.min.css',
         't/swamp/fresh.css.min',
@@ -58,6 +59,8 @@
         't/swamp/sample.aspx',
         't/swamp/sample.rake',
         't/swamp/service.svc',
+        't/swamp/test.py',
+        't/swamp/test_foo.py',
         't/swamp/__pycache__/notes.pl',
         't/swamp/blib/ignore.pm',
         't/swamp/blib/ignore.pod',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/t/file-iterator.t 
new/ack-v3.8.1/t/file-iterator.t
--- old/ack-v3.8.0/t/file-iterator.t    2023-02-25 21:34:52.000000000 +0100
+++ new/ack-v3.8.1/t/file-iterator.t    2025-01-01 04:23:56.000000000 +0100
@@ -45,6 +45,7 @@
             t/swamp/favicon.ico
             t/swamp/file.bar
             t/swamp/file.foo
+            t/swamp/foo_test.py
             t/swamp/fresh.css
             t/swamp/fresh.css.min
             t/swamp/fresh.min.css
@@ -114,6 +115,8 @@
             t/swamp/service.svc
             t/swamp/solution8.tar
             t/swamp/stuff.cmake
+            t/swamp/test.py
+            t/swamp/test_foo.py
             t/swamp/CMakeLists.txt
             t/swamp/swamp/ignoreme.txt
             ),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/t/filetype-detection.t 
new/ack-v3.8.1/t/filetype-detection.t
--- old/ack-v3.8.0/t/filetype-detection.t       2023-02-25 21:34:04.000000000 
+0100
+++ new/ack-v3.8.1/t/filetype-detection.t       2025-01-01 04:23:56.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 3;
+use Test::More tests => 5;
 
 use lib 't';
 use Util;
@@ -50,5 +50,37 @@
     sets_match( \@results, \@expected, __FILE__ );
 };
 
+
+subtest Python => sub {
+    my @expected = qw(
+        t/swamp/test.py
+        t/swamp/foo_test.py
+        t/swamp/test_foo.py
+    );
+
+    my @args = qw( -f -t python t/swamp );
+    ack_sets_match( [ @args ], \@expected, 'With -t python' );
+
+    @args = qw( -f --python t/swamp );
+    ack_sets_match( [ @args ], \@expected, 'With --python' );
+};
+
+
+subtest Pytest => sub {
+    my @expected = qw(
+        t/swamp/foo_test.py
+        t/swamp/test_foo.py
+    );
+
+    my @args = qw( -f -t pytest t/swamp );
+    ack_sets_match( [ @args ], \@expected, 'With -t pytest' );
+
+    @args = qw( -f --pytest t/swamp );
+    ack_sets_match( [ @args ], \@expected, 'With --pytest' );
+};
+
+
 done_testing();
+
+
 exit 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/t/inverted-file-filter.t 
new/ack-v3.8.1/t/inverted-file-filter.t
--- old/ack-v3.8.0/t/inverted-file-filter.t     2023-02-25 21:34:52.000000000 
+0100
+++ new/ack-v3.8.1/t/inverted-file-filter.t     2025-01-01 04:23:56.000000000 
+0100
@@ -17,6 +17,7 @@
         t/swamp/example.R
         t/swamp/file.bar
         t/swamp/file.foo
+        t/swamp/foo_test.py
         t/swamp/fresh.css
         t/swamp/groceries/another_subdir/fruit
         t/swamp/groceries/another_subdir/junk
@@ -49,6 +50,8 @@
         t/swamp/sample.rake
         t/swamp/service.svc
         t/swamp/stuff.cmake
+        t/swamp/test.py
+        t/swamp/test_foo.py
         t/swamp/CMakeLists.txt
         t/swamp/swamp/ignoreme.txt
         ),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/t/swamp/foo_test.py 
new/ack-v3.8.1/t/swamp/foo_test.py
--- old/ack-v3.8.0/t/swamp/foo_test.py  1970-01-01 01:00:00.000000000 +0100
+++ new/ack-v3.8.1/t/swamp/foo_test.py  2025-01-01 04:23:56.000000000 +0100
@@ -0,0 +1,6 @@
+# foo_test.py IS a pytest test, as well as Python.
+
+code = 0
+
+# This should fail
+assert code == 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/t/swamp/test.py 
new/ack-v3.8.1/t/swamp/test.py
--- old/ack-v3.8.0/t/swamp/test.py      1970-01-01 01:00:00.000000000 +0100
+++ new/ack-v3.8.1/t/swamp/test.py      2025-01-01 04:23:56.000000000 +0100
@@ -0,0 +1,6 @@
+# test.py is NOT a pytest test, but is Python.
+
+code = 0
+
+# This should fail
+assert code == 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ack-v3.8.0/t/swamp/test_foo.py 
new/ack-v3.8.1/t/swamp/test_foo.py
--- old/ack-v3.8.0/t/swamp/test_foo.py  1970-01-01 01:00:00.000000000 +0100
+++ new/ack-v3.8.1/t/swamp/test_foo.py  2025-01-01 04:23:56.000000000 +0100
@@ -0,0 +1,6 @@
+# test_foo.py IS a pytest test, as well as Python.
+
+code = 0
+
+# This should fail
+assert code == 1

Reply via email to