Changeset e1e90efaf2e9d9d09046e8877c276cb209c5e614

Show
Ignore:
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:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • REQUIREMENTS

    r3527629 re1e90ef  
    33 
    44Core 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/ 
    611                            (which requires libdb4.x or better, formerly from 
    712                            www.sleepycat.com, now at 
     
    1217                            For Windows instructions, check at the bottom 
    1318                            of this file. 
     19 
    1420      net/http 1.2+ 
    1521      net/https             (for debian, this will also need libopenssl-ruby) 
  • lib/rbot/ircbot.rb

    rca51b3d re1e90ef  
    421421      :default => "bdb", 
    422422      :wizard => true, :default => "bdb", 
    423       :validate => Proc.new { |v| ["bdb"].include? v }, 
     423      :validate => Proc.new { |v| ["bdb", "tc"].include? v }, 
    424424      :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)") 
    426426 
    427427    @argv = params[:argv] 
     
    495495      when "bdb" 
    496496        require 'rbot/registry/bdb' 
     497      when "tc" 
     498         require 'rbot/registry/tc' 
    497499      else 
    498500        raise _("Unknown DB adaptor: %s") % @config["core.db"]