Bugzilla – Attachment 187404 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.38 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-10-03 14:32:23 UTC
(
hide
)
Description:
Bug 39877: Prevent files to be processed twice
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-10-03 14:32:23 UTC
Size:
1.38 KB
patch
obsolete
>From 340aa24882c69fc3408fdeb1c205b94c53f930e8 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >If the file had a failure and still has, we should not list it twice. > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> >--- > 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 b3e20bd5a64..bb984a2bb86 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.51.0
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
|
186320
|
186321
|
186322
|
186323
|
186324
|
186325
|
186327
|
186328
|
186329
|
186330
|
186331
|
186332
|
186362
|
186363
|
186364
|
186365
|
186366
|
186367
|
186368
|
186370
|
186622
|
187387
|
187388
|
187389
|
187390
|
187391
|
187392
|
187393
|
187394
|
187395
|
187399
|
187400
|
187401
|
187402
|
187403
| 187404 |
187405
|
187406
|
187407
|
187744
|
187977