Bugzilla – Attachment 186791 Details for
Bug 40858
t/00-merge-conflict-markers.t should only test files part of git repo
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40858: Rename context 'all' with 'core'
Bug-40858-Rename-context-all-with-core.patch (text/plain), 2.09 KB, created by
Lucas Gass (lukeg)
on 2025-09-23 12:11:45 UTC
(
hide
)
Description:
Bug 40858: Rename context 'all' with 'core'
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-09-23 12:11:45 UTC
Size:
2.09 KB
patch
obsolete
>From 19a7353800544091ce34fcbe460710968a0a2ade Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 23 Sep 2025 10:08:10 +0200 >Subject: [PATCH] Bug 40858: Rename context 'all' with 'core' > >All was not returning all the files present in the git index, but all >Koha core files. Let's rename it with 'core' to remove ambiguity. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > Koha/Devel/Files.pm | 10 +++++----- > xt/find-missing-new-lines-at-the-end-of-file.t | 2 +- > 2 files changed, 6 insertions(+), 6 deletions(-) > >diff --git a/Koha/Devel/Files.pm b/Koha/Devel/Files.pm >index f6446414042..0fc5b2ec258 100644 >--- a/Koha/Devel/Files.pm >+++ b/Koha/Devel/Files.pm >@@ -53,7 +53,7 @@ my $exceptions = { > misc/cronjobs/build_browser_and_cloud.pl > ) > ], >- all => [], >+ core => [], > }, > js => { > tidy => [ >@@ -72,7 +72,7 @@ my $exceptions = { > koha-tmpl/opac-tmpl/bootstrap/js/Gettext.js > ) > ], >- all => [ >+ core => [ > qw( > koha-tmpl/intranet-tmpl/lib > koha-tmpl/opac-tmpl/lib >@@ -88,13 +88,13 @@ my $exceptions = { > ) > ], > codespell => [], >- all => [], >+ core => [], > }, > yml => { >- all => [], >+ core => [], > }, > css => { >- all => [ >+ core => [ > qw( > koha-tmpl/intranet-tmpl/lib > koha-tmpl/opac-tmpl/lib >diff --git a/xt/find-missing-new-lines-at-the-end-of-file.t b/xt/find-missing-new-lines-at-the-end-of-file.t >index 591269c7901..80977d84790 100755 >--- a/xt/find-missing-new-lines-at-the-end-of-file.t >+++ b/xt/find-missing-new-lines-at-the-end-of-file.t >@@ -6,7 +6,7 @@ use Test::NoWarnings; > > use Koha::Devel::Files; > >-my $dev_files = Koha::Devel::Files->new( { context => 'all' } ); >+my $dev_files = Koha::Devel::Files->new( { context => 'core' } ); > my @files; > push @files, $dev_files->ls_perl_files; > push @files, $dev_files->ls_tt_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 40858
:
186777
|
186778
|
186790
|
186791
|
186792
|
186876
|
186877