Git Product home page Git Product logo

puppet-android's Issues

build-tools location

@aafwu00 @tarebyte @fromonesrc I updated the brew formula to use the latest sdk. I was really looking to fix a problem where the build-tool zipalign was not found by the /opt/boxen/homebre/bin/zipalign script

That bin is in fact a symlink to /opt/boxen/homebrew/Cellar/android-sdk/24-boxen1/bin/zipalign and it contents is

#!/bin/bash
TOOL="/opt/boxen/homebrew/Cellar/android-sdk/24-boxen1/build-tools/21.1.2/zipalign"
exec "$TOOL" "$@"

The problem is that in the formula, the build-tools version is hardcoded (was to 17.0.0 and now is to 21.1.2) https://github.com/boxen/puppet-android/blob/master/files/brews/android-sdk.rb#L25-L27
In order to work you need to install that exact version with the build-tools class this puppet module provides

android::build_tools { '21.1.2': }

Maybe the the formula install bits that create those files should be triggered somehow when the android::build_tools class is used...

Or maybe the brew formula should explain after intalling that you need to install that version of build-tools ??

Can you think of a better solution or approach to fix this issue?

Incompatible with latest Java

If your own Puppetfile has:

  • github "java", "1.5.0"

On install of puppet-android you get a conflict as the latest is installed, but this seems to be requiring 1.1.2 any way to loosen this constraint?

Extras with numbers in the name always downloaded again

The detection of already installed extras doesn't work if the extra has a number in the name. For example extra-android-m2repository will install in extra/android/m2repository, but the regex ($subfix = regsubst($version, '^extra-(\D+)-(\D+)$', '\2')) will fail to match this, so it will look for extra/extra-android-m2repository/extra-android-m2repository.

So the regex should be a bit smarter, but I don't know what formats we can expect (I'm just a poor lonesome ops guy, not an Android dev, trying to get Jenkins under control). '^extra-(.+)-(.+)$' seems to work for me.

allow setting the ndk version

I have an app that requires ndk r10, but currently this module sets $android::config::ndk_version to r9c-boxen1.

I'm a bit of a puppet noob so I'm not sure I can help out much with the pull request. But I'll give it a shot if you can point me in direction of an example I can follow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.