[Koha-bugs] [Bug 21821] We should bundle an up to date RangeMessage.xml for Business::ISBN

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 13 14:41:30 CET 2018


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

--- Comment #1 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
In a mojo app I once build I had the followup in a bootstrap routine at
application startup.

  # Ensure we're using an up to date set of data in Business::ISBN
  my $ISBN_RANGE_FILE =
$app->home->rel_file('lib/Business/ISBN/RangeMessage.xml');
  $ENV{'ISBN_RANGE_MESSAGE'} = "$ISBN_RANGE_FILE";

We could add similar to the plack start script and a SetEnv to the apache
configs based on where we chose to store the file..

To keep this file up to date, I would envisage part of the release workflow
being the download and replacement of the RangeMessage file.

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


More information about the Koha-bugs mailing list