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

RSS

android-sdk (6) Versions 0.2.1

Installs Google Android SDK

Berkshelf/Librarian
Policyfile
Knife
cookbook 'android-sdk', '= 0.2.1'
cookbook 'android-sdk', '= 0.2.1', :supermarket
knife cookbook site install android-sdk
knife cookbook site download android-sdk
README
Dependencies
Changelog
Quality 78%

Description

This cookbook will install Google Android SDK.

The default recipe of this Chef cookbook will:

  • Download and install/upgrade Android SDK (not ADT)
  • Update SDK dependencies to install some Android platforms (--filter list can be customized in cookbook attributes)
  • Define a default ANDROID_HOME environment variable (via /etc/profile.d/... mechanism)
  • Add ANDROID_HOME/tools and ANDROID_HOME/platform-tools to default PATH environment variable (via /etc/profile.d/... mechanism)

Requirements

  • Chef 12.5+ (due to transitive cookbook dependencies, and to avoid a dependency on compat_resource cookbook)
  • Depends on chef-cookbooks/ark and chef-cookbooks/java cookbooks
  • This cookbook currently supports Ubuntu 12.04+ and CentOS 6.6+, but more Linux distributions are welcome (depending on community interests). Support for MacOS and Windows is also on the roadmap thanks to @rjaros87.

Attributes

TODO (work in progress)

Installation and Usage

This cookbook is released at https://supermarket.chef.io/cookbooks/android-sdk and its original git repository is https://github.com/gildegoma/chef-android-sdk.

  • Find your favourite way (Berkhelf, Librarian-Chef, Chef Supermarket API, Git submodule, or even tarball download) to install this cookbook (and its dependencies).
  • Include the android-sdk::default recipe to your run list or inside your cookbook.
  • Provision!

Quality Assurance

Continous Integration

This Cookbook is being tasted by Travis CI: Build Status

Automated validations are following: * Static Analysis of Ruby code with tailor lint tool * Static Analysis of Chef Cookbooks with foodcritic lint tool * knife cookbook test in a very basic sandbox * PENDING: Expectations described with RSpec examples with ChefSpec * PENDING: ServerSpec integration testing * PENDING: Run true chef (matrix) on travis VM!

Development and Testing

During development, this cookbook is locally tested in following environments: * Development with recent versions of Chef-Solo and Ubuntu (with great help of Berkshelf, Vagrant and Virtualbox and other tools provided by the Chef community). * Integration with great help of Opscode test-kitchen

License and Credits

  • Thanks to:: All Contributors
  • Thanks to:: Ralf Kistner, for all relevant information to create original cookbook
  • Thanks to:: Andrew Rosa, for all relevant information to improve this cookbook
  • Thanks to:: Travis CI Project, for motivating the creation of this cookbook

  • Copyright:: 2013-2014, Gilles Cornu

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

ark >= 0.0.0
java >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for Android-SDK cookbook

v0.2.1 (2017-03-04)

  • Add support for Android SDK 25 (but without integration of the sdkmanager command) [GH-34]
  • Download all the SDK Tools packages from the new HTTPS-based repository. Note that the packages are now .zip files (and no longer available as .tgz).
  • Chef 12.5+ is now required to run this cookbook and its dependencies

v0.2.0 (2015-10-17)

  • Integrate by default with Android SDK 24.4.0 (October 2015)
  • Add the java_from_system option to skip java cookbook dependency (disabled by default)
  • Add the set_environment_variables option to automatically set related environment variables in user shell (enabled by default)
  • Add the with_symlink option to use ark's friendly symlink feature (enabled by default)
  • Deploy scripts for waiting on Emulator startup [GH-16]
  • Deploy scripts for non-interactive SDK setup/updates [GH-13]
  • Add Rubocop checks [GH-7]
  • Optionally install Maven Android SDK Deployer [GH-14]

v0.1.1 (2014-04-01)

  • No code changes compared to v0.1.0
  • Fixed community packaging (Stove included ~ backup files in v0.1.0 tarball)
  • Minor fixes (typo and lint errors)

v0.1.0 (2014-03-31)

  • Accept or Reject some SDK licenses with expect [GH-11]
  • Add a basic idempotent guard [GH-10]
  • Accept all SDK licenses with expect [GH-3]
  • Support for Ubuntu 12.04+ (32bit and 64bit) [GH-1]
  • Integrate by default with Android SDK 22.6.2

v0.0.0 (2013-08-08)

First Draft

Collaborator Number Metric
            

0.2.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.2.1 passed this metric

Foodcritic Metric
            

0.2.1 passed this metric

License Metric
            

0.2.1 passed this metric

No Binaries Metric
            

0.2.1 passed this metric

Publish Metric
            

0.2.1 passed this metric

Supported Platforms Metric
            

0.2.1 passed this metric

Testing File Metric
            

0.2.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.2.1 passed this metric