[Koha-bugs] [Bug 19169] Add a test to detect unneeded 'atomicupdate' files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 7 20:15:44 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19169

--- Comment #7 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Jonathan Druart from comment #5)
> All RM and RMaints must have a pre-push hook with the following code in it.
> 
>     my @atomicupdate_files = `git show
> HEAD:installer/data/mysql/atomicupdate/|tr -s '\\n' | grep -v '^tree'|grep
> -v 'README'|grep -v skeleton`;
>     chomp for @atomicupdate_files;
>     for my $atomic ( @atomicupdate_files ) { 
>         push @errors, "Atomicupdate file exists - $atomic";
>     }

Should we add this to https://wiki.koha-community.org/wiki/Release_maintenance
or 
https://wiki.koha-community.org/wiki/Tips_and_tricks#pre-push?

Maybe we could also do a version of the RMaint pre-push hook that includes this
check?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list