Changeset e1e90efaf2e9d9d09046e8877c276cb209c5e614
- Timestamp:
- 03/16/10 16:54:17 (5 months ago)
- Author:
- Giuseppe Bilotta <giuseppe.bilotta@…>
- Children:
- 2f623ce5c2748ae0a6d7628fc2cd06625a644c21
- Parents:
- ca51b3d47107c385fd6f7ece8893787179ac8acb
- git-author:
- Voker57 <voker57@gmail.com> 1268601586 +0300
- git-committer:
- Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 1268747657 +0100
- Message:
-
Tokyo Cabinet DB backend
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r3527629
|
re1e90ef
|
|
| 3 | 3 | |
| 4 | 4 | Core requirements |
| 5 | | bdb (berkley db) http://raa.ruby-lang.org/project/bdb/ |
| | 5 | tokyocabinet for "tc" DB adaptor |
| | 6 | http://1978th.net/tokyocabinet/ |
| | 7 | you can install Ruby bindings via "gem install tokyocabinet", |
| | 8 | but this still requires libtokyocabinet to be installed system-wide |
| | 9 | bdb (berkeley db) for "bdb" DB adaptor or converting from it |
| | 10 | http://raa.ruby-lang.org/project/bdb/ |
| 6 | 11 | (which requires libdb4.x or better, formerly from |
| 7 | 12 | www.sleepycat.com, now at |
| … |
… |
|
| 12 | 17 | For Windows instructions, check at the bottom |
| 13 | 18 | of this file. |
| | 19 | |
| 14 | 20 | net/http 1.2+ |
| 15 | 21 | net/https (for debian, this will also need libopenssl-ruby) |
-
|
rca51b3d
|
re1e90ef
|
|
| 421 | 421 | :default => "bdb", |
| 422 | 422 | :wizard => true, :default => "bdb", |
| 423 | | :validate => Proc.new { |v| ["bdb"].include? v }, |
| | 423 | :validate => Proc.new { |v| ["bdb", "tc"].include? v }, |
| 424 | 424 | :requires_restart => true, |
| 425 | | :desc => "DB adaptor to use for storing settings and plugin data. Options are: bdb (Berkeley DB, stable adaptor, but troublesome to install and unmaintained)") |
| | 425 | :desc => "DB adaptor to use for storing settings and plugin data. Options are: bdb (Berkeley DB, stable adaptor, but troublesome to install and unmaintained), tc (Tokyo Cabinet, new adaptor, fast and furious, but may be not available and contain bugs)") |
| 426 | 426 | |
| 427 | 427 | @argv = params[:argv] |
| … |
… |
|
| 495 | 495 | when "bdb" |
| 496 | 496 | require 'rbot/registry/bdb' |
| | 497 | when "tc" |
| | 498 | require 'rbot/registry/tc' |
| 497 | 499 | else |
| 498 | 500 | raise _("Unknown DB adaptor: %s") % @config["core.db"] |