boxen / puppet-android Goto Github PK
View Code? Open in Web Editor NEWThis project forked from aafwu00/puppet-android
Android Puppet Module for Boxen
License: MIT License
This project forked from aafwu00/puppet-android
Android Puppet Module for Boxen
License: MIT License
@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?
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?
It'd be great to specify the version for Android Extras so that we can specify the exact version in our build files.
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.
I have tried this module, but no package gets installed.
I think is because in the shell command that is used to install ( android update sdk --no-ui --filter ${filter}
) there are some licenses to accept that puppet just ignore.
@aafwu00 have you ever had this problem? are you getting everything installed??
thanks!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.