Bugzilla – Attachment 53829 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]
Bug 16715: Use Sereal::Decoder and Sereal::Encoder instead of Sereal
Bug-16715-Use-SerealDecoder-and-SerealEncoder-inst.patch (text/plain), 1.35 KB, created by
Jonathan Druart
on 2016-08-01 10:16:10 UTC
(
hide
)
Description:
Bug 16715: Use Sereal::Decoder and Sereal::Encoder instead of Sereal
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-01 10:16:10 UTC
Size:
1.35 KB
patch
obsolete
>From 87933fa24c148eb50cd4b716788944e0743aa164 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] 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. >--- > 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); > >-- >2.8.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