Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

mu (6) Versions 0.3.1

Installs/Configures mu (maildir-utils)

Policyfile
Berkshelf
Knife
cookbook 'mu', '~> 0.3.1', :supermarket
cookbook 'mu', '~> 0.3.1'
knife supermarket install mu
knife supermarket download mu
README
Dependencies
Changelog
Quality 33%

mu Cookbook

Install and configures mu, a Maildir indexer.

Cookbook Version Build Status

Requirements

Platforms:

The following platforms and versions are tested and supported using Opscode's test-kitchen.
- Debian 7
- Debian 8

Attributes

mu::default

  • default["mu"]["emacs_package"] = emascs package to install.
  • default["mu"]["packages"] - package dependencies, depending of the platform.

mu::compile

  • default["mu"]["compile"]["build_dir"] - Where mu archive will be extracted and builded
  • default["mu"]["compile"]["git-repository"] - Git repository
  • default["mu"]["compile"]["git-reference"] - Git reference
  • default["mu"]["compile"]["packages"] - Required packages for compilation
  • default["mu"]["compile"]["flags"] - Flags to pass to configure script

Usage

mu::default

Just include mu in your node's run_list to install from packages:

{
  "name":"my_node",
  "run_list": [
    "recipe[mu]"
  ],
  "attributes": {
    "mu": {
      "emacs_package": "emacs23-nox",
      "packages": ["maildir-utils", "mu4e"]
    }
  }
}

mu::compile

Just include mu::compile in your node's run_list to install from sources:

{
  "name":"my_node",
  "run_list": [
    "recipe[mu:compile]"
  ],
  "attributes": {
    "mu": {
      "compile": {
        "build_dir": "/tmp/mu",
        "git-reference": "v0.9.11",
        "packages": ["libxapian-dev"],
        "flags": ["--with-guile-support=no"]
      }
    }
  }
}

Tests

This cookbook contains serverspec for test-kitchen, foodcritic and knife tests.

  • First, install dependencies:

    bundle install

  • Install cookbook dependencies

    berks install

  • To run all tests:

    bundle exec rake

  • To run integration tests:
    bundle exec kitchen test

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like 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

License and Authors

Authors: Sliim sliim@mailoo.org

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

mu CHANGELOG

This file is used to list changes made in each version of the mu cookbook.

0.3.1

S70wN::compile now install mu4e.

0.3.0

Now use git repository to build from source.
Breaking changes: Attribute [mu][compile][version] is no longer available! Use [mu][compile][git-reference] instead.

0.2.0

  • Added compile recipe for installation from source
  • default recipe install from packages if available, else it attempt to include compile recipe
  • Added flags attribute, a list of flags to pass to configure script

O.1.2

  • Fixed compilation error
  • Added Chefspec
  • Code improvements

0.1.1

  • Use official opscode box for test-kitchen

0.1.0

  • Initial release of mu

Collaborator Number Metric
            

0.3.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.3.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.3.1 passed this metric

No Binaries Metric
            

0.3.1 passed this metric

Testing File Metric
            

0.3.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.3.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number