Fri, 22 Nov 2024 10:13:34 UTC | login

Information for build perl-Perl-Critic-1.152-5.fc41

ID343307
Package Nameperl-Perl-Critic
Version1.152
Release5.fc41
Epoch
SummaryCritique Perl source code for best-practices
DescriptionPerl::Critic is an extensible framework for creating and applying coding standards to Perl source code. Essentially, it is a static source code analysis engine. Perl::Critic is distributed with a number of Perl::Critic::Policy modules that attempt to enforce various coding guidelines. Most Policy modules are based on Damian Conway's book Perl Best Practices. However, Perl::Critic is not limited to PBP and will even support Policies that contradict Conway. You can enable, disable, and customize those Polices through the Perl::Critic interface. You can also create new Policy modules that suit your own tastes.
Built bydavidlt
State complete
Volume DEFAULT
StartedTue, 12 Nov 2024 07:52:54 UTC
CompletedTue, 12 Nov 2024 07:52:54 UTC
Tags
f41
RPMs
src
perl-Perl-Critic-1.152-5.fc41.src.rpm (info) (download)
noarch
perl-Perl-Critic-1.152-5.fc41.noarch.rpm (info) (download)
perl-Test-Perl-Critic-Policy-1.152-5.fc41.noarch.rpm (info) (download)
Changelog * Mon Oct 21 2024 Petr Pisar <ppisar@redhat.com> - 1.152-5 - Require ExtUtils::Manifest for Perl::Critic::TestUtils::bundled_policy_names() * Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.152-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.152-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.152-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 17 2023 Paul Howarth <paul@city-fan.org> - 1.152-1 - Update to 1.152 (rhbz#2244582) - Fix a test failure for Subroutines::RequireArgUnpacking (GH#1048) - Fix a test failure in t/06_violation.t on Perl 5.39.1 or above (GH#1037) * Mon Sep 25 2023 Paul Howarth <paul@city-fan.org> - 1.150-4 - Fix for Perl::Critic::Policy::Subroutines::RequireArgUnpacking with PPI 1.277 (GH#1048) * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.150-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 10 2023 Paul Howarth <paul@city-fan.org> - 1.150-2 - Use SPDX-format license tag for perl-Test-Perl-Critic-Policy sub-package - Avoid use of deprecated patch syntax * Sun Mar 05 2023 Paul Howarth <paul@city-fan.org> - 1.150-1 - Update to 1.150 (rhnz#2175475) Enhancements - Added Test::Builder and Text::Wrap to the list of default exceptions in Variables::ProhibitPackageVars (GH#1025) Internals - We now use PPIx::Utils instead of PPIx::Utilities, which is more recently maintained * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.148-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Jan 08 2023 Paul Howarth <paul@city-fan.org> - 1.148-1 - Update to 1.148 (rhbz#2159041) Possible breakage - Removed Perl::Critic::Utils::DataConversion; any add-on policies that used it will need to copy the functions from there into their own code Documentation - ProhibitCascadingIfElse no longer suggests using given/when Internals - We no longer require Test::Deep for testing - Test::Kwalitee is now only recommended, not required - Random micro-optimizations, like using hashes for array contents checking, and using any() instead of calling grep as a boolean * Thu Dec 22 2022 Paul Howarth <paul@city-fan.org> - 1.146-1 - Update to 1.146 (rhbz#2155727) New features - ProhibitBarewordDirHandles now checks for sysopen as well as open (GH#732) - Added a Dockerfile in the extras/ directory for those who want to run P::C in a container (GH#832) - Subroutines::ProhibitBuiltinHomonyms now can take an "allows" parameter to specify subroutines that won't violate the policy (GH#14, GH#932) - ProhibitStringyEval now allows package declarations in evals when allow_includes = true; this is a common way packages are declared (GH#908) Bug Fixes - Fixed some problems with how Perl::Critic determined scope (GH#793) - Fixed improper violation for lexical subroutines in Subroutines::ProhibitBuiltinHomonyms (GH#973, GH#955, GH#546) - ValuesAndExpressions::RequireNumberSeparators no longer complains if your version numbers do not have number separators in them (GH#856, GH#904) - Fixed a false positive with split() in ProhibitUnusedCapture (GH#888) Internals - We no longer use or need IO::String (GH#997) - Removed requirements and mentions of modules no longer used: - Fatal - IO::String - IPC::Open2 - Pod::Parser - Task::Weaken * Tue Dec 06 2022 Paul Howarth <paul@city-fan.org> - 1.144-1 - Update to 1.144 (rhbz#2151095) - Perl::Critic now requires Perl 5.10.1 New features - The ProhibitAugmentedAssignmentInDeclaration policy now allows augmented assignments to "our" variables, if the allow_our option is enabled (GH#993) - ProhibitExplicitISA now recommends "use parent" instead of "use base" (GH#987) - RequireUseWarnings now recognizes that "use v5.36" implies warnings (GH#984) - Subroutines::ProhibitNestedSubs now allows that lexical subroutines can be inside other subroutines (GH#946, GH#971, GH#972) - RequireUseStrict now knows that Test::Spec enables it (GH#906) - ProhibitUnusedCapture now understands @{^CAPTURE} and %{^CAPTURE_ALL} that were added in Perl 5.26.0 (GH#778) - Allow numeric operators on special number strings 'NaN' and 'inf' (GH#803) Fixes - Miscellanea::ProhibitUselessNoCritic no longer filters out errors about itself, just as Miscellanea::ProhibitUnrestrictedNoCritic cannot (GH#939) - Fixed GH#878: bareword filehandle dies on "open(CHECK, '/foo');" Internals - Updated to using Perl 5.10.1; starting migrating to Perl 5.10-isms like defined-or Documentation - Updated some outdated docs in Perl::Critic::Utils (GH#951) * Tue Nov 29 2022 Paul Howarth <paul@city-fan.org> - 1.142-1 - Update to 1.142 (rhbz#2149154) - This is the last version of Perl::Critic that will run on Perl 5.6.1; the next release will require Perl 5.10.1 New Features - Add new policy InputOutput::ProhibitBarewordDirHandles, comparable to ProhibitBarewordFilehandles (GH#912) - References::ProhibitDoubleSigils policy now allows for Perl's postfix dereference syntax and does not report a policy violation (GH#578) - Added Test::Class::Moose and MooseX::MethodAttributes::Role to the list of modules that are equivalent to "use strict" (GH#808, GH#886) - Subroutines::RequireArgUnpacking now detects anonymous subroutines with attributes, prototypes or signatures (GH#684) - ProhibitVoidMap and ProhibitVoidGrep now detect void context inside subs (GH#905), such as: sub { map { foo($_) } @list; return } - RequireArgUnpacking now allows a closure to be recognized as a way that subroutine arguments can be unpacked; this is specified with an optional allow_closures configuration option (GH#737) - ProhibitTwoArgOpen now disallows one-arg opens as well; also, it no longer allows two-arg opening of STDIN/STDOUT/STDERR (GH#652, GH#653) Fixes - ProhibitLeadingZeros would not handle sysopen and lexical variables correctly; this has been fixed (GH#789) Documentation - We note that the any() function is available in both List::MoreUtils and List::SomeUtils - Added instructions to perlcritic on how to integrate with Visual Studio Code Internals - Switch to using List::SomeUtils instead of List::MoreUtils - Use SPDX-format license tag