[koha-commits] main Koha release repository branch master updated. v3.22.00-456-g8dfebb1
Git repo owner
gitmaster at git.koha-community.org
Fri Jan 29 18:48:11 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 8dfebb140b9f4afebc278f1da415e29b090c331f (commit)
via 9865d34e69a93ec9d16a9eac684ba19ca83dcf64 (commit)
via 0c138700b21341b2fd79e53722605cb3e87fb9d2 (commit)
from 8d072272fa396820ec655fb7b45d30eee6fca3e8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8dfebb140b9f4afebc278f1da415e29b090c331f
Author: Brendan Gallagher <brendan at bywatersolutions.com>
Date: Fri Jan 29 17:51:03 2016 +0000
Removing atomicupdate file.
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
commit 9865d34e69a93ec9d16a9eac684ba19ca83dcf64
Author: Brendan Gallagher <brendan at bywatersolutions.com>
Date: Fri Jan 29 17:49:33 2016 +0000
DBRev for Bug 14893 - Separate temporary storage per instance in Upload.pm
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
commit 0c138700b21341b2fd79e53722605cb3e87fb9d2
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Fri Sep 25 08:50:17 2015 +0200
Bug 14893: Separate temporary storage per instance in Upload.pm
To make life easier when multiple instances are uploading temporary
files to Koha, this patch adds the database name to the upload subfolder
in your /tmp folder.
Note: Although multiple instances could share the same subfolder for
temporary storage (hashvalue is based on a timestamp too), it will be
better to separate them for efficient housekeeping (removing older or
partial files with a cronjob etc.)
Since multiple instances come with separate permissions, keeping them in
separate folders will be much simpler.
Permanent storage is not affected by this patch. The location of permanent
storage is ruled by the upload_path in each config file. Sharing that
space is not recommended too.
Although it may not be strictly necessary yet to remove files from the old
temp storage folder (before the 3.22 release), the accompanying db rev
performs that housekeeping task.
Test plan:
[1] Do not yet apply this patch. Upload a temporary file (use the
tools/upload.pl script without selecting a category).
[2] Check /tmp/koha_upload.
[3] Apply this patch. Run the db rev with web installer.
[4] Upload another temporary file.
[5] Check /tmp for folder [your_database]_upload.
[6] Check that /tmp/koha_upload is gone and the associated records too.
[7] Run the adjusted t/db../Upload.t
Followed test plan. Could not do steps before applying patch [1]-[2]
(I suppose a local permission problem).
After applying patch and updating db file appears in /tmp/[database]
as expected.
Signed-off-by: Marc Véron <veron at veron.ch>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com
-----------------------------------------------------------------------
Summary of changes:
Koha.pm | 2 +-
Koha/Upload.pm | 9 +++++++--
installer/data/mysql/updatedatabase.pl | 19 +++++++++++++++++++
t/db_dependent/Upload.t | 2 +-
4 files changed, 28 insertions(+), 4 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list