[Bug 6679] New: Fixing code so it passes basic Perl::Critic tests
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Bug #: 6679 Summary: Fixing code so it passes basic Perl::Critic tests Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: Architecture, internals, and plumbing AssignedTo: gmcharlt@gmail.com ReportedBy: chris@bigballofwax.co.nz QAContact: koha-bugs@lists.koha-community.org This bug will be an ongoing one, until all our code passes perl critic tests -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #1 from Chris Cormack <chris@bigballofwax.co.nz> 2011-08-08 08:34:43 UTC --- Created attachment 4883 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4883 Bug 6679 : Fixing a style error to pass Perl::Critic, plus silencing a warn -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #4883|0 |1 is obsolete| | --- Comment #2 from Chris Cormack <chris@bigballofwax.co.nz> 2011-08-08 08:51:47 UTC --- Created attachment 4884 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4884 Bug 6679 : Fixing a style error to pass Perl::Critic, plus silencing a warn -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #3 from Chris Cormack <chris@bigballofwax.co.nz> 2011-08-08 09:01:09 UTC --- Created attachment 4885 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4885 Bug 6679: More style errors, plus fixing a security issue -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #4 from Chris Cormack <chris@bigballofwax.co.nz> 2011-08-08 09:04:50 UTC --- Created attachment 4886 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4886 Bug 6679 : acqui/ now passes Perl::Critic tests -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent Patch Status|--- |Needs Signoff Severity|enhancement |minor -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #5 from Chris Cormack <chris@bigballofwax.co.nz> 2011-08-08 09:10:51 UTC --- Created attachment 4887 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4887 Bug 6679: Follow up patch explicitly using Carp -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #6 from Chris Cormack <chris@bigballofwax.co.nz> 2011-08-08 09:43:04 UTC --- Created attachment 4888 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4888 Bug 6679 : scripts under admin style fixed Contrary to common belief, subroutine prototypes do not enable compile-time checks for proper arguments. Don't use them. Defining a named sub within another sub, does not prevent that subroutine being global -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #4884|0 |1 is obsolete| | Attachment #4885|0 |1 is obsolete| | Attachment #4886|0 |1 is obsolete| | Attachment #4887|0 |1 is obsolete| | Attachment #4888|0 |1 is obsolete| | --- Comment #7 from Frédéric Demians <frederic@tamil.fr> 2011-09-17 06:16:10 UTC --- Created attachment 5445 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5445 Signed-off patch Group Chris patches into one -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #8 from Frédéric Demians <frederic@tamil.fr> 2011-09-17 06:17:01 UTC --- Created attachment 5446 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5446 Followup patch for acqui/histsearch.pl -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #9 from Maxime Pelletier <pelletiermaxime@gmail.com> 2011-09-20 21:47:43 UTC --- Created attachment 5483 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5483 fix 3 :utf8 for :encoding(UTF-8) fix 3 :utf8 for :encoding(UTF-8). Pretty useless check for output as explained in http://search.cpan.org/~elliotjs/Perl-Critic-1.116/lib/Perl/Critic/Policy/In... , but it makes the perl::critic pass for me. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|PATCH-Sent |P5 Patch Status|Needs Signoff |--- --- Comment #10 from Chris Cormack <chris@bigballofwax.co.nz> 2011-09-21 03:00:17 UTC --- Patches pushed, leaving bug open to catch more Now passing for 130 files -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #5445|0 |1 is obsolete| | Attachment #5446|0 |1 is obsolete| | --- Comment #11 from Chris Cormack <chris@bigballofwax.co.nz> 2011-09-21 03:53:31 UTC --- Created attachment 5487 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5487 Bug 6679 : Enable Critic tests for authorities and fixed resulting warnings -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #5483|0 |1 is patch| | Attachment #5483|0 |1 is obsolete| | Attachment #5483|application/octet-stream |text/plain mime type| | -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent Patch Status|--- |Needs Signoff -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Ian Walls <ian.walls@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian.walls@bywatersolutions. | |com Patch Status|Needs Signoff |Passed QA --- Comment #12 from Ian Walls <ian.walls@bywatersolutions.com> 2011-09-22 12:06:03 UTC --- Passing latest patch through QA (also consider this my sign off) -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #5487|0 |1 is obsolete| | -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|PATCH-Sent |P5 Patch Status|Passed QA |--- --- Comment #13 from Chris Cormack <chris@bigballofwax.co.nz> 2011-09-23 02:19:55 UTC --- All pushed, leaving open for me -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #14 from Chris Cormack <chris@bigballofwax.co.nz> 2011-10-31 07:58:20 UTC --- Created attachment 6121 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6121 Bug 6679: Fixing admin/aqplain :encoding(UTF-8) gives strict validation -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent Patch Status|--- |Needs Signoff -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #15 from Chris Cormack <chris@bigballofwax.co.nz> 2011-10-31 08:02:47 UTC --- Created attachment 6122 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6122 Bug 6679: catalogue/ now passing perl critic tests -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #16 from Chris Cormack <chris@bigballofwax.co.nz> 2011-10-31 08:18:42 UTC --- Created attachment 6123 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6123 Bug 6679 : cataloguing/ now passing critic tests Declare variables outside of conditionals Don't use prototypes http://www.modernperlbooks.com/mt/2009/08/the-problem-with-prototypes.html Use ":encoding(UTF-8)" to get strict validation. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |7119 -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #17 from Chris Cormack <chris@bigballofwax.co.nz> 2011-11-02 03:02:32 UTC --- Created attachment 6139 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6139 Bug 6679 : Adding license statement and stopping declaring variables in a conditional -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #18 from Chris Cormack <chris@bigballofwax.co.nz> 2011-11-02 03:02:43 UTC --- Created attachment 6140 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6140 Bug 6679 : Declare variables outside of conditionals -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #19 from Chris Cormack <chris@bigballofwax.co.nz> 2011-11-02 03:14:18 UTC --- Created attachment 6141 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6141 Bug 6679 : Don't declare variables in conditionals Don't change $_ in a list context http://search.cpan.org/~elliotjs/Perl-Critic-1.116/lib/Perl/Critic/Policy/Co... -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #20 from Chris Cormack <chris@bigballofwax.co.nz> 2011-11-02 03:20:28 UTC --- Created attachment 6142 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6142 Bug 6679 : Not using strict .. bad script, no cookie for you! -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #21 from Chris Cormack <chris@bigballofwax.co.nz> 2011-11-02 03:24:43 UTC --- Created attachment 6143 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6143 Bug 6679 : Don't declare variables in conditionals -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #22 from Chris Cormack <chris@bigballofwax.co.nz> 2011-11-02 03:28:31 UTC --- Created attachment 6144 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6144 Bug 6679 : Tidying changed parts of file -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |paul.poulain@biblibre.com AssignedTo|gmcharlt@gmail.com |chris@bigballofwax.co.nz --- Comment #23 from Paul Poulain <paul.poulain@biblibre.com> 2011-11-06 17:04:15 UTC --- The 2nd patch does not work well I think (it also does not apply, but it's easily fixed) in showmarc.pl, before your patch, my biblio with diacritic look like : 200 1 _aMassacre (The) éô ï (éô ï is what i'm expecting) After the patch, it looks like : 200 1 _aMassacre (The) éô ï which is the sign of a double encoded biblio record. Marking "failed QA" for now. The 3rd patch, that updates perlcritic.tt does not apply after that (i've not tested further, I suspect they will conflict because catalogue has not been added Once the showmarc issue is solved, i'll test & push those usefull code cleaning patches as fast as possible -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6144|0 |1 is obsolete| | --- Comment #24 from Paul Poulain <paul.poulain@biblibre.com> 2011-11-06 17:20:22 UTC --- Comment on attachment 6144 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6144 Bug 6679 : Tidying changed parts of file this patch has been pushed -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6143|0 |1 is obsolete| | --- Comment #25 from Paul Poulain <paul.poulain@biblibre.com> 2011-11-06 17:20:38 UTC --- Comment on attachment 6143 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6143 Bug 6679 : Don't declare variables in conditionals this patch has been pushed -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6142|0 |1 is obsolete| | --- Comment #26 from Paul Poulain <paul.poulain@biblibre.com> 2011-11-06 17:20:59 UTC --- Comment on attachment 6142 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6142 Bug 6679 : Not using strict .. bad script, no cookie for you! this patch has been pushed -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6141|0 |1 is obsolete| | --- Comment #27 from Paul Poulain <paul.poulain@biblibre.com> 2011-11-06 17:21:17 UTC --- Comment on attachment 6141 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6141 Bug 6679 : Don't declare variables in conditionals Don't change $_ in a list context http://search.cpan.org/~elliotjs/Perl-Critic-1.116/lib/Perl/Critic/Policy/Co... this patch has been pushed -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6140|0 |1 is obsolete| | --- Comment #28 from Paul Poulain <paul.poulain@biblibre.com> 2011-11-06 17:21:32 UTC --- Comment on attachment 6140 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6140 Bug 6679 : Declare variables outside of conditionals This patch has been pushed -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6121|0 |1 is obsolete| | --- Comment #29 from Paul Poulain <paul.poulain@biblibre.com> 2011-11-06 17:30:21 UTC --- Comment on attachment 6121 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6121 Bug 6679: Fixing admin/aqplain :encoding(UTF-8) gives strict validation this patch has been pushed -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #30 from Chris Nighswonger <cnighswonger@foundations.edu> 2011-11-09 19:58:13 UTC --- Created attachment 6270 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6270 Reverting lines which break label-print.pl -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #31 from Chris Nighswonger <cnighswonger@foundations.edu> 2011-11-09 20:50:57 UTC --- Created attachment 6271 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6271 Fixing critic complaint: Don't change $_ in a list context -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #32 from Chris Cormack <chris@bigballofwax.co.nz> 2011-12-08 08:11:21 UTC --- Created attachment 6663 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6663 Bug 6679 : Allowing eval require -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6122|0 |1 is obsolete| | --- Comment #33 from Paul Poulain <paul.poulain@biblibre.com> 2011-12-08 09:32:38 UTC --- Comment on attachment 6122 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6122 Bug 6679: catalogue/ now passing perl critic tests patch pushed -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6123|0 |1 is obsolete| | --- Comment #34 from Paul Poulain <paul.poulain@biblibre.com> 2011-12-08 09:34:10 UTC --- Comment on attachment 6123 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6123 Bug 6679 : cataloguing/ now passing critic tests patch pushed. trying to prove cataloguing show me some errors in plugins though: prove t/00-testcritic.t t/00-testcritic.t .. 196/246 # Failed test 'Test::Perl::Critic for "cataloguing/value_builder/stocknumber.pl"' # at /usr/share/perl5/Test/Perl/Critic.pm line 110. # # Perl::Critic found these violations in "cataloguing/value_builder/stocknumber.pl": # Code before strictures are enabled at line 30, column 1. See page 429 of PBP. (Severity: 5) t/00-testcritic.t .. 239/246 # Failed test 'Test::Perl::Critic for "cataloguing/value_builder/unimarc_field_210c.pl"' # at /usr/share/perl5/Test/Perl/Critic.pm line 110. # # Perl::Critic found these violations in "cataloguing/value_builder/unimarc_field_210c.pl": # Code before strictures are enabled at line 40, column 1. See page 429 of PBP. (Severity: 5) # Variable declared in conditional statement at line 113, column 9. Declare variables outside of the condition. (Severity: 5) t/00-testcritic.t .. 243/246 # Failed test 'Test::Perl::Critic for "cataloguing/value_builder/unimarc_field_4XX.pl"' # at /usr/share/perl5/Test/Perl/Critic.pm line 110. # # Perl::Critic found these violations in "cataloguing/value_builder/unimarc_field_4XX.pl": # Variable declared in conditional statement at line 272, column 9. Declare variables outside of the condition. (Severity: 5) # Variable declared in conditional statement at line 286, column 9. Declare variables outside of the condition. (Severity: 5) # Variable declared in conditional statement at line 292, column 9. Declare variables outside of the condition. (Severity: 5) # Variable declared in conditional statement at line 377, column 13. Declare variables outside of the condition. (Severity: 5) t/00-testcritic.t .. 245/246 # Looks like you failed 3 tests of 246. I think it's worth activating the test (it's better to have a test showing something is wrong than doing no test and thinking things are OK ;-) ) -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6139|0 |1 is obsolete| | --- Comment #35 from Paul Poulain <paul.poulain@biblibre.com> 2011-12-08 09:34:24 UTC --- Comment on attachment 6139 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6139 Bug 6679 : Adding license statement and stopping declaring variables in a conditional patch pushed -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #36 from Paul Poulain <paul.poulain@biblibre.com> 2011-12-08 09:34:34 UTC --- Comment on attachment 6663 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6663 Bug 6679 : Allowing eval require patch pushed -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6663|0 |1 is obsolete| | -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6270|0 |1 is obsolete| | --- Comment #37 from Paul Poulain <paul.poulain@biblibre.com> 2011-12-08 09:37:49 UTC --- Comment on attachment 6270 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6270 Reverting lines which break label-print.pl patch already applied (bug 7207) -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6271|0 |1 is obsolete| | --- Comment #38 from Paul Poulain <paul.poulain@biblibre.com> 2011-12-08 09:38:20 UTC --- Comment on attachment 6271 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6271 Fixing critic complaint: Don't change $_ in a list context patch already applied (bug 7207) -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Nighswonger <cnighswonger@foundations.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cnighswonger@foundations.ed | |u --- Comment #39 from Chris Nighswonger <cnighswonger@foundations.edu> 2011-12-08 16:11:50 UTC --- The latest round of patches for this bug do not apply cleanly to 3.6.x. Please attach corrected patches to this bug report. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #40 from Paul Poulain <paul.poulain@biblibre.com> 2011-12-08 16:14:24 UTC --- Created attachment 6670 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6670 Bug 6697: fix missing use strict The 3 files had use strict missing. The patch add the use strict and modify what's needed to work with it 4XX.pl also has some perlcritic fixes: Variable declared in conditional statement at line XXX, column 9. Declare variables outside of the condition. (Severity: 5) -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #41 from Chris Cormack <chris@bigballofwax.co.nz> 2011-12-08 17:57:27 UTC --- Which patches chris_n .. they have been marked obsolete and I have lost track of them, If you list the ones you need ill rebase them. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6670|0 |1 is obsolete| | --- Comment #42 from Chris Cormack <chris@bigballofwax.co.nz> 2011-12-08 18:04:41 UTC --- Created attachment 6675 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6675 Bug 6679: fix missing use strict The 3 files had use strict missing. The patch add the use strict and modify what's needed to work with it 4XX.pl also has some perlcritic fixes: Variable declared in conditional statement at line XXX, column 9. Declare variables outside of the condition. (Severity: 5) Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch Status|Needs Signoff |Signed Off QAContact|koha-bugs@lists.koha-commun |ian.walls@bywatersolutions. |ity.org |com -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #43 from Chris Nighswonger <cnighswonger@foundations.edu> 2011-12-08 19:14:15 UTC --- (In reply to comment #41)
Which patches chris_n .. they have been marked obsolete and I have lost track of them,
If you list the ones you need ill rebase them.
Here are the commit ids: 4a14e7dbe69db0517d1d333a644c4abeb0a42cb8 a047dea5e46338d3d664935451764fffe56e6d9e dc6e1031f8c2aa36e88ca39a70c5b7d9fd63065d -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #44 from Chris Cormack <chris@bigballofwax.co.nz> 2011-12-08 19:26:14 UTC --- Created attachment 6676 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6676 [3.6.x] Bug 6679: catalogue/ now passing perl critic tests Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #45 from Chris Cormack <chris@bigballofwax.co.nz> 2011-12-08 19:26:46 UTC --- Created attachment 6677 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6677 [3.6.x] Bug 6679 : cataloguing/ now passing critic tests Declare variables outside of conditionals Don't use prototypes http://www.modernperlbooks.com/mt/2009/08/the-problem-with-prototypes.html Use ":encoding(UTF-8)" to get strict validation. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #46 from Chris Cormack <chris@bigballofwax.co.nz> 2011-12-08 19:27:12 UTC --- Created attachment 6678 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6678 [3.6.x] Bug 6679 : Adding license statement and stopping declaring variables in a conditional -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6675|0 |1 is obsolete| | --- Comment #47 from Paul Poulain <paul.poulain@biblibre.com> 2011-12-09 08:52:12 UTC --- Comment on attachment 6675 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6675 Bug 6679: fix missing use strict patch pushed -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch Status|Signed Off |Patch Pushed --- Comment #48 from Paul Poulain <paul.poulain@biblibre.com> 2011-12-13 14:15:27 UTC --- Chris_n, please apply those patches, then back to "priority 1" and no patch status, until more tests are provided -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Nighswonger <cnighswonger@foundations.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|PATCH-Sent |P1 - high --- Comment #49 from Chris Nighswonger <cnighswonger@foundations.edu> 2011-12-13 14:26:30 UTC --- These patches were applied to 3.6.x last week. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6676|0 |1 is obsolete| | -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6677|0 |1 is obsolete| | -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6678|0 |1 is obsolete| | -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #50 from Chris Cormack <chris@bigballofwax.co.nz> --- Created attachment 8542 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8542&action=edit Bug 6679 : Fixing perlcritic violation -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #51 from Paul Poulain <paul.poulain@biblibre.com> --- trivial patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8542|0 |1 is obsolete| | --- Comment #52 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 8542 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8542 Bug 6679 : Fixing perlcritic violation this patch has been pushed today -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #53 from Chris Cormack <chris@bigballofwax.co.nz> --- Created attachment 8897 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8897&action=edit Bug 6679 : Fixing perlcritic violation in authorities/ysearch.pl -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #54 from Chris Cormack <chris@bigballofwax.co.nz> --- Created attachment 8898 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8898&action=edit Bug 6679 members dir now passes perlcritic tests -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #55 from Chris Cormack <chris@bigballofwax.co.nz> --- Created attachment 8899 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8899&action=edit Bug 6679 : Fixing some perlcritic violations in the opac -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8898|0 |1 is obsolete| | --- Comment #56 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 8950 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8950&action=edit Bug 6679 :[SIGNED-OFF] members dir now passes perlcritic tests -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8899|0 |1 is obsolete| | --- Comment #57 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 8951 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8951&action=edit Bug 6679 : [SIGNED-OFF] Fixing some perlcritic violations in the opac -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8897|0 |1 is obsolete| | --- Comment #58 from Jonathan Druart <jonathan.druart@biblibre.com> --- Comment on attachment 8897 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8897 Bug 6679 : Fixing perlcritic violation in authorities/ysearch.pl I signed off the same patch (from Colin) today. (Bug 7816) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |7816 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |jonathan.druart@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Ian Walls <koha.sekjal@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #59 from Ian Walls <koha.sekjal@gmail.com> --- Both signed off patches faithfully replace functionality with Perl::Critic compliant code. Marking as Passed QA. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8950|0 |1 is obsolete| | --- Comment #60 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 8950 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8950 Bug 6679 :[SIGNED-OFF] members dir now passes perlcritic tests This patch has been pushed -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8951|0 |1 is obsolete| | --- Comment #61 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 8951 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8951 Bug 6679 : [SIGNED-OFF] Fixing some perlcritic violations in the opac This patch has been pushed A few scripts still not perlcritic compliant in opac/ directory: opac/changelanguage.pl: Code before strictures are enabled at line 24, column 1. See page 429 of PBP. (Severity: 5) opac/ilsdi.pl: Stricture disabled at line 217, column 17. See page 429 of PBP. (Severity: 5) opac/opac-detail.pl: Variable declared in conditional statement at line 139, column 9. Declare variables outside of the condition. (Severity: 5) opac/opac-detail.pl: Variable declared in conditional statement at line 140, column 9. Declare variables outside of the condition. (Severity: 5) opac/opac-detail.pl: Variable declared in conditional statement at line 416, column 1. Declare variables outside of the condition. (Severity: 5) opac/opac-reserve.pl: Subroutine prototypes used at line 51, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #62 from Mason James <mtj@kohaaloha.com> --- Created attachment 9746 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9746&action=edit Fixing 26 perlcritic violations in C4/Tags.pm Subroutine prototypes used at line XXX, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff CC| |mtj@kohaaloha.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #63 from Mason James <mtj@kohaaloha.com> --- Created attachment 9747 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9747&action=edit Fixing 23 perlcritic violations in C4/Tags.pm return" statement with explicit "undef" at line XXX, column 26. See page 199 of PBP. (Severity: 5) note: i have tested the Tags feature OK, after appliying this patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #64 from Mason James <mtj@kohaaloha.com> --- Created attachment 9748 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9748&action=edit Fixing 5 perlcritic violations in opac/* 1 more to go... :) opac/changelanguage.pl: Code before strictures are enabled at line 24, column 1. See page 429 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #65 from Mason James <mtj@kohaaloha.com> --- Created attachment 9749 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9749&action=edit Fixing 24 perlcritic violations in misc/translator/TmplTokenizer.pm Subroutine prototypes used at line XXX, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #66 from Mason James <mtj@kohaaloha.com> --- Created attachment 9750 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9750&action=edit Fixing 13 perlcritic violations in C4/Barcodes.pm Subroutine prototypes used at line XXX, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply --- Comment #67 from Jonathan Druart <jonathan.druart@biblibre.com> --- Fixing 26 perlcritic violations in C4/Tags.pm Apply? [yn] y Applying: Fixing 26 perlcritic violations in C4/Tags.pm /home/jonathan/workspace/versions/koha_coderun/.git/rebase-apply/patch:32: trailing whitespace. sub approval_counts { error: patch failed: opac/opac-tags.pl:43 error: opac/opac-tags.pl: patch does not apply Patch failed at 0001 Fixing 26 perlcritic violations in C4/Tags.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #9746|0 |1 is obsolete| | Attachment #9747|0 |1 is obsolete| | Attachment #9748|0 |1 is obsolete| | Attachment #9749|0 |1 is obsolete| | Attachment #9750|0 |1 is obsolete| | --- Comment #68 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 10050 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10050&action=edit Bug 6679: Fixing 26 perlcritic violations in C4/Tags.pm Subroutine prototypes used at line XXX, column 1. See page 194 of PBP. (Severity: 5) Note: Rebased on master 06/09/2012 by jcamins -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #69 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 10051 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10051&action=edit Bug 6679: Fixing 23 perlcritic violations in C4/Tags.pm return" statement with explicit "undef" at line XXX, column 26. See page 199 of PBP. (Severity: 5) note: i have tested the Tags feature OK, after appliying this patch Note: Rebased on master 06/09/2012 by jcamins -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #70 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 10052 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10052&action=edit Bug 6679: Fixing 5 perlcritic violations in opac/* 1 more to go... :) opac/changelanguage.pl: Code before strictures are enabled at line 24, column 1. See page 429 of PBP. (Severity: 5) Note: Rebased on master 06/09/2012 by jcamins -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #71 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 10053 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10053&action=edit Bug 6679: Fixing 24 perlcritic violations in misc/translator/TmplTokenizer.pm Subroutine prototypes used at line XXX, column 1. See page 194 of PBP. (Severity: 5) Note: Rebased on master 06/09/2012 by jcamins -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #72 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 10054 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10054&action=edit Bug 6679: Fixing 13 perlcritic violations in C4/Barcodes.pm Subroutine prototypes used at line XXX, column 1. See page 194 of PBP. (Severity: 5) Note: Rebased on master 06/09/2012 by jcamins -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff --- Comment #73 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- All patches rebased on latest master. Signoff needed. :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Joy Nelson <joy@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10054|0 |1 is obsolete| | --- Comment #74 from Joy Nelson <joy@bywatersolutions.com> --- Created attachment 10075 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10075&action=edit [SIGNED-OFF] Bug 6679: Fixing 13 perlcritic violations in C4/Barcodes.pm Subroutine prototypes used at line XXX, column 1. See page 194 of PBP. (Severity: 5) Note: Rebased on master 06/09/2012 by jcamins Signed-off-by: Joy Nelson <joy@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Joy Nelson <joy@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10053|0 |1 is obsolete| | --- Comment #75 from Joy Nelson <joy@bywatersolutions.com> --- Created attachment 10076 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10076&action=edit [SIGNED-OFF] Bug 6679: Fixing 24 perlcritic violations in misc/translator/TmplTokenizer.pm Subroutine prototypes used at line XXX, column 1. See page 194 of PBP. (Severity: 5) Note: Rebased on master 06/09/2012 by jcamins Signed-off-by: Joy Nelson <joy@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Joy Nelson <joy@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10052|0 |1 is obsolete| | --- Comment #76 from Joy Nelson <joy@bywatersolutions.com> --- Created attachment 10077 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10077&action=edit [SIGNED OFF] Bug 6679: Fixing 5 perlcritic violations in opac/* 1 more to go... :) opac/changelanguage.pl: Code before strictures are enabled at line 24, column 1. See page 429 of PBP. (Severity: 5) Note: Rebased on master 06/09/2012 by jcamins Signed-off-by: Joy Nelson <joy@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Joy Nelson <joy@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10051|0 |1 is obsolete| | --- Comment #77 from Joy Nelson <joy@bywatersolutions.com> --- Created attachment 10078 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10078&action=edit [SIGNED OFF] Bug 6679: Fixing 23 perlcritic violations in C4/Tags.pm return" statement with explicit "undef" at line XXX, column 26. See page 199 of PBP. (Severity: 5) note: i have tested the Tags feature OK, after appliying this patch Note: Rebased on master 06/09/2012 by jcamins Signed-off-by: Joy Nelson <joy@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Joy Nelson <joy@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10050|0 |1 is obsolete| | --- Comment #78 from Joy Nelson <joy@bywatersolutions.com> --- Created attachment 10079 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10079&action=edit [SIGNED OFF] Bug 6679: Fixing 26 perlcritic violations in C4/Tags.pm Subroutine prototypes used at line XXX, column 1. See page 194 of PBP. (Severity: 5) Note: Rebased on master 06/09/2012 by jcamins Signed-off-by: Joy Nelson <joy@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Joy Nelson <joy@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |joy@bywatersolutions.com --- Comment #79 from Joy Nelson <joy@bywatersolutions.com> --- FYI - Still additional PBP violations in TmplTokenizer.pm and C4/Barcodes.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10075|0 |1 is obsolete| | --- Comment #80 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10075 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10075 [SIGNED-OFF] Bug 6679: Fixing 13 perlcritic violations in C4/Barcodes.pm OK, this patch fixes error, but there are still some: "return" statement with explicit "undef" at line 57, column 2. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 131, column 3. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 147, column 22. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 152, column 22. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 157, column 22. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 193, column 3. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 197, column 3. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 228, column 2. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10076|0 |1 is obsolete| | --- Comment #81 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10076 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10076 [SIGNED-OFF] Bug 6679: Fixing 24 perlcritic violations in misc/translator/TmplTokenizer.pm Patch pushed, still one perlcritic problem in this file: "return" statement with explicit "undef" at line 319, column 17. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10077|0 |1 is obsolete| | --- Comment #82 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10077 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10077 [SIGNED OFF] Bug 6679: Fixing 5 perlcritic violations in opac/* patch pushed,OPAC almost perlcritic compliant, just one error to solve: opac/ilsdi.pl: Stricture disabled at line 217, column 17. See page 429 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #83 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10078 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10078 [SIGNED OFF] Bug 6679: Fixing 23 perlcritic violations in C4/Tags.pm I can't apply this one: Applying: Bug 6679: Fixing 23 perlcritic violations in C4/Tags.pm fatal: sha1 information is lacking or useless (C4/Tags.pm). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Patch failed at 0001 Bug 6679: Fixing 23 perlcritic violations in C4/Tags.pm When you have resolved this problem run "git am --resolved". If you would prefer to skip this patch, instead run "git am --skip". To restore the original branch and stop patching run "git am --abort". -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10078|0 |1 is obsolete| | --- Comment #84 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10078 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10078 [SIGNED OFF] Bug 6679: Fixing 23 perlcritic violations in C4/Tags.pm This patch does not apply, replaced by another one -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10079|0 |1 is obsolete| | --- Comment #85 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10079 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10079 [SIGNED OFF] Bug 6679: Fixing 26 perlcritic violations in C4/Tags.pm this patch has been pushed -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |ASSIGNED --- Comment #86 from Paul Poulain <paul.poulain@biblibre.com> --- (In reply to comment #85)
Comment on attachment 10079 [details] [SIGNED OFF] Bug 6679: Fixing 26 perlcritic violations in C4/Tags.pm
this patch has been pushed
Still a lot of things to update in C4/Tags.pm: "return" statement with explicit "undef" at line 120, column 25. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 126, column 27. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 148, column 10. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 154, column 10. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 160, column 10. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 166, column 10. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 362, column 22. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 373, column 22. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 387, column 23. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 409, column 23. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 422, column 23. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 429, column 23. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 438, column 22. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 463, column 23. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 464, column 26. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 473, column 30. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 474, column 30. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 487, column 10. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 508, column 47. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 560, column 30. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 561, column 30. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 565, column 13. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 574, column 3. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #87 from Mason James <mtj@kohaaloha.com> --- Created attachment 10484 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10484&action=edit Bug 6679 - fixing 23 '"return" statement with explicit "undef"' violations in C4/Tags.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #88 from Mason James <mtj@kohaaloha.com> --- Created attachment 10485 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10485&action=edit Bug 6679 - fix 19 perlcritic violations from C4::Letters.pm "return" statement with explicit "undef" at line 979, column 28. See page 199 of PBP. (Severity: 5) Subroutine prototypes used at line 997, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #89 from Mason James <mtj@kohaaloha.com> --- Created attachment 10486 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10486&action=edit fix 15 perlcritic violations in C4/ImportExportFramework.pm Bareword file handle opened at line 558, column 17. See pages 202,204 of PBP. (Severity: 5) Two-argument "open" used at line 558, column 17. See page 207 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #90 from Mason James <mtj@kohaaloha.com> --- Created attachment 10487 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10487&action=edit Bug 6679 - fix 12 perlcritic violations in C4/Context.pm "return" statement with explicit "undef" at line 486, column 5. See page 199 of PBP. (Severity: 5) Subroutine prototypes used at line 548, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #91 from Mason James <mtj@kohaaloha.com> --- Created attachment 10488 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10488&action=edit Bug 6679 - fix 12 perlcritic violations in C4/Auth_with_ldap.pm Subroutine prototypes used at line 73, column 1. See page 194 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 74, column 24. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #92 from Mason James <mtj@kohaaloha.com> --- Created attachment 10489 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10489&action=edit Bug 6679 - fix 12 perlcritic violations in C4/External/BakerTaylor.pm Subroutine prototypes used at line 82, column 1. See page 194 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 83, column 22. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #93 from Mason James <mtj@kohaaloha.com> --- Created attachment 10491 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10491&action=edit Bug 6679 - fix 11 perlcritic violations in C4/Dates.pm - Subroutine prototypes used at line 82, column 1. See page 194 of PBP. (Severity: 5) - "return" statement with explicit "undef" at line 102, column 28. See page 199 of PBP. (Severity: 5) - Expression form of "eval" at line 108, column 20. See page 161 of PBP. (Severity: 5) - Variable declared in conditional statement at line 126, column 5. Declare variables outside of the condition. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #94 from Mason James <mtj@kohaaloha.com> --- Created attachment 10492 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10492&action=edit Bug 6679 - fix 9 perlcritic violations in C4/TmplTokenType.pm - Subroutine prototypes used at line 86, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #95 from Mason James <mtj@kohaaloha.com> --- Created attachment 10493 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10493&action=edit Bug 6679 - fix 9 perlcritic violations in C4/Koha.pm - Subroutine prototypes used at line 115, column 1. See page 194 of PBP. (Severity: 5) - "return" statement with explicit "undef" at line 1112, column 4. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10489|0 |1 is obsolete| | --- Comment #96 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10494 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10494&action=edit Bug 6679 - fix 12 perlcritic violations in C4/External/BakerTaylor.pm Subroutine prototypes used at line 82, column 1. See page 194 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 83, column 22. See page 199 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10488|0 |1 is obsolete| | --- Comment #97 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10495 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10495&action=edit Bug 6679 - [SIGNED-OFF] fix 12 perlcritic violations in C4/Auth_with_ldap.pm Subroutine prototypes used at line 73, column 1. See page 194 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 74, column 24. See page 199 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10487|0 |1 is obsolete| | --- Comment #98 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10496 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10496&action=edit Bug 6679 -[SIGNED-OFF] fix 12 perlcritic violations in C4/Context.pm "return" statement with explicit "undef" at line 486, column 5. See page 199 of PBP. (Severity: 5) Subroutine prototypes used at line 548, column 1. See page 194 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10484|0 |1 is obsolete| | --- Comment #99 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10497 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10497&action=edit Bug 6679 - [SIGNED-OFF]fixing 23 '"return" statement with explicit "undef"' violations in C4/Tags.pm Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10494|Bug 6679 - fix 12 |Bug 6679 - [SIGNED-OFF]fix description|perlcritic violations in |12 perlcritic violations in |C4/External/BakerTaylor.pm |C4/External/BakerTaylor.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #100 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to comment #88)
Created attachment 10485 [details] Bug 6679 - fix 19 perlcritic violations from C4::Letters.pm
FAILED QA for this patch, I think the following lines don't have to be modified: - return unless exists $params->{'letter'}; - return unless exists $params->{'borrowernumber'}; - return unless exists $params->{'message_transport_type'}; + return exists $params->{'letter'}; + return exists $params->{'borrowernumber'}; + return exists $params->{'message_transport_type'}; It's unless, not undef :-) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #101 from Mason James <mtj@kohaaloha.com> --- Created attachment 10499 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10499&action=edit Bug 6679 - fix 8 perlcritic violations in C4/Circulation.pm - "return" statement with explicit "undef" at line 994, column 39. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #102 from Mason James <mtj@kohaaloha.com> --- Created attachment 10500 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10500&action=edit Bug 6679 - fix 8 perlcritic violations in C4/Barcodes.pm - "return" statement with explicit "undef" at line 57, column 2. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #103 from Mason James <mtj@kohaaloha.com> --- Created attachment 10501 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10501&action=edit Bug 6679 - fix 7 perlcritic violations in C4/Biblio.pm - Expression form of "eval" at line 492, column 12. See page 161 of PBP. (Severity: 5) - "return" statement with explicit "undef" at line 891, column 5. See page 199 of PBP. (Severity: 5) - Subroutine prototypes used at line 1148, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #104 from Mason James <mtj@kohaaloha.com> --- Created attachment 10502 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10502&action=edit Bug 6679 - fix 6 perlcritic violations in C4/Reports/Guided.pm - Subroutine prototypes used at line 376, column 1. See page 194 of PBP. (Severity: 5) - Bareword file handle opened at line 757, column 2. See pages 202,204 of PBP. (Severity: 5) - Two-argument "open" used at line 757, column 2. See page 207 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #105 from Mason James <mtj@kohaaloha.com> --- Created attachment 10503 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10503&action=edit Bug 6679 - fix 6 perlcritic violations in C4/Barcodes/hbyymmincr.pm - Subroutine prototypes used at line 45, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #106 from Mason James <mtj@kohaaloha.com> --- Created attachment 10504 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10504&action=edit Bug 6679 - fix 5 perlcritic violations in C4/VirtualShelves.pm, and comment-out obselete sub() - Subroutine prototypes used at line 224, column 1. See page 194 of PBP. (Severity: 5) - "return" statement with explicit "undef" at line 354, column 22. See page 199 of PBP. (Severity: 5) - Don't modify $_ in list functions at line 664, column 5. See page 114 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #107 from Mason James <mtj@kohaaloha.com> --- Created attachment 10505 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10505&action=edit Bug 6679 - fix 5 perlcritic violations in C4/Serials.pm - Subroutine prototypes used at line 161, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #108 from Mason James <mtj@kohaaloha.com> --- Created attachment 10506 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10506&action=edit Bug 6679 - fix 4 perlcritic violations in C4/ShelfBrowser.pm - Variable declared in conditional statement at line 183, column 5. Declare variables outside of the condition. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #109 from Mason James <mtj@kohaaloha.com> --- Created attachment 10507 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10507&action=edit Bug 6679 - fix 4 perlcritic violations in C4/Installer.pm - Bareword file handle opened at line 157, column 13. See pages 202,204 of PBP. (Severity: 5) - I/O layer ":utf8" used at line 157, column 13. Use ":encoding(UTF-8)" to get strict validation. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #110 from Mason James <mtj@kohaaloha.com> --- Created attachment 10508 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10508&action=edit Bug 6679 - fix 4 perlcritic violations in C4/Creators/PDF.pm - "return" statement with explicit "undef" at line 171, column 8. See page 199 of PBP. (Severity: 5) - "return" statement with explicit "undef" at line 201, column 8. See page 199 of PBP. (Severity: 5) - Bareword file handle opened at line 212, column 11. See pages 202,204 of PBP. (Severity: 5) - Two-argument "open" used at line 212, column 11. See page 207 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #111 from Mason James <mtj@kohaaloha.com> --- Created attachment 10509 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10509&action=edit Bug 6679 - fix 4 perlcritic violations in C4/Branch.pm Subroutine prototypes used at line 157, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 375, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 385, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 418, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #112 from Mason James <mtj@kohaaloha.com> --- Created attachment 10510 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10510&action=edit Bug 6679 - fix 3 perlcritic violations in C4/SQLHelper.pm Subroutine prototypes used at line 251, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 287, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 317, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #113 from Mason James <mtj@kohaaloha.com> --- Created attachment 10512 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10512&action=edit Bug 6679 - fix 3 perlcritic violations in C4/Record.pm Expression form of "eval" at line 358, column 5. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 367, column 5. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 510, column 3. See page 161 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #114 from Mason James <mtj@kohaaloha.com> --- Created attachment 10513 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10513&action=edit Bug 6679 - fix 3 perlcritic violations in C4/Output.pm "return" statement with explicit "undef" at line 128, column 74. See page 199 of PBP. (Severity: 5) Subroutine prototypes used at line 270, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 308, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #115 from Mason James <mtj@kohaaloha.com> --- Created attachment 10514 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10514&action=edit Bug 6679 - fix 3 perlcritic violations in C4/Message.pm "return" statement with explicit "undef" at line 109, column 9. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 145, column 9. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 319, column 9. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #116 from Mason James <mtj@kohaaloha.com> --- Created attachment 10515 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10515&action=edit Bug 6679 - fix 3 perlcritic violations in C4/Items.pm "return" statement with explicit "undef" at line 508, column 44. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 2267, column 5. See page 199 of PBP. (Severity: 5) Variable declared in conditional statement at line 2642, column 21. Declare variables outside of the condition. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #117 from Mason James <mtj@kohaaloha.com> --- Created attachment 10517 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10517&action=edit Bug 6679 - fix 3 perlcritic violations in C4/ClassSortRoutine.pm Expression form of "eval" at line 55, column 9. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 57, column 9. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 58, column 13. See page 161 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #118 from Mason James <mtj@kohaaloha.com> --- Created attachment 10521 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10521&action=edit Bug 6679 - fix 3 perlcritic violations in C4/Auth.pm, and enabled warnings Subroutine prototypes used at line 561, column 1. See page 194 of PBP. (Severity: 5) Bareword file handle opened at line 606, column 5. See pages 202,204 of PBP. (Severity: 5) Two-argument "open" used at line 606, column 5. See page 207 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #119 from Mason James <mtj@kohaaloha.com> --- Created attachment 10522 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10522&action=edit Bug 6679 - fix 2 perlcritic violations in C4/Utils.pm Subroutine prototypes used at line 38, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 43, column 1. See page 194 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #120 from Mason James <mtj@kohaaloha.com> --- Created attachment 10523 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10523&action=edit Bug 6679 - fix 2 perlcritic violations in C4/Print.pm Bareword file handle opened at line 80, column 9. See pages 202,204 of PBP. (Severity: 5) Two-argument "open" used at line 80, column 9. See page 207 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #121 from Mason James <mtj@kohaaloha.com> --- Created attachment 10524 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10524&action=edit Bug 6679 - fix 2 perlcritic violations in C4/ItemCirculationAlertPreference.pm "return" statement with explicit "undef" at line 170, column 13. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 407, column 9. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #122 from Mason James <mtj@kohaaloha.com> --- Created attachment 10525 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10525&action=edit Bug 6679 - fix 2 perlcritic violations in C4/Installer/PerlModules.pm Expression form of "eval" at line 71, column 9. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 85, column 13. See page 161 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #123 from Mason James <mtj@kohaaloha.com> --- Created attachment 10526 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10526&action=edit Bug 6679 - fix 2 perlcritic violations in C4/BackgroundJob.pm "return" statement with explicit "undef" at line 234, column 5. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 256, column 9. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #124 from Mason James <mtj@kohaaloha.com> --- Created attachment 10527 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10527&action=edit Bug 6679 - fix 2 perlcritic violations in C4/AuthoritiesMarc.pm "return" statement with explicit "undef" at line 853, column 5. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 1191, column 3. See page 199 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10485|Bug 6679 - fix 19 |[FAILED-QA]Bug 6679 - fix description|perlcritic violations from |19 perlcritic violations |C4::Letters.pm |from C4::Letters.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10486|0 |1 is obsolete| | --- Comment #125 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10935 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10935&action=edit Bug 6679 - [SIGNED-OFF] fix 15 perlcritic violations in C4/ImportExportFramework.pm Bareword file handle opened at line 558, column 17. See pages 202,204 of PBP. (Severity: 5) Two-argument "open" used at line 558, column 17. See page 207 of PBP. (Severity: 5) http://bugs.koha-community.org/show_bug.cgi?id=6679 Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10491|0 |1 is obsolete| | --- Comment #126 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10936 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10936&action=edit Bug 6679 - [SIGNED-OFF] fix 11 perlcritic violations in C4/Dates.pm - Subroutine prototypes used at line 82, column 1. See page 194 of PBP. (Severity: 5) - "return" statement with explicit "undef" at line 102, column 28. See page 199 of PBP. (Severity: 5) - Expression form of "eval" at line 108, column 20. See page 161 of PBP. (Severity: 5) - Variable declared in conditional statement at line 126, column 5. Declare variables outside of the condition. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10492|0 |1 is obsolete| | --- Comment #127 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10938 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10938&action=edit Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/TmplTokenType.pm - Subroutine prototypes used at line 86, column 1. See page 194 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10493|0 |1 is obsolete| | --- Comment #128 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10940 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10940&action=edit Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/Koha.pm - Subroutine prototypes used at line 115, column 1. See page 194 of PBP. (Severity: 5) - "return" statement with explicit "undef" at line 1112, column 4. See page 199 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10499|0 |1 is obsolete| | --- Comment #129 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10944 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10944&action=edit Bug 6679 - [SIGNED-OFF] fix 8 perlcritic violations in C4/Circulation.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10500|0 |1 is obsolete| | --- Comment #130 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10945 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10945&action=edit Bug 6679 - [SIGNED-OFF] fix 8 perlcritic violations in C4/Barcodes.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10944|0 |1 is obsolete| | --- Comment #131 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10946 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10946&action=edit Bug 6679 - [SIGNED-OFF] fix 8 perlcritic violations in C4/Circulation.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10945|0 |1 is obsolete| | --- Comment #132 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10947 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10947&action=edit Bug 6679 - [SIGNED-OFF] fix 8 perlcritic violations in C4/Barcodes.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10501|0 |1 is obsolete| | --- Comment #133 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10948 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10948&action=edit Bug 6679 - [SIGNED-OFF] fix 7 perlcritic violations in C4/Biblio.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10502|0 |1 is obsolete| | --- Comment #134 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10949 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10949&action=edit Bug 6679 - [SIGNED-OFF] fix 6 perlcritic violations in C4/Reports/Guided.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10503|0 |1 is obsolete| | --- Comment #135 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10950 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10950&action=edit Bug 6679 - [SIGNED-OFF] fix 6 perlcritic violations in C4/Barcodes/hbyymmincr.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10505|0 |1 is obsolete| | --- Comment #136 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10952 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10952&action=edit Bug 6679 - [SIGNED-OFF] fix 5 perlcritic violations in C4/Serials.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10506|0 |1 is obsolete| | --- Comment #137 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10953 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10953&action=edit Bug 6679 - [SIGNED-OFF] fix 4 perlcritic violations in C4/ShelfBrowser.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10509|0 |1 is obsolete| | --- Comment #138 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10955 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10955&action=edit Bug 6679 - [SIGNED-OFF] fix 4 perlcritic violations in C4/Branch.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10510|0 |1 is obsolete| | --- Comment #139 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10957 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10957&action=edit Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/SQLHelper.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10512|0 |1 is obsolete| | --- Comment #140 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10958 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10958&action=edit Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Record.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10513|0 |1 is obsolete| | --- Comment #141 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10959 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10959&action=edit Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Output.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10514|0 |1 is obsolete| | --- Comment #142 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10960 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10960&action=edit Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Message.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10515|0 |1 is obsolete| | --- Comment #143 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10961 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10961&action=edit Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Items.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10517|0 |1 is obsolete| | --- Comment #144 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10962 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10962&action=edit Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/ClassSortRoutine.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10522|0 |1 is obsolete| | --- Comment #145 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10963 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10963&action=edit Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Utils.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10524|0 |1 is obsolete| | --- Comment #146 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10964 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10964&action=edit Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/ItemCirculationAlertPreference.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10525|0 |1 is obsolete| | --- Comment #147 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10965 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10965&action=edit Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Installer/PerlModules.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10526|0 |1 is obsolete| | --- Comment #148 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10966 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10966&action=edit Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/BackgroundJob.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10527|0 |1 is obsolete| | --- Comment #149 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10967 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10967&action=edit Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/AuthoritiesMarc.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10504|0 |1 is obsolete| | --- Comment #150 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10972 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10972&action=edit Bug 6679 - [SIGNED-OFF] fix 5 perlcritic violations in C4/VirtualShelves.pm, and comment-out obselete sub() -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10507|0 |1 is obsolete| | --- Comment #151 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10976 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10976&action=edit Bug 6679 - [SIGNED-OFF] fix 4 perlcritic violations in C4/Installer.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10508|0 |1 is obsolete| | --- Comment #152 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10979 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10979&action=edit Bug 6679 - [SIGNED-OFF] fix 4 perlcritic violations in C4/Creators/PDF.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10523|0 |1 is obsolete| | --- Comment #153 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10980 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10980&action=edit Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Print.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10962|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10517|Bug-6679---fix-3-perlcritic |[FAILED QA] filename|-violations-in-C4ClassS.pat |Bug-6679---fix-3-perlcritic |ch |-violations-in-C4ClassS.pat | |ch Attachment #10517|1 |0 is obsolete| | --- Comment #154 from Jonathan Druart <jonathan.druart@biblibre.com> --- Comment on attachment 10517 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10517 Bug 6679 - fix 3 perlcritic violations in C4/ClassSortRoutine.pm Failed QA : "Bad name after :: at C4/ClassSortRoutine.pm line 55." -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10521|0 |1 is obsolete| | --- Comment #155 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 10981 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10981&action=edit Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Auth.pm, and enabled warnings -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #156 from Jonathan Druart <jonathan.druart@biblibre.com> --- Comment on attachment 10517 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10517 Bug 6679 - fix 3 perlcritic violations in C4/ClassSortRoutine.pm Failed QA: Bad name after :: at C4/ClassSortRoutine.pm line 55. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10517|Bug 6679 - fix 3 perlcritic |Bug 6679 - [FAILED QA]fix 3 description|violations in |perlcritic violations in |C4/ClassSortRoutine.pm |C4/ClassSortRoutine.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |ASSIGNED Assignee|chris@bigballofwax.co.nz |mtj@kohaaloha.com --- Comment #157 from Jonathan Druart <jonathan.druart@biblibre.com> --- All seems good except 2 patchs: C4/Letters.pm and C4/ClassSortRoutine.pm Switch to Assigned -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #158 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 12224 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12224&action=edit Proposed patch This patch fixes two instances that cause Jemkins builds to fail -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #159 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to comment #158)
Created attachment 12224 [details] Proposed patch
This patch fixes two instances that cause Jemkins builds to fail
Why don't you just remove the "undef" word ? I think if ($@) { return; } is less readable as return if $@; Don't you think ? I can provide a new patch but I don't want to go against what you want. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #160 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 12363 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12363&action=edit Proposed patch to calm Jenkins -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12363|0 |1 is obsolete| | --- Comment #161 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 12363 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12363 Proposed patch to calm Jenkins This patch has been pushed -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #162 from Paul Poulain <paul.poulain@biblibre.com> --- patches are signed off, going to this status to have patches in QA team radar ! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10485|0 |1 is obsolete| | --- Comment #163 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10485 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10485 [FAILED-QA]Bug 6679 - fix 19 perlcritic violations from C4::Letters.pm This patch is now useless, the same goal has been achieved by a follow-up on bug 8063 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10494|0 |1 is obsolete| | --- Comment #164 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10494 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10494 Bug 6679 - [SIGNED-OFF]fix 12 perlcritic violations in C4/External/BakerTaylor.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10495|0 |1 is obsolete| | --- Comment #165 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10495 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10495 Bug 6679 - [SIGNED-OFF] fix 12 perlcritic violations in C4/Auth_with_ldap.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10496|0 |1 is obsolete| | --- Comment #166 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10496 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10496 Bug 6679 -[SIGNED-OFF] fix 12 perlcritic violations in C4/Context.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10497|0 |1 is obsolete| | --- Comment #167 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10497 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10497 Bug 6679 - [SIGNED-OFF]fixing 23 '"return" statement with explicit "undef"' violations in C4/Tags.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #168 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10517 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10517 Bug 6679 - [FAILED QA]fix 3 perlcritic violations in C4/ClassSortRoutine.pm This patch has NOT been pushed. After applying it, you get a Perl error -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10935|0 |1 is obsolete| | --- Comment #169 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10935 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10935 Bug 6679 - [SIGNED-OFF] fix 15 perlcritic violations in C4/ImportExportFramework.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #170 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10936 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10936 Bug 6679 - [SIGNED-OFF] fix 11 perlcritic violations in C4/Dates.pm This patch has NOT been pushed. After applying it you get a perl error -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10938|0 |1 is obsolete| | --- Comment #171 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10938 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10938 Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/TmplTokenType.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10940|0 |1 is obsolete| | --- Comment #172 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10940 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10940 Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/Koha.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10946|0 |1 is obsolete| | --- Comment #173 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10946 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10946 Bug 6679 - [SIGNED-OFF] fix 8 perlcritic violations in C4/Circulation.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10947|0 |1 is obsolete| | --- Comment #174 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10947 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10947 Bug 6679 - [SIGNED-OFF] fix 8 perlcritic violations in C4/Barcodes.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10948|0 |1 is obsolete| | --- Comment #175 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10948 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10948 Bug 6679 - [SIGNED-OFF] fix 7 perlcritic violations in C4/Biblio.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10950|0 |1 is obsolete| | --- Comment #176 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10950 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10950 Bug 6679 - [SIGNED-OFF] fix 6 perlcritic violations in C4/Barcodes/hbyymmincr.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10952|0 |1 is obsolete| | --- Comment #177 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10952 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10952 Bug 6679 - [SIGNED-OFF] fix 5 perlcritic violations in C4/Serials.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10953|0 |1 is obsolete| | --- Comment #178 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10953 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10953 Bug 6679 - [SIGNED-OFF] fix 4 perlcritic violations in C4/ShelfBrowser.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10955|0 |1 is obsolete| | --- Comment #179 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10955 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10955 Bug 6679 - [SIGNED-OFF] fix 4 perlcritic violations in C4/Branch.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10957|0 |1 is obsolete| | --- Comment #180 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10957 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10957 Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/SQLHelper.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10959|0 |1 is obsolete| | --- Comment #181 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10959 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10959 Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Output.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10960|0 |1 is obsolete| | --- Comment #182 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10960 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10960 Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Message.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10961|0 |1 is obsolete| | --- Comment #183 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10961 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10961 Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Items.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10963|0 |1 is obsolete| | --- Comment #184 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10963 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10963 Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Utils.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10964|0 |1 is obsolete| | --- Comment #185 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10964 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10964 Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/ItemCirculationAlertPreference.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10965|0 |1 is obsolete| | --- Comment #186 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10965 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10965 Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Installer/PerlModules.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10966|0 |1 is obsolete| | --- Comment #187 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10966 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10966 Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/BackgroundJob.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10981|0 |1 is obsolete| | --- Comment #188 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10981 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10981 Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Auth.pm, and enabled warnings This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10980|0 |1 is obsolete| | --- Comment #189 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10980 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10980 Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Print.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10979|0 |1 is obsolete| | --- Comment #190 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10979 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10979 Bug 6679 - [SIGNED-OFF] fix 4 perlcritic violations in C4/Creators/PDF.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10976|0 |1 is obsolete| | --- Comment #191 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10976 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10976 Bug 6679 - [SIGNED-OFF] fix 4 perlcritic violations in C4/Installer.pm This patch has been pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |ASSIGNED --- Comment #192 from Paul Poulain <paul.poulain@biblibre.com> --- Attachment that are still here either: * does not apply anymore * badly break Koha (resulting in a Perl error) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10938|1 |0 is obsolete| | --- Comment #193 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10938 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10938 Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/TmplTokenType.pm I just reverted this patch, as it break translator (missed to test it when I tested patches..) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10965|1 |0 is obsolete| | --- Comment #194 from Paul Poulain <paul.poulain@biblibre.com> --- Comment on attachment 10965 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10965 Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Installer/PerlModules.pm This patch has been reverted = jenkins complain: perl t/Installer_pm.t 1..4 ok 1 - use C4::Installer::PerlModules; ok 2 - The object isa C4::Installer::PerlModules ok 3 - returns numeric version not ok 4 - returns correct version # Failed test 'returns correct version' # at t/Installer_pm.t line 23. # Looks like you failed 1 test of 4. After reverting, t/Installer_pm.t is OK Maybe that's the test that must be upgraded, but until it's done, this patch is reverted -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #195 from Mason James <mtj@kohaaloha.com> --- Created attachment 12490 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12490&action=edit Bug 6679 - Fixing code so it passes basic Perl:::Critic tests opac/opac-search.pl: "require" statement with library name as string at line 36, column 9. Use a bareword instead. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12490|0 |1 is obsolete| | --- Comment #196 from Mason James <mtj@kohaaloha.com> --- Created attachment 12491 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12491&action=edit Bug 6679 - Fixing code so it passes basic Perl:::Critic tests opac/opac-search.pl: "require" statement with library name as string at line 36, column 9. Use a bareword instead. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #197 from Mason James <mtj@kohaaloha.com> --- Created attachment 12492 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12492&action=edit Bug 6679 - Fixing code so it passes basic Perl:::Critic tests opac/ilsdi.pl: Stricture disabled at line 217, column 17. See page 429 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Bug 6679 depends on bug 7119, which changed state. Bug 7119 Summary: general code-cleaning, tidy/whitespace omnibus http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7119 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #198 from Owen Leonard <oleonard@myacpl.org> --- I see at least a couple of patches on this bug which are not signed off. Should the status be changed to "needs signoff?" -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 - high |P3 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #199 from Mason James <mtj@kohaaloha.com> --- hmm, this bug has gotten a bit crazy long... we should start breaking new perl-critic type patches into smaller manageable bugs, else things can get a little confusing -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #200 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Should this be 'needs sign-off' for the last 3 patches? Can the 'signed off' patches be obsoleted? I am not sure if they have been pushed or not. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10517|0 |1 is obsolete| | Attachment #10936|0 |1 is obsolete| | Attachment #10938|0 |1 is obsolete| | Attachment #10949|0 |1 is obsolete| | Attachment #10958|0 |1 is obsolete| | Attachment #10965|0 |1 is obsolete| | Attachment #10967|0 |1 is obsolete| | Attachment #10972|0 |1 is obsolete| | Attachment #12224|0 |1 is obsolete| | Attachment #12491|0 |1 is obsolete| | Attachment #12492|0 |1 is obsolete| | --- Comment #201 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 34191 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34191&action=edit Bug 6679 - [SIGNED-OFF] fix 11 perlcritic violations in C4/Dates.pm - Subroutine prototypes used at line 82, column 1. See page 194 of PBP. (Severity: 5) - "return" statement with explicit "undef" at line 102, column 28. See page 199 of PBP. (Severity: 5) - Expression form of "eval" at line 108, column 20. See page 161 of PBP. (Severity: 5) - Variable declared in conditional statement at line 126, column 5. Declare variables outside of the condition. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #202 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 34192 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34192&action=edit Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/TmplTokenType.pm - Subroutine prototypes used at line 86, column 1. See page 194 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #203 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 34193 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34193&action=edit Bug 6679 - [SIGNED-OFF] fix 6 perlcritic violations in C4/Reports/Guided.pm - Subroutine prototypes used at line 376, column 1. See page 194 of PBP. (Severity: 5) - Bareword file handle opened at line 757, column 2. See pages 202,204 of PBP. (Severity: 5) - Two-argument "open" used at line 757, column 2. See page 207 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #204 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 34194 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34194&action=edit Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Record.pm Expression form of "eval" at line 358, column 5. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 367, column 5. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 510, column 3. See page 161 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #205 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 34195 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34195&action=edit Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Installer/PerlModules.pm Expression form of "eval" at line 71, column 9. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 85, column 13. See page 161 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #206 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 34196 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34196&action=edit Bug 6679 - Fixing code so it passes basic Perl:::Critic tests opac/ilsdi.pl: Stricture disabled at line 217, column 17. See page 429 of PBP. (Severity: 5) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #207 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 34197 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34197&action=edit Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #208 from Jonathan Druart <jonathan.druart@biblibre.com> --- I rebased these patches. Some have already fixed. I removed 1: Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/ClassSortRoutine.pm It breaks completely Koha. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #209 from M. Tompsett <mtompset@hotmail.com> --- Comment on attachment 34197 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34197 Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm Review of attachment 34197: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=6679&attachment=34197) ----------------------------------------------------------------- ::: C4/TmplTokenType.pm @@ +90,5 @@
+sub DECL { $_decl } +sub PI { $_pi } +sub DIRECTIVE { $_directive } +sub COMMENT { $_comment } +sub UNKNOWN { $_unknown }
DECL, PI, COMMENT, and UNKNOWN seem to have no easy way to test them. Consider improving testing coverage for TmplTokenType explicitly. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #210 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to M. Tompsett from comment #209)
Comment on attachment 34197 [details] [review] Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm
Review of attachment 34197 [details] [review]: -----------------------------------------------------------------
::: C4/TmplTokenType.pm @@ +90,5 @@
+sub DECL { $_decl } +sub PI { $_pi } +sub DIRECTIVE { $_directive } +sub COMMENT { $_comment } +sub UNKNOWN { $_unknown }
DECL, PI, COMMENT, and UNKNOWN seem to have no easy way to test them. Consider improving testing coverage for TmplTokenType explicitly.
Hello Mark, The patch did not modify the contain of these subroutines, I don't think tests should be mandatory here. And I don't have any ideas how I could test them :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|mtj@kohaaloha.com |jonathan.druart@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #34196|0 |1 is obsolete| | --- Comment #211 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- Created attachment 39100 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39100&action=edit [SIGNED-OFF] Bug 6679 - Fixing code so it passes basic Perl:::Critic tests opac/ilsdi.pl: Stricture disabled at line 217, column 17. See page 429 of PBP. (Severity: 5) Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #34197|0 |1 is obsolete| | --- Comment #212 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- Created attachment 39101 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39101&action=edit [SIGNED-OFF] Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #34194|0 |1 is obsolete| | --- Comment #213 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- Created attachment 39102 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39102&action=edit Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Record.pm Expression form of "eval" at line 358, column 5. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 367, column 5. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 510, column 3. See page 161 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Fixed conflict -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #34191|0 |1 is obsolete| | Attachment #34192|0 |1 is obsolete| | Attachment #34193|0 |1 is obsolete| | Attachment #34195|0 |1 is obsolete| | Attachment #39100|0 |1 is obsolete| | Attachment #39101|0 |1 is obsolete| | Attachment #39102|0 |1 is obsolete| | --- Comment #214 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 39392 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39392&action=edit [PASSED QA] Bug 6679 - [SIGNED-OFF] fix 11 perlcritic violations in C4/Dates.pm - Subroutine prototypes used at line 82, column 1. See page 194 of PBP. (Severity: 5) - "return" statement with explicit "undef" at line 102, column 28. See page 199 of PBP. (Severity: 5) - Expression form of "eval" at line 108, column 20. See page 161 of PBP. (Severity: 5) - Variable declared in conditional statement at line 126, column 5. Declare variables outside of the condition. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #215 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 39393 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39393&action=edit [PASSED QA] Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/TmplTokenType.pm - Subroutine prototypes used at line 86, column 1. See page 194 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #216 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 39394 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39394&action=edit [PASSED QA] Bug 6679 - [SIGNED-OFF] fix 6 perlcritic violations in C4/Reports/Guided.pm - Subroutine prototypes used at line 376, column 1. See page 194 of PBP. (Severity: 5) - Bareword file handle opened at line 757, column 2. See pages 202,204 of PBP. (Severity: 5) - Two-argument "open" used at line 757, column 2. See page 207 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #217 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 39395 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39395&action=edit [PASSED QA] Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Installer/PerlModules.pm Expression form of "eval" at line 71, column 9. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 85, column 13. See page 161 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #218 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 39396 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39396&action=edit [PASSED QA] Bug 6679 - Fixing code so it passes basic Perl:::Critic tests opac/ilsdi.pl: Stricture disabled at line 217, column 17. See page 429 of PBP. (Severity: 5) Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #219 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 39397 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39397&action=edit [PASSED QA] Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #220 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 39398 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39398&action=edit [PASSED QA] Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Record.pm Expression form of "eval" at line 358, column 5. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 367, column 5. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 510, column 3. See page 161 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Fixed conflict Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com Status|Passed QA |Pushed to Master --- Comment #221 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Patches pushed to master. Thanks Mason! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |In Discussion --- Comment #222 from Tomás Cohen Arazi <tomascohen@gmail.com> --- I reverted this patchset. It completely broke Koha. I'm not sure why it wasn't catched by people who tested it, but my first guess is Perl version, because the semantics for 'eval' might change from one version to another. I haven't checked it on Perl changes. The page for eval [1] states that this two lines have different semantic meanings: - eval $x; # CASE 1 - eval { $x }; # CASE 4 which is one of the changes made in several places (notably breaks C4/Installer/PerlDependencies.pm and C4/Dates.pm) I'll mark it failed QA. My first guess is that we should be either rewriting the hash -> arrayref trick into using anonymous subroutines to do the job, or even refactoring the whole thing (or removing it). [1] http://perldoc.perl.org/functions/eval.html -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Failed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #223 from Jonathan Druart <jonathan.druart@biblibre.com> --- This has not been reverted. Tomas, I would say you could quickly patch with diff --git a/C4/Dates.pm b/C4/Dates.pm index 6ed9588..d7be584 100644 --- a/C4/Dates.pm +++ b/C4/Dates.pm @@ -105,7 +105,7 @@ sub dmy_map { my $xsub = $dmy_subs{$dformat}; $debug and print STDERR "xsub: $xsub \n"; if ( $val =~ /$re/ ) { - my $aref = eval {$xsub}; + my $aref = eval $xsub; In a first time. You can blame me because I get the error too (5.20.1), sorry about that. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #224 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 42770 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42770&action=edit Bug 6679: Fix previous change to C4::Dates -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |bgkriegel@gmail.com --- Comment #225 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- Sorry, does not apply Auto-merging C4/Reports/Guided.pm CONFLICT (content): Merge conflict in C4/Reports/Guided.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtompset@hotmail.com --- Comment #226 from M. Tompsett <mtompset@hotmail.com> --- (In reply to Chris Cormack from comment #13)
All pushed, leaving open for me
Given that all the previous patches were likely pushed, and the tweak to C4::Dates is no longer applicable, should set the status to something other than Patch doesn't apply and perhaps obsolete all of these? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #39392|0 |1 is obsolete| | Attachment #39393|0 |1 is obsolete| | Attachment #39394|0 |1 is obsolete| | Attachment #39395|0 |1 is obsolete| | Attachment #39396|0 |1 is obsolete| | Attachment #39397|0 |1 is obsolete| | Attachment #39398|0 |1 is obsolete| | Attachment #42770|0 |1 is obsolete| | --- Comment #227 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 47086 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47086&action=edit Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/TmplTokenType.pm - Subroutine prototypes used at line 86, column 1. See page 194 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #228 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 47087 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47087&action=edit Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Installer/PerlModules.pm Expression form of "eval" at line 71, column 9. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 85, column 13. See page 161 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #229 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 47088 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47088&action=edit Bug 6679 - Fixing code so it passes basic Perl:::Critic tests opac/ilsdi.pl: Stricture disabled at line 217, column 17. See page 429 of PBP. (Severity: 5) Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #230 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 47089 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47089&action=edit Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #231 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 47090 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47090&action=edit Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Record.pm Expression form of "eval" at line 358, column 5. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 367, column 5. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 510, column 3. See page 161 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Fixed conflict Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #232 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Patches rebased, changes to C4::Dates removed. Back to needs signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #233 from M. Tompsett <mtompset@hotmail.com> --- Comment on attachment 47090 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47090 Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Record.pm Review of attachment 47090: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=6679&attachment=47090) ----------------------------------------------------------------- ::: C4/Record.pm @@ +380,4 @@
}
# Preprocessing + eval {$preprocess} if ($preprocess);
post-fixed 'if' logic prevents a higher level of perlcritic, doesn't it? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #234 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- "post-fixed if" You mean the use of ternary operators? If yes, please source, I have never heard about that. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #235 from M. Tompsett <mtompset@hotmail.com> --- (In reply to Jonathan Druart from comment #234)
"post-fixed if" You mean the use of ternary operators? If yes, please source, I have never heard about that.
http://search.cpan.org/dist/Perl-Critic-1.126/lib/Perl/Critic/Policy/Control... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #236 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- We have a massive usage of ternary operators, it won't violate our perlcritic policy. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #237 from Chris Nighswonger <cnighswonger@foundations.edu> --- FWIW, somewhere in the distant past we had a discussion regarding how strict to enforce Conway-style on our code. As I recall, there was a general consensus at that time to apply only limited requirements. As Jonathan's observation points out: increasing style strictness may require a lot of refactoring. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #238 from M. Tompsett <mtompset@hotmail.com> --- (In reply to Jonathan Druart from comment #236)
We have a massive usage of ternary operators, it won't violate our perlcritic policy.
While true, it's easier to fix it while working on it piece by piece rather than try to refactor massively later. No biggie. It's not something worth failing this over. :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #239 from M. Tompsett <mtompset@hotmail.com> --- C4::Record unused variables. Run koha qa test tools -v 2 -c 5. perlcritic -5 C4/Record.pm -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47090|0 |1 is obsolete| | --- Comment #240 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Comment on attachment 47090 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47090 Bug 6679 - [SIGNED-OFF] fix 3 perlcritic violations in C4/Record.pm Let's say we abandone this one... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #241 from M. Tompsett <mtompset@hotmail.com> --- Here is my testing output. It should be noted that patches 1 and 2 are not required for level 5 testing. However, they are necessary for higher levels. It should also be noted that I added: [InputOutput::RequireCheckedSyscalls] functions = :builtins exclude_functions = print to the perlcriticrc, so I wouldn't have to do stupidity like: my $ignore = print "Hello World!"; But that should be a patch to the qa test tools, not Koha itself. mtompset@debian:~/kohaclone$ git reset --hard origin/master HEAD is now at 2505a3d Bug 15607: batch patron mod - do not update dates if not given mtompset@debian:~/kohaclone$ perlcritic -5 C4/Installer/PerlModules.pm C4/Installer/PerlModules.pm source OK mtompset@debian:~/kohaclone$ perlcritic -5 C4/TmplToken.pm C4/TmplToken.pm source OK mtompset@debian:~/kohaclone$ perlcritic -5 C4/TmplTokenType.pm Subroutine prototypes used at line 86, column 1. See page 194 of PBP. (Severit y: 5) Subroutine prototypes used at line 87, column 1. See page 194 of PBP. (Severit y: 5) Subroutine prototypes used at line 88, column 1. See page 194 of PBP. (Severit y: 5) Subroutine prototypes used at line 89, column 1. See page 194 of PBP. (Severit y: 5) Subroutine prototypes used at line 90, column 1. See page 194 of PBP. (Severit y: 5) Subroutine prototypes used at line 91, column 1. See page 194 of PBP. (Severit y: 5) Subroutine prototypes used at line 92, column 1. See page 194 of PBP. (Severit y: 5) Subroutine prototypes used at line 93, column 1. See page 194 of PBP. (Severit y: 5) Subroutine prototypes used at line 94, column 1. See page 194 of PBP. (Severit y: 5) mtompset@debian:~/kohaclone$ perlcritic -5 opac/ilsdi.pl Stricture disabled at line 220, column 17. See page 429 of PBP. (Severity: 5) mtompset@debian:~/kohaclone$ git reset --hard origin/master HEAD is now at 2505a3d Bug 15607: batch patron mod - do not update dates if not given mtompset@debian:~/kohaclone$ perlcritic -5 C4/Installer/PerlModules.pm C4/Installer/PerlModules.pm source OK mtompset@debian:~/kohaclone$ perlcritic -5 C4/TmplToken.pm C4/TmplToken.pm source OK mtompset@debian:~/kohaclone$ perlcritic -5 C4/TmplTokenType.pm Subroutine prototypes used at line 86, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 87, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 88, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 89, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 90, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 91, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 92, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 93, column 1. See page 194 of PBP. (Severity: 5) Subroutine prototypes used at line 94, column 1. See page 194 of PBP. (Severity: 5) mtompset@debian:~/kohaclone$ perlcritic -5 opac/ilsdi.pl Stricture disabled at line 220, column 17. See page 429 of PBP. (Severity: 5) mtompset@debian:~/kohaclone$ git bz apply 6679 Bug 6679 - Fixing code so it passes basic Perl::Critic tests 47086 - Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/TmplTokenType.pm 47087 - Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Installer/PerlModules.pm 47088 - Bug 6679 - Fixing code so it passes basic Perl:::Critic tests 47089 - Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/TmplTokenType.pm Applying: Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Installer/PerlModules.pm Applying: Bug 6679 - Fixing code so it passes basic Perl:::Critic tests Applying: Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm mtompset@debian:~/kohaclone$ perlcritic -5 C4/Installer/PerlModules.pm C4/Installer/PerlModules.pm source OK mtompset@debian:~/kohaclone$ perlcritic -5 C4/TmplToken.pm C4/TmplToken.pm source OK mtompset@debian:~/kohaclone$ perlcritic -5 C4/TmplTokenType.pm C4/TmplTokenType.pm source OK mtompset@debian:~/kohaclone$ perlcritic -5 opac/ilsdi.pl opac/ilsdi.pl source OK mtompset@debian:~/kohaclone$ ls -la ~/.perlcriticrc lrwxrwxrwx 1 mtompset mtompset 26 Apr 27 2015 /home/mtompset/.perlcriticrc -> qa-test-tools/perlcriticrc mtompset@debian:~/kohaclone$ cat ~/qa-test-tools/perlcriticrc severity = 5 include = ProhibitUnusedVariables exclude = Miscellanea::RequireRcsKeywords [Perl::Critic::Policy::BuiltinFunctions::ProhibitStringyEval] allow_includes =1 [TestingAndDebugging::RequireUseStrict] equivalent_modules = Modern::Perl [TestingAndDebugging::RequireUseWarnings] equivalent_modules = Modern::Perl [-Modules::RequireBarewordIncludes] [InputOutput::RequireCheckedSyscalls] functions = :builtins exclude_functions = print mtompset@debian:~/kohaclone$ -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47086|0 |1 is obsolete| | --- Comment #242 from M. Tompsett <mtompset@hotmail.com> --- Created attachment 47178 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47178&action=edit Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/TmplTokenType.pm - Subroutine prototypes used at line 86, column 1. See page 194 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47087|0 |1 is obsolete| | --- Comment #243 from M. Tompsett <mtompset@hotmail.com> --- Created attachment 47179 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47179&action=edit Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Installer/PerlModules.pm Expression form of "eval" at line 71, column 9. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 85, column 13. See page 161 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47088|0 |1 is obsolete| | --- Comment #244 from M. Tompsett <mtompset@hotmail.com> --- Created attachment 47180 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47180&action=edit Bug 6679 - Fixing code so it passes basic Perl:::Critic tests opac/ilsdi.pl: Stricture disabled at line 217, column 17. See page 429 of PBP. (Severity: 5) Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47089|0 |1 is obsolete| | --- Comment #245 from M. Tompsett <mtompset@hotmail.com> --- Created attachment 47181 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47181&action=edit Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off --- Comment #246 from M. Tompsett <mtompset@hotmail.com> --- I agreed with comment #240 regarding C4/Record.pm Looks good to me, setting to signed off. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47178|0 |1 is obsolete| | Attachment #47179|0 |1 is obsolete| | Attachment #47180|0 |1 is obsolete| | Attachment #47181|0 |1 is obsolete| | --- Comment #247 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 47205 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47205&action=edit [PASSED QA] Bug 6679 - [SIGNED-OFF] fix 9 perlcritic violations in C4/TmplTokenType.pm - Subroutine prototypes used at line 86, column 1. See page 194 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #248 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 47206 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47206&action=edit [PASSED QA] Bug 6679 - [SIGNED-OFF] fix 2 perlcritic violations in C4/Installer/PerlModules.pm Expression form of "eval" at line 71, column 9. See page 161 of PBP. (Severity: 5) Expression form of "eval" at line 85, column 13. See page 161 of PBP. (Severity: 5) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #249 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 47207 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47207&action=edit [PASSED QA] Bug 6679 - Fixing code so it passes basic Perl:::Critic tests opac/ilsdi.pl: Stricture disabled at line 217, column 17. See page 429 of PBP. (Severity: 5) Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6679 --- Comment #250 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 47208 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47208&action=edit [PASSED QA] Bug 6679: (follow-up) fix 9 perlcritic violations in C4/TmplTokenType.pm Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org