Bugzilla – Attachment 156258 Details for
Bug 29324
Some files still don't have the correct license statement
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29324: change test to look for copyright
Bug-29324-change-test-to-look-for-copyright.patch (text/plain), 1.55 KB, created by
Philip Orr
on 2023-09-27 09:09:20 UTC
(
hide
)
Description:
Bug 29324: change test to look for copyright
Filename:
MIME Type:
Creator:
Philip Orr
Created:
2023-09-27 09:09:20 UTC
Size:
1.55 KB
patch
obsolete
>From 69f590d35090f15dd6ed1a72c611778d2c49d8f2 Mon Sep 17 00:00:00 2001 >From: Philip Orr <philip.orr@lmscloud.de> >Date: Tue, 25 Jul 2023 07:37:33 +0000 >Subject: [PATCH] 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. >--- > xt/find-license-problems.t | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/xt/find-license-problems.t b/xt/find-license-problems.t >index 49e4a7c770..1417677b89 100755 >--- a/xt/find-license-problems.t >+++ b/xt/find-license-problems.t >@@ -1,12 +1,12 @@ > #!/usr/bin/perl > # > # Find copyright and license problems in Koha source files. At this >-# time it only looks for references to the old FSF address in GPLv2 >-# license notices, but it might in the future be extended to look for >-# other things, too. >+# time it looks for references to the old FSF address in GPLv2 >+# license notices and checks if the file has a copyright statement, >+# but it might in the future be extended to look for other things, too. > # > # Copyright 2010 Catalyst IT Ltd >-# Copyright 2020 Koha Development Team >+# Copyright 2020 Koha development team > # > # This file is part of Koha. > # >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29324
:
126916
|
153309
|
153310
|
153555
|
153556
|
153680
|
153681
|
153861
|
153899
|
153924
|
154240
|
156256
|
156257
| 156258 |
156259
|
156260
|
156261
|
156262