Cookbook to install Xapian with Python bindings on Ubuntu.
Ruby Shell
Pull request Compare This branch is 2 commits ahead of develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attributes
recipes
test/integration/default/bats
.gitignore
.kitchen.yml
Gemfile
Gemfile.lock
LICENSE.md
README.md
TESTING.rb
metadata.rb

README.md

Description

Installs xapian-tools with Python bindings

Requirements

  • Ubuntu 12.04LTS or Ubuntu 14.04LTS.
  • Python 2.7.x

Usage

Include xapian in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[xapian]"
  ]
}

To Symlink Xapian to a Python VirtualEnv, also add the symlink-xapian recipe:

{
  "name":"my_node",
  "run_list": [
    "recipe[xapian]",
    "recipe[xapian][symlink-xapian]"
  ]
}

You may need to change the attributes when symlinking, see attributes/default.rb for more detailed information:

{
  "name":"my_node",
  "run_list": [
    "recipe[xapian]",
    "recipe[xapian][symlink-xapian]"
  ],
  "override_attributes": {
    "xapian": {
      "linux_user": "",
      "virtual_env_path": "",
      "virtual_env": ""
    }
  }
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like feature/add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github