Commit graph

547 commits

Author SHA1 Message Date
Philipp Auersperg-Castell
c0d625252e disable orientation and window option for service_only bootstrap 2019-06-03 22:59:28 +02:00
Andre Miras
11b733cbd9 Unit test unicode decode on command output, fixes #857
Also fixes stderr/stdout writing refs #743.
2019-05-28 22:32:10 +02:00
Alexander Taylor
c803e68687 Made sure to print all lines of license question by always flushing 2019-05-26 18:07:02 +01:00
Alexander Taylor
81b6ac51a3
Merge pull request #860 from robertpro/master
Download Apache ANT at the same path as the buildozer.spec android.ant_path option
2019-05-26 14:03:48 +01:00
Andre Miras
586152c6ce Exits with error code on build exception, fixes #674 2019-04-17 22:25:30 +02:00
Andre Miras
4183428daa
Merge pull request #846 from pax0r/uses-library
Support p4a uses-library argument
2019-03-29 22:46:45 +01:00
Andre Miras
dfd2ceb324
Merge pull request #843 from AndreMiras/feature/remove_extra_log_env
Removes extra log_env() call
2019-03-17 22:32:22 +01:00
José Roberto Meza Cabrera
f8f96e4eb7 Download Apache ANT at the same path as the buildozer.spec android.ant_path option 2019-03-16 17:42:17 -06:00
Andre Miras
33854f82a3
Merge pull request #835 from mkg20001/fix-release-unsigned
fix: drop release-unsigned from release output path
2019-03-17 00:03:18 +01:00
Damian Giebas
2b09e1a0bb Fix for bug when logcat value which cannot be decode to utf-8 2019-03-13 22:36:36 +01:00
Andre Miras
5cde0b0f92 Changes default log level to debug (2)
Helps with troubleshooting and error reporting.
Also closes #824
2019-03-12 20:04:13 +01:00
Andre Miras
831d85a5e0 Handles unknown command/target error gracefully, closes #812
Running `buildozer unknown_command` should show a meaningful error and
exit. Fixes regression introduced in 4936d31 and adds unit tests.

Also updates other tests `assert` keyword rather than `self.assert*` in
order to keep style consistent.

Last, minor `Dockerfile` documentation update as per recent @tshirtman
feedback.
2019-03-12 19:31:46 +01:00
Andre Miras
366aff9c60 Various Dockerfile improvements
- installs cutting edge version from current source
- removes outdated java version fixes
- migrates to host Python3
- verifies the image builds and run via Travis
- fixes minor linting: "E117 over-indented"
2019-03-09 20:55:48 +01:00
Bartlomiej Biernacki
37d6a55f7d Support p4a uses-library argument 2019-03-07 13:55:24 +01:00
Andre Miras
61182d6b8b Removes extra log_env() call
Don't print all environment variables for every single cmd() call, refs:
https://github.com/kivy/buildozer/pull/802/files#r261844323
Leaves only one `log_env()` call on command failed.
2019-03-03 00:23:28 +01:00
OptimusGREEN
cf62bf8a89 add missing arch choice to spec 2019-02-26 20:01:44 +00:00
Maciej Krüger
6142acfa40
fix: drop release-unsigned from release output path
Guessing based on this logoutput
```
[INFO]:    # Copying APK to current directory
[INFO]:    # APK filename not found in build output. Guessing...
[INFO]:    # Found APK file: /home/data/.buildozer/android/platform/build/dists/zeronet/build/outputs/apk/release/zeronet-release-unsigned.apk
[INFO]:    # Add version number to APK
[INFO]:    # APK renamed to zeronet-0.6.5.1-release-unsigned.apk
[DEBUG]:   -> running cp /home/data/.buildozer/android/platform/build/dists/zeronet/build/outputs/apk/release/zeronet-release-unsigned.apk zeronet-0.6.5.1-release-unsigned.apk
...
IOError: [Errno 2] No such file or directory: u'/home/data/.buildozer/android/platform/build/dists/zeronet/build/outputs/apk/release-unsigned/zeronet-release-unsigned.apk'
```
2019-02-26 16:09:35 +01:00
Maciej Krüger
17e8e81bca
feat: make unzip quiet
I don't think the list of all files that unzip has extracted is really of any use.

