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

The ds_opencv cookbook has been deprecated

Author provided reason for deprecation:

The ds_opencv cookbook has been deprecated and is no longer being maintained by its authors. Use of the ds_opencv cookbook is no longer recommended.

You may find that the opencv cookbook is a suitable alternative.

RSS

ds_opencv (6) Versions 3.0.0

Builds and installs opencv

Policyfile
Berkshelf
Knife
cookbook 'ds_opencv', '~> 3.0.0', :supermarket
cookbook 'ds_opencv', '~> 3.0.0'
knife supermarket install ds_opencv
knife supermarket download ds_opencv
README
Dependencies
Changelog
Quality 17%

ds_opencv

Cookbook to build and install OpenCV

Supported versions

The following table describes which OpenCV versions this cookbook supports:

Cookbook version Ubuntu version OpenCV versions x86_64 binaries available
1.x 16.04 3.x
>= 2.0.0 18.04 3.x, 2.x
>= 2.1.0 18.04 4.x, 3.x, 2.x
>= 3.0.0 18.04 4.x, 3.x, 2.x 4.3.0

Usage

  1. Include ds_opencv::default in your wrapper cookbook
  2. Set the node['ds_opencv']['opencv']['version'] in your wrapper.

Packaging binaries for a new OpenCV version

Installing OpenCV from binary debian packages is substantially faster than compiling from source.
If you would like to add a binary for a version of OpenCV you are using in your cookbook, follow these steps:

  1. Bump your downstream cookbook to ds_opencv 3.0.0 or later.
  2. Either by using kitchen or an existing instance, collect the debian packages in /opt/opencv-VERSION/ (downloading with scp -r instance:/opt/OPENCVDIR/*.deb ~/) worked for me. Every installation of ds_opencv 3.0.0 or later includes flags to build these packages, however this is not the default.
  3. Upload those debian packages to s3:darksky-ops/pkg/opencv_public/ with a prefix that matches the existing format CVVERSION-ARCH-UBUNTUVERSION. Make sure those files (but not the whole bucket!) have public read permissions.
  4. Add the name of each of those packages to the hash at the top of the default recipe in this repository.
  5. Release a new version of this cookbook. You're good to go!

Dependent cookbooks

apt >= 0.0.0
build-essential >= 0.0.0
git >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for ds_opencv cookbook

v1.3.2

  • Fix up Test Kitchen + Travis CI setup

v1.3.1

  • Fix unit test to go with 2dedba1a4d26d6d6724d3930e8f5eaeb1f65ef6b

v1.3.0

  • Use apt cookbook instead of directly calling apt_update resource

v1.2.0

  • Add tests
  • Fix incorrect path to library to improve idempotency
  • Open source the cookbook
  • Initial release to Supermarket

v1.1.0

  • Add some parallelism to opencv make

v1.0.0

  • Initial release

Collaborator Number Metric
            

3.0.0 failed this metric

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

Contributing File Metric
            

3.0.0 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
            

3.0.0 failed this metric

FC121: Cookbook depends on cookbook made obsolete by Chef 14: ds_opencv/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

3.0.0 passed this metric

Testing File Metric
            

3.0.0 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
            

3.0.0 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