Bugzilla – Attachment 184785 Details for
Bug 39877
CI - Incremental runs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39877: Prevent files to be processed twice
Bug-39877-Prevent-files-to-be-processed-twice.patch (text/plain), 1.06 KB, created by
Jonathan Druart
on 2025-07-29 08:04:14 UTC
(
hide
)
Description:
Bug 39877: Prevent files to be processed twice
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-29 08:04:14 UTC
Size:
1.06 KB
patch
obsolete
>From 1ae71855daf496e3f0b533de7ce014cf1f0ddc0a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 29 Jul 2025 10:03:13 +0200 >Subject: [PATCH] Bug 39877: Prevent files to be processed twice > >If the file had a failure and still has, we should not list it twice. >--- > Koha/Devel/CI/IncrementalRuns.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Devel/CI/IncrementalRuns.pm b/Koha/Devel/CI/IncrementalRuns.pm >index 81425c1c5a3..736bbfde0c4 100644 >--- a/Koha/Devel/CI/IncrementalRuns.pm >+++ b/Koha/Devel/CI/IncrementalRuns.pm >@@ -21,7 +21,7 @@ use File::Path qw(make_path); > use File::Slurp qw(read_file write_file); > use File::Basename; > use JSON qw(from_json to_json); >-use List::MoreUtils qw(firstval); >+use List::MoreUtils qw(firstval uniq); > > use Koha::Devel::Files; > >@@ -143,7 +143,7 @@ sub get_files_to_test { > } > @files = $dev_files->ls_files($filetype) if !$self->{incremental_run} || $no_history; > >- return @files; >+ return uniq @files; > } > > =head2 report_results >-- >2.34.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 39877
:
182308
|
182309
|
182310
|
182311
|
182347
|
182348
|
182349
|
182350
|
182355
|
182356
|
182357
|
182358
|
183795
|
183796
|
183797
|
183798
|
184462
|
184463
|
184464
|
184465
|
184466
|
184779
|
184780
|
184781
|
184782
|
184783
|
184785
|
184875
|
184876
|
184877
|
184878
|
184879
|
184880