[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 11:01:50 CET 2022


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

--- Comment #5 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
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";
    }

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


More information about the Koha-bugs mailing list