Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ack for openSUSE:Factory checked in at 2022-09-26 18:48:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ack (Old) and /work/SRC/openSUSE:Factory/.ack.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ack" Mon Sep 26 18:48:26 2022 rev:32 rq:1006025 version:3.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ack/ack.changes 2021-03-30 21:50:44.710930333 +0200 +++ /work/SRC/openSUSE:Factory/.ack.new.2275/ack.changes 2022-09-26 18:48:27.656083402 +0200 @@ -1,0 +2,9 @@ +Sat Sep 17 14:03:22 UTC 2022 - Andreas Stieger <andreas.stie...@gmx.de> + +- ack 3.6.0: + * Add default ignores for Python's pickle serialization format + * Add default ignore for Visual Studio's user & workspace settings + * Add support for the Crystal language + * Add .sbt as a Scala extension + +------------------------------------------------------------------- Old: ---- ack-v3.5.0.tar.gz New: ---- ack-v3.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ack.spec ++++++ --- /var/tmp/diff_new_pack.3GJZL2/_old 2022-09-26 18:48:29.176086274 +0200 +++ /var/tmp/diff_new_pack.3GJZL2/_new 2022-09-26 18:48:29.180086281 +0200 @@ -1,7 +1,7 @@ # # spec file for package ack # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ %endif %{!?perl_make_install: %global perl_make_install make DESTDIR=%{buildroot} install_vendor} Name: ack -Version: 3.5.0 +Version: 3.6.0 Release: 0 Summary: Grep-Like Text Finder License: Artistic-2.0 @@ -68,7 +68,7 @@ %build perl Makefile.PL -make %{?_smp_mflags} +%make_build %install %perl_make_install @@ -86,7 +86,7 @@ %check %if %{run_tests} -make test %{?_smp_mflags} +%make_build test %endif %files ++++++ ack-v3.5.0.tar.gz -> ack-v3.6.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/Changes new/ack-v3.6.0/Changes --- old/ack-v3.5.0/Changes 2021-03-13 05:36:29.000000000 +0100 +++ new/ack-v3.6.0/Changes 2022-08-21 06:00:33.000000000 +0200 @@ -1,5 +1,23 @@ History file for ack 3. https://beyondgrep.com/ +v3.6.0 Sat Aug 20 22:57:47 CDT 2022 +======================================== +[FEATURES] +Added default ignores for Python's pickle serialization format (GH#348) + +Added default ignore for Visual Studio's user & workspace settings. Thanks, +Gabor Szabo. (GH#324) + +Added support for the Crystal language. Thanks, Gabor Szabo. (GH#340) + +Fixed some spelling errors. Thanks, Frieder Bluemle. (GH#310) + +Added .sbt as a Scala extension. Thanks, Grzegorz Kaczmarczyk. (GH#322) + +[DOCS] +Fixed incorrect example in the docs for --range-start. Thanks, Alex Beamish. + + v3.5.0 Fri Mar 12 22:29:44 CST 2021 ======================================== [FIXES] @@ -254,7 +272,7 @@ Added -P as a negation of --proximate. It is the same as --proximate=0. If you have --proximate in an .ackrc, -P can be used to cancel it. -Added --ts for Typescript. +Added --ts for TypeScript. 2.999_03 Fri Jan 19 11:02:46 CST 2018 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/META.json new/ack-v3.6.0/META.json --- old/ack-v3.5.0/META.json 2021-03-13 05:36:38.000000000 +0100 +++ new/ack-v3.6.0/META.json 2022-08-21 06:02:47.000000000 +0200 @@ -4,13 +4,13 @@ "Andy Lester <a...@petdance.com>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.60, CPAN::Meta::Converter version 2.143240", + "generated_by" : "ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter version 2.150010", "license" : [ "artistic_2" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "ack", "no_index" : { @@ -69,5 +69,6 @@ }, "x_MailingList" : "https://groups.google.com/group/ack-users" }, - "version" : "v3.5.0" + "version" : "v3.6.0", + "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/META.yml new/ack-v3.6.0/META.yml --- old/ack-v3.5.0/META.yml 2021-03-13 05:36:38.000000000 +0100 +++ new/ack-v3.6.0/META.yml 2022-08-21 06:02:47.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.60, CPAN::Meta::Converter version 2.143240' +generated_by: 'ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter version 2.150010' license: artistic_2 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -43,4 +43,5 @@ homepage: https://beyondgrep.com/ license: https://www.perlfoundation.org/artistic-license-20.html repository: git://github.com/beyondgrep/ack3.git -version: v3.5.0 +version: v3.6.0 +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/README.md new/ack-v3.6.0/README.md --- old/ack-v3.5.0/README.md 2021-03-13 05:36:29.000000000 +0100 +++ new/ack-v3.6.0/README.md 2022-08-21 06:00:33.000000000 +0200 @@ -71,7 +71,7 @@ # License -Copyright 2005-2021 Andy Lester. +Copyright 2005-2022 Andy Lester. This program is free software; you can redistribute it and/or modify it under the terms of the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/ack new/ack-v3.6.0/ack --- old/ack-v3.5.0/ack 2021-03-13 05:36:29.000000000 +0100 +++ new/ack-v3.6.0/ack 2022-08-21 06:00:33.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = 'v3.5.0'; # Check https://beyondgrep.com/ for updates +our $VERSION = 'v3.6.0'; # Check https://beyondgrep.com/ for updates use 5.010001; @@ -1255,11 +1255,11 @@ For example, if you wanted to search all HTML files up until the first instance of the C<< <body> >>, you could do - ack foo --range-end='<body>' + ack foo --html --range-end='<body>' Or to search after Perl's `__DATA__` or `__END__` markers, you would do - ack pattern --range-end='^__(END|DATA)__' + ack pattern --perl --range-start='^__(END|DATA)__' It's possible for a range to start and stop on the same line. For example @@ -2164,7 +2164,7 @@ ack is based at GitHub at L<https://github.com/beyondgrep/ack3> Please report any bugs or feature requests to the issues list at -Github: L<https://github.com/beyondgrep/ack3/issues>. +GitHub: L<https://github.com/beyondgrep/ack3/issues>. Please include the operating system that you're using; the output of the command C<ack --version>; and any customizations in your F<.ackrc> @@ -2191,7 +2191,7 @@ L<https://github.com/beyondgrep/ack3> -=item * The ack issues list at Github +=item * The ack issues list at GitHub L<https://github.com/beyondgrep/ack3/issues> @@ -2325,6 +2325,10 @@ How appropriate to have I<ack>nowledgements! Thanks to everyone who has contributed to ack in any way, including +Eric Pement, +Gabor Szabo, +Frieder Bluemle, +Grzegorz Kaczmarczyk, Dan Book, Tomasz Konojacki, Salomon Smeke, @@ -2449,7 +2453,7 @@ =head1 COPYRIGHT & LICENSE -Copyright 2005-2021 Andy Lester. +Copyright 2005-2022 Andy Lester. This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License v2.0. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/lib/App/Ack/ConfigDefault.pm new/ack-v3.6.0/lib/App/Ack/ConfigDefault.pm --- old/ack-v3.5.0/lib/App/Ack/ConfigDefault.pm 2021-03-13 05:36:29.000000000 +0100 +++ new/ack-v3.6.0/lib/App/Ack/ConfigDefault.pm 2022-08-21 06:00:33.000000000 +0200 @@ -152,7 +152,7 @@ # core dumps --ignore-file=match:/core[.]\d+$/ -# minified Javascript +# minified JavaScript --ignore-file=match:/[.-]min[.]js$/ --ignore-file=match:/[.]js[.]min$/ @@ -173,15 +173,24 @@ # Common archives, as an optimization --ignore-file=ext:gz,tar,tgz,zip -# Python compiles modules +# Python compiled modules --ignore-file=ext:pyc,pyd,pyo +# Python's pickle serialization format +# https://docs.python.org/2/library/pickle.html#example +# https://docs.python.org/3.7/library/pickle.html#examples +--ignore-file=ext:pkl,pickle + # C extensions --ignore-file=ext:so # Compiled gettext files --ignore-file=ext:mo +# Visual Studio user and workspace settings +# https://code.visualstudio.com/docs/getstarted/settings +--ignore-dir=.vscode + ### Filetypes defined # Makefiles @@ -263,6 +272,10 @@ # C# --type-add=csharp:ext:cs +# Crystal-lang +# https://crystal-lang.org/ +--type-add=crystal:ext:cr,ecr + # CSS # https://www.w3.org/Style/CSS/ --type-add=css:ext:css @@ -424,7 +437,7 @@ # Scala # https://www.scala-lang.org/ ---type-add=scala:ext:scala +--type-add=scala:ext:scala,sbt # Scheme # https://groups.csail.mit.edu/mac/projects/scheme/ @@ -475,7 +488,7 @@ # https://toml.io/ --type-add=toml:ext:toml -# Typescript +# TypeScript # https://www.typescriptlang.org/ --type-add=ts:ext:ts,tsx diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/lib/App/Ack/ConfigLoader.pm new/ack-v3.6.0/lib/App/Ack/ConfigLoader.pm --- old/ack-v3.5.0/lib/App/Ack/ConfigLoader.pm 2021-03-13 05:36:29.000000000 +0100 +++ new/ack-v3.6.0/lib/App/Ack/ConfigLoader.pm 2022-08-21 06:00:33.000000000 +0200 @@ -26,8 +26,11 @@ no_ignore_case ); Getopt::Long::Configure( @standard, @opts ); + + return; } + sub _generate_ignore_dir { my ( $option_name, $opt ) = @_; @@ -895,6 +898,9 @@ g => 1, l => 1, }, + I => { + f => 1, + }, L => { A => 1, B => 1, @@ -959,6 +965,7 @@ B => 1, C => 1, H => 1, + I => 1, L => 1, break => 1, c => 1, @@ -969,6 +976,7 @@ group => 1, h => 1, heading => 1, + i => 1, l => 1, m => 1, match => 1, @@ -976,6 +984,7 @@ output => 1, p => 1, passthru => 1, + 'smart-case' => 1, u => 1, v => 1, x => 1, @@ -1030,6 +1039,9 @@ g => 1, l => 1, }, + i => { + f => 1, + }, l => { A => 1, B => 1, @@ -1139,6 +1151,9 @@ o => 1, output => 1, }, + 'smart-case' => { + f => 1, + }, u => { f => 1, g => 1, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/lib/App/Ack.pm new/ack-v3.6.0/lib/App/Ack.pm --- old/ack-v3.5.0/lib/App/Ack.pm 2021-03-13 05:36:29.000000000 +0100 +++ new/ack-v3.6.0/lib/App/Ack.pm 2022-08-21 06:00:33.000000000 +0200 @@ -16,8 +16,8 @@ our $VERSION; our $COPYRIGHT; BEGIN { - $VERSION = 'v3.5.0'; # Check https://beyondgrep.com/ for updates - $COPYRIGHT = 'Copyright 2005-2021 Andy Lester.'; + $VERSION = 'v3.6.0'; # Check https://beyondgrep.com/ for updates + $COPYRIGHT = 'Copyright 2005-2022 Andy Lester.'; } our $STANDALONE = 0; our $ORIGINAL_PROGRAM_NAME; @@ -450,7 +450,7 @@ ack allows customization of the colors it uses when presenting matches onscreen. See the "ACK COLORS" section of the ack manual (ack --man). -Colors may be specified as "rggNNN" where "NNN" is a triplet of digits +Colors may be specified as "rgbNNN" where "NNN" is a triplet of digits from 0 to 5 specifying the intensity of red, green and blue, respectively. Here is a grid of the 216 possible values for NNN. @@ -694,7 +694,7 @@ # Get rid of any literal backslashes first to avoid confusion. $pat =~ s/\\\\//g; - my $metacharacter = qr/ + my $metacharacter = qr{ |\\A # Beginning of string |\\B # Not word boundary |\\c[a-zA-Z] # Control characters @@ -712,7 +712,7 @@ |\\X # ??? |\\x[0-9A-Fa-f]{2} # Hex sequence |\\Z # End of string - /x; + }x; $pat =~ s/$metacharacter//g; my $name = qr/[_A-Za-z][_A-Za-z0-9]*?/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/t/ack-color.t new/ack-v3.6.0/t/ack-color.t --- old/ack-v3.5.0/t/ack-color.t 2021-03-13 04:16:14.000000000 +0100 +++ new/ack-v3.6.0/t/ack-color.t 2022-08-21 06:00:33.000000000 +0200 @@ -167,14 +167,14 @@ my @non_interactive_colorless_results = run_ack( @args, $file ); is_deeply( \@non_interactive_colorless_results, - [$expected_without_color], "Filename not colored when output is redirected", + [$expected_without_color], 'Filename not colored when output is redirected' ); # Now redirect output, but add --color explicitly. my @non_interactive_colored_results = run_ack( @args, '--color', $file ); is_deeply( \@non_interactive_colored_results, - [$expected_with_color], "Filename colored when output is redirected and '--color' is used", + [$expected_with_color], 'Filename colored when output is redirected and --color is used' ); }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/t/ack-ignore-file.t new/ack-v3.6.0/t/ack-ignore-file.t --- old/ack-v3.5.0/t/ack-ignore-file.t 2021-03-13 04:16:14.000000000 +0100 +++ new/ack-v3.6.0/t/ack-ignore-file.t 2022-08-21 06:00:33.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 3; +use Test::More tests => 2; use lib 't'; use Util; @@ -62,24 +62,6 @@ }; -subtest 'match:xxx matching' => sub { - plan tests => 6; - - # The match is case-insensitive, unaffected by -i or -I. - for my $u ( 'u', 'U' ) { - for my $I ( '-i', '-I', undef ) { - my @args = ( qw( -f t/swamp/groceries ), "--ignore-file=match:$u" ); - push( @args, $I ) if defined $I; - ack_sets_match( - [ @args ], - [ @meat ], - 'Should only match files with do not have "u" in them: ' . join( ' ', map { $_ // 'undef' } @args ) - ); - } - } -}; - - subtest 'Invalid invocation' => sub { plan tests => 8; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/t/double-hyphen.t new/ack-v3.6.0/t/double-hyphen.t --- old/ack-v3.5.0/t/double-hyphen.t 2021-03-13 04:16:14.000000000 +0100 +++ new/ack-v3.6.0/t/double-hyphen.t 2022-08-21 06:00:33.000000000 +0200 @@ -23,7 +23,7 @@ HERE my @files = qw( t/text/ ); - my @args = ( '-i', '--sort', '--', '-E' ); # The -i must be in force for the /-E/ to find "-e" + my @args = qw( -i --sort -- -E ); # The -i must be in force for the /-E/ to find "-e" ack_lists_match( [ @args, @files ], \@expected, 'Looking for militia with metacharacters' ); }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ack-v3.5.0/t/illegal-regex.t new/ack-v3.6.0/t/illegal-regex.t --- old/ack-v3.5.0/t/illegal-regex.t 2021-03-13 04:16:14.000000000 +0100 +++ new/ack-v3.6.0/t/illegal-regex.t 2022-08-21 06:00:33.000000000 +0200 @@ -42,7 +42,7 @@ is_empty_array( $output, 'No output' ); is( $stderr->[0], "$ACK: Invalid regex 'foo{'", 'Line 1 OK' ); - is( $stderr->[1], "Regex: foo{", 'Line 2 OK' ); + is( $stderr->[1], 'Regex: foo{', 'Line 2 OK' ); like( $stderr->[2], qr/\Q^---HERE Unescaped left brace/, 'The message changes between Perl versions' ); is( scalar @{$stderr}, 3, 'Only 3 lines' ); };