At least for the NDK the amount of stuff it logs is huge.
2019-02-25 20:21:07 +01:00
mkg20001
956d7b94ae
feat: add ci_mode to toggle download progress 2019-02-25 13:06:44 +01:00
Andre Miras
3b023a2d49
Merge pull request #802 from mahomahomaho/show-envs-when-run2
* - show environment to debug before run
* - dump env also when cmd failed
* - log_level symbolic/enumso
2019-02-17 18:49:11 +01:00
maho
8fcbd21eef - log_level symbolic/enumso 2019-02-11 18:06:08 +01:00
Andre Miras
4fb7f6e88b refactor auto accept license
Uses `yes` command and `sdkmanager --licenses` flag to automatically
accept licenses.
This is a more robust, straight forward and more conventional way of
accepting licenses automatically.
2019-02-10 00:06:19 +01:00
Andre Miras
fbf4a1fe2f Sets buildozer.targetname, fixes #813
Regression most likely introduced during recent refactoring, refs:
https://github.com/kivy/buildozer/pull/806
2019-02-08 18:57:23 +01:00
Andre Miras
4ff4bac945 Use getbooldefault() for boolean, fixes #806 2019-02-05 22:47:53 +01:00
Mathieu Virbel
91ba12d437 Bump to 0.40.dev0 2019-02-04 01:08:35 +01:00
Mathieu Virbel
3263983d6b Bump to 0.39 2019-02-04 01:08:32 +01:00
Mathieu Virbel
c0849ba2b2 Bump to 0.39.dev0 2019-02-04 00:54:05 +01:00
Mathieu Virbel
756d6e6243 Bump to 0.38 2019-02-04 00:54:02 +01:00
Alexander Taylor
a780cc470a Made buildozer respect user sdk dir when accessing sdkmanager 2019-02-02 14:18:45 +00:00
Alexander Taylor
6d1d5e9b0d Removed debug print statements 2019-02-01 18:06:10 +00:00
Alexander Taylor
965204910c Improved doc around sdk download url 2019-02-01 17:29:35 +00:00
Alexander Taylor
632731cc98 Completely removed android_sdk_version token 2019-02-01 17:07:19 +00:00
Alexander Taylor
31b1eaeb43 Removed references to android SDK version token 2019-02-01 16:56:55 +00:00
Alexander Taylor
07c8b9ec8e Added auto_accept_license option 2019-02-01 15:30:23 +00:00
Alexander Taylor
165dde84b1 Added license message parsing 2019-02-01 15:16:49 +00:00
Alexander Taylor
4936d31828 Removed android_old target and began update to sdk install 2019-02-01 13:04:06 +00:00
Mathieu Virbel
74e26fe6f2
Merge pull request #795 from hackalog/use_ios_frameworks
Support the --add-frameworks flag in kivy-ios
2019-01-31 15:05:03 +01:00
Mathieu Virbel
f304ada796
Merge pull request #787 from hackalog/specify_github_branches
Specify GitHub branches in buildozer.spec
2019-01-31 13:17:01 +01:00
Andre Miras
07b910c62b
Merge pull request #805 from inclement/remove_duplicated_ndk_api
Removed redundant --ndk-api argument and fixed default value
2019-01-30 16:14:17 +01:00
Alexander Taylor
9bc08dc731 Removed redundant --ndk-api argument and fixed default value 2019-01-30 15:00:55 +00:00
Alexander Taylor
c8e888dbbf Changed default python-for-android branch to master 2019-01-30 12:50:48 +00:00
Alexander Taylor
ee833cfe98 Updated buildozer defaults to use, and work with, p4a master 2019-01-30 12:45:02 +00:00
Gabriel Pettier
f3256cf847
Merge pull request #786 from AndreMiras/feature/minor_commet_typo_ndk_api
Fixes minor comment typo introduced in #759
2019-01-30 11:17:32 +01:00
maho
e8ad30e103 - dump env also when cmd failed 2019-01-27 00:14:22 +01:00
maho
da9d59f96e - show environment to debug before run 2019-01-27 00:14:17 +01:00
Kjell Wooding
823018eb07 Add examples of new url/branch logic to default.spec 2019-01-25 20:26:11 -05:00
Kjell Wooding
bf6b88de3d support the --add-frameworks flag in kivy-ios 2019-01-17 10:54:03 -05:00
JonasT
be52c21467
Fix python 2 crash when reading config file 2019-01-16 21:55:15 +01:00
Guy Sheffer
46cc8f715b Handle buildozer.spec with unicode chars 2019-01-13 11:56:33 +02:00
Andre Miras
152d5417b0 Fixes minor comment typo introduced in #759 2019-01-12 16:59:05 +01:00