https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39115
Nick Clemens (kidclamp) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177979|0 |1 is obsolete| | Attachment #177980|0 |1 is obsolete| | Attachment #177984|0 |1 is obsolete| | Attachment #177985|0 |1 is obsolete| | Attachment #178003|0 |1 is obsolete| | Attachment #178017|0 |1 is obsolete| | --- Comment #18 from Nick Clemens (kidclamp) <[email protected]> --- Created attachment 178048 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178048&action=edit Bug 39115: Do not tidy files that must not be touched It should prevent to tidy files that must be kept unchanged. It was initially a feature (the script does what you ask it to do), but it's a mess maintain the list of files we want to keep tidy. Test plan: Koha/Schema.pm is one of the file we don't want to modify/tidy So let's play with this one, feel free to pick others (see the exception list per filetype in the script) % perl misc/devel/tidy.pl --perl will not touch Koha/Schema.pm % perl misc/devel/tidy.pl mainpage.pl Koha/Schema.pm will not touch Koha/Schema.pm but mainpage.pl will % perl misc/devel/tidy.pl --no-write Koha/Schema.pm The --no-write option is called by the QA script to compare the output and see if files are tidy. We want to return something in this case. So the file will be printed to STDOUT untouched Signed-off-by: Victor Grousset/tuxayo <[email protected]> Signed-off-by: Nick Clemens <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
