summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-24 18:48:31 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-24 18:48:31 +0200
commitf9474d9b06e9b39a3e1f291af50b6d33e7f8d10a (patch)
tree31e651de8960249e4c19500e3249624a9b8a65ec
parente1865d8d3059f01bedd532fb6260573912560510 (diff)
downloadbugzilla-f9474d9b06e9b39a3e1f291af50b6d33e7f8d10a.tar.gz
bugzilla-f9474d9b06e9b39a3e1f291af50b6d33e7f8d10a.tar.xz
Bug 574376: Make checksetup.pl recommend JSON::XS to speed up the JSON-RPC
WebService r=mkanat, a=mkanat (module owner)
-rw-r--r--Bugzilla/Install/Requirements.pm7
-rw-r--r--template/en/default/setup/strings.txt.pl1
2 files changed, 8 insertions, 0 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index badf63c40..00077a5a9 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -239,6 +239,13 @@ sub OPTIONAL_MODULES {
feature => ['jsonrpc'],
},
{
+ package => 'JSON-XS',
+ module => 'JSON::XS',
+ # 2.0 is the first version that will work with JSON::RPC.
+ version => '2.0',
+ feature => ['jsonrpc_faster'],
+ },
+ {
package => 'Test-Taint',
module => 'Test::Taint',
version => 0,
diff --git a/template/en/default/setup/strings.txt.pl b/template/en/default/setup/strings.txt.pl
index eec0bd90e..20c5627c9 100644
--- a/template/en/default/setup/strings.txt.pl
+++ b/template/en/default/setup/strings.txt.pl
@@ -57,6 +57,7 @@ END
feature_inbound_email => 'Inbound Email',
feature_jobqueue => 'Mail Queueing',
feature_jsonrpc => 'JSON-RPC Interface',
+ feature_jsonrpc_faster => 'Make JSON-RPC Faster',
feature_new_charts => 'New Charts',
feature_old_charts => 'Old Charts',
feature_mod_perl => 'mod_perl',