Berkshelf Hg (or Berkshelf Mercurial) is a Berkshelf extension that adds support for downloading cookbooks from Mercurial locations.
This software project is no longer under active development as it has no active maintainers. The software may continue to work for some or all use cases, but issues filed in GitHub will most likely not be triaged. If a new maintainer is interested in working on this project please come chat with us in #chef-dev on Chef Community Slack.
Add this line to your application's Gemfile:
gem 'berkshelf-hg'
And then execute:
$ bundle
Or install it yourself as:
$ gem install berkshelf-hg
Activate the extension in your Berksfile
:
source 'https://api.berkshelf.com'
extension 'hg'
Use the exposed :hg
key to define your sources:
cookbook 'bacon', hg: 'https://bitbucket.org/meats/bacon'
You may also specify a branch
or tag
:
cookbook 'bacon', hg: 'https://bitbucket.org/meats/bacon', branch: 'crispy'
- Author: Seth Vargo ([email protected])
- Author: Manuel Ryan ([email protected])
Copyright 2014 Seth Vargo
Copyright 2013-2014 Manual Ryan
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.