Bugzilla – Attachment 177958 Details for
Bug 38664
Tidy the whole codebase
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38664: Fix dbic: Revert changes to Schema.pm and add it to denylist
Bug-38664-Fix-dbic-Revert-changes-to-Schemapm-and-.patch (text/plain), 2.22 KB, created by
Victor Grousset/tuxayo
on 2025-02-12 18:24:02 UTC
(
hide
)
Description:
Bug 38664: Fix dbic: Revert changes to Schema.pm and add it to denylist
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2025-02-12 18:24:02 UTC
Size:
2.22 KB
patch
obsolete
>From d3c19223d8c9dbe99b290efe29b16117e3f0ef73 Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >Date: Wed, 12 Feb 2025 19:02:43 +0100 >Subject: [PATCH] Bug 38664: Fix dbic: Revert changes to Schema.pm and add it > to denylist > >It's autogenerated and checksum protected so should be touch only by >dbic. >--- > Koha/Schema.pm | 3 ++- > misc/devel/tidy.pl | 4 ++-- > xt/perltidy.t | 4 ++-- > 3 files changed, 6 insertions(+), 5 deletions(-) > >diff --git a/Koha/Schema.pm b/Koha/Schema.pm >index 874851a831..cffc631d5e 100644 >--- a/Koha/Schema.pm >+++ b/Koha/Schema.pm >@@ -1,5 +1,4 @@ > use utf8; >- > package Koha::Schema; > > # Created by DBIx::Class::Schema::Loader >@@ -12,8 +11,10 @@ use base 'DBIx::Class::Schema'; > > __PACKAGE__->load_namespaces; > >+ > # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oDUxXckmfk6H9YCjW8PZTw > >+ > # You can replace this text with custom content, and it will be preserved on regeneration > 1; >diff --git a/misc/devel/tidy.pl b/misc/devel/tidy.pl >index c3f22e635e..5d62c788c9 100755 >--- a/misc/devel/tidy.pl >+++ b/misc/devel/tidy.pl >@@ -106,8 +106,8 @@ sub tidy { > > sub get_perl_files { > my @files; >- push @files, qx{git ls-files '*.pl' '*.pm' '*.t' ':(exclude)Koha/Schema/Result'}; >- push @files, qx{git ls-files svc opac/svc}; # Files without extension >+ push @files, qx{git ls-files '*.pl' '*.pm' '*.t' ':(exclude)Koha/Schema/Result' ':(exclude)Koha/Schema.pm'}; >+ push @files, qx{git ls-files svc opac/svc}; # Files without extension > chomp for @files; > return @files; > } >diff --git a/xt/perltidy.t b/xt/perltidy.t >index 8a6e352d7e..b570311aee 100755 >--- a/xt/perltidy.t >+++ b/xt/perltidy.t >@@ -4,8 +4,8 @@ use Test::PerlTidy; > use Test::More; > > my @files; >-push @files, qx{git ls-files '*.pl' '*.pm' '*.t' ':(exclude)Koha/Schema/Result'}; >-push @files, qx{git ls-files svc opac/svc}; # Files without extension >+push @files, qx{git ls-files '*.pl' '*.pm' '*.t' ':(exclude)Koha/Schema/Result' ':(exclude)Koha/Schema.pm'}; >+push @files, qx{git ls-files svc opac/svc}; # Files without extension > > plan tests => scalar @files; > >-- >2.48.1
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 38664
:
175488
|
175664
|
177755
|
177796
|
177797
|
177798
|
177799
|
177800
|
177801
|
177802
|
177813
|
177825
|
177826
|
177827
|
177842
|
177957
| 177958