Koha-clms/installer/data/mysql
Jonathan Druart e9eb20249e
Bug 40541: Add missing new line at the end of files when missing
We have insert_final_newline = true to ensure files will contain a new
line at the end. However we have seen commits with "No new line" added
in the git log.

We should have a xt test to prevent more occurrences.

We should also have a test at the QA script level:
https://gitlab.com/koha-community/qa-test-tools/-/issues/96

Test plan:
  prove xt/find-missing-new-lines-at-the-end-of-file.t
should return green.

Remove the new line at the end of a file, eg.
vim -b mainpage.pl
:set noeol
:wq

Now
  prove xt/find-missing-new-lines-at-the-end-of-file.t
is failing on mainpage.pl.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-07-31 12:42:09 -06:00
..
atomicupdate Bug 40305: DBRev 25.06.00.008 2025-07-25 15:52:19 -06:00
db_revs Bug 40305: DBRev 25.06.00.008 2025-07-25 15:52:19 -06:00
en Bug 40541: Add missing new line at the end of files when missing 2025-07-31 12:42:09 -06:00
localization Bug 27490: (follow-up) Fix custom installer files 2024-09-13 13:54:26 +02:00
mandatory Bug 36561: Add new permission `api_validate_password` 2025-07-24 17:03:57 -06:00
backfill_statistics.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
kohastructure.sql Bug 40548: (bug 40337 follow-up): Fix DB comparison 2025-07-30 09:51:25 +02:00
labels_upgrade.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
needs_update.pl Bug 34088: Move the 'needs update' test to a separate script 2024-09-17 10:48:39 +02:00
patroncards_upgrade.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
update22to30.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
updatedatabase.pl Bug 38664: Fix updatedatabase.pl 2025-02-12 06:39:59 +01:00