Bug 13893: Add ability to execute perl scripts in atomicupdates
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 23 Mar 2015 13:19:03 +0000 (09:19 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 29 Apr 2015 18:38:03 +0000 (15:38 -0300)
commit74e5f64fd7d3e301e3ec9585dca12964e8b30243
treed2673449453d5aeaf64398c4de09822bf987b78c
parenta94d5297abeec32c9e3a7080605f2267b2c328dc
Bug 13893: Add ability to execute perl scripts in atomicupdates

Bug 13068 adds the ability to execute sql files from atomicupdates for
in process developments to reduce merge conflicts. We need to extend
this ability further to be able to handle perl code.

Revised Test Plan
-----------------
1) Run updatedatabase.pl
   -- Expect output to be similar to:
   $ ./installer/data/mysql/updatedatabase.pl
   DEV atomic update : test.perl
   Upgrade to XXX done (Bug 13893 - Add ability to execute perl scripts in atomicupdates)
2) Run koha qa test tools.
   -- only need to check last commit (-c 1), because first commit is a
      sample file which shouldn't be pushed.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/data/mysql/updatedatabase.pl