[Koha-bugs] [Bug 29324] Some files still don't have the correct license statement

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 25 09:43:20 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29324

--- Comment #23 from Philip Orr <philip.orr at lmscloud.de> ---
Created attachment 153861
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153861&action=edit
Bug 29324: change test to look for copyright

This patch makes some changes to the test file find-license-problems.t
so that it will also check if the file contains a copyright statement
and fail if it doesn't. Note that the test file now only checks files
that end with .pm, other file types are ignored.

To test:
1. Apply the patch
2. run find-license-problems.t from the
   root of your Koha src directory:
   $ perl xt/find-license-problems.t
3. Note that now many more files are failing the test than before.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list