Koha-clms/misc/devel
Jonathan Druart 8ba8b9b1ce
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 <victor@tuxayo.net>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-02-17 13:10:19 +01:00
..
add_missing_filters.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
auto_rebase.pl Bug 39114: The auto-rebase script - Fix files removal 2025-02-13 17:11:10 +01:00
coverage.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
create_superlibrarian.pl Bug 36309: Make create_superlibrarian.pl output more useful 2024-04-22 08:57:35 +02:00
create_test_data.pl Bug 37448: Add script to allow developers to quickly generate large amounts of data for development and testing 2025-01-10 19:19:26 +01:00
get_prepared_letter.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
install_plugins.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
koha_perl_deps.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
tidy.pl Bug 39115: Do not tidy files that must not be touched 2025-02-17 13:10:19 +01:00
update_dbix_class_files.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00