Koha-clms/installer/data/mysql/en/optional
Jonathan Druart cb504d5cc7
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>
(cherry picked from commit e9eb20249e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-08-22 09:48:20 +02:00
..
auth_val.yml Bug 33059: Fix capitalizatoin of AV sample category descriptions 2023-03-17 09:59:09 -03:00
csv_profiles.yml
…
marc21_holdings_coded_values.yml
…
marc21_relatorterms.yml Bug 40541: Add missing new line at the end of files when missing 2025-08-22 09:48:20 +02:00
parameters.yml
…
patron_atributes.yml
…
patron_categories.yml Bug 35539: Remove 'issuelimit' column/field from categories table 2024-07-25 11:11:16 +01:00
sample_creator_data.yml Bug 40414: Update patron card layout with expiry date 2025-08-22 09:48:16 +02:00
sample_itemtypes.yml
…
sample_libraries.yml
…
sample_libraries_holidays.yml
…
sample_news.yml Bug 40160: Use HTTPS for links to community websites 2025-07-24 10:23:13 +02:00
sample_patrons.yml Bug 38622: Update sample patron data with preferred_name 2024-12-04 16:32:48 +01:00
sample_quotes.yml
…
sample_z3950_servers.yml
…