Bugzilla – Attachment 178010 Details for
Bug 39132
Fix dbic: Revert changes to Schema.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39132: Fix dbic: Revert changes to Schema.pm and add it to denylist
Bug-39132-Fix-dbic-Revert-changes-to-Schemapm-and-.patch (text/plain), 2.23 KB, created by
Katrin Fischer
on 2025-02-13 14:01:00 UTC
(
hide
)
Description:
Bug 39132: Fix dbic: Revert changes to Schema.pm and add it to denylist
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2025-02-13 14:01:00 UTC
Size:
2.23 KB
patch
obsolete
>From 491064fa6a39eacac4397d396b17f39cb58d8144 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 39132: 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 874851a8315..cffc631d5e1 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 481d023c129..153500cbb9f 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 8a6e352d7ec..b570311aeea 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.39.5
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 39132
:
178010
|
178011