Bugzilla – Attachment 53861 Details for
Bug 16715
Koha::Cache - Use Sereal for serialization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 16715: Use Sereal::Decoder and Sereal::Encoder instead of Sereal
PASSED-QA-Bug-16715-Use-SerealDecoder-and-SerealEn.patch (text/plain), 1.47 KB, created by
Katrin Fischer
on 2016-08-01 21:28:30 UTC
(
hide
)
Description:
[PASSED QA] Bug 16715: Use Sereal::Decoder and Sereal::Encoder instead of Sereal
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-08-01 21:28:30 UTC
Size:
1.47 KB
patch
obsolete
>From 6e1d70a9de6f1f4b8feedc8c30cba928951df87c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 1 Aug 2016 11:13:53 +0100 >Subject: [PATCH] [PASSED QA] Bug 16715: Use Sereal::Decoder and > Sereal::Encoder instead of Sereal > >Sereal is not packaged for jessie, so let's use Sereal::Encoder and >Sereal::Decoder instead. > >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > C4/Installer/PerlDependencies.pm | 7 ++++++- > Koha/Cache.pm | 3 ++- > 2 files changed, 8 insertions(+), 2 deletions(-) > >diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm >index db9cd7c..b5d6486 100644 >--- a/C4/Installer/PerlDependencies.pm >+++ b/C4/Installer/PerlDependencies.pm >@@ -807,7 +807,12 @@ our $PERL_DEPS = { > required => 1, > min_ver => '1.00', > }, >- 'Sereal' => { >+ 'Sereal::Encoder' => { >+ 'usage' => 'Caching', >+ 'required' => '1', >+ 'min_ver' => '3.0', >+ }, >+ 'Sereal::Decoder' => { > 'usage' => 'Caching', > 'required' => '1', > 'min_ver' => '3.0', >diff --git a/Koha/Cache.pm b/Koha/Cache.pm >index 0f85ed1..fa4f136 100644 >--- a/Koha/Cache.pm >+++ b/Koha/Cache.pm >@@ -40,7 +40,8 @@ use warnings; > use Carp; > use Module::Load::Conditional qw(can_load); > use Koha::Cache::Object; >-use Sereal; >+use Sereal::Encoder; >+use Sereal::Decoder; > > use base qw(Class::Accessor); > >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16715
:
52264
|
52307
|
52334
|
53592
|
53829
|
53830
| 53861