Commit graph

946 commits

Author SHA1 Message Date
Andre Miras
1fac86dbff Minor linter fix
Linter regression introduced in #934, see:
https://github.com/kivy/buildozer/pull/934#discussion_r304309602
2019-07-17 11:44:38 +02:00
Andre Miras
1e7cc7f9c4
Merge pull request #936 from yairlempert/patch-1
Update installation.rst
2019-07-17 11:43:44 +02:00
Yair Lempert
dbe02e3106
Update installation.rst
sdkmanager isn't accepting the "--install" option anymore. Works fine without it.
2019-07-16 11:17:26 +03:00
Brent Picasso
2adb7e157c clarify overriding of config tokens 2019-07-12 13:56:59 -07:00
Alexander Taylor
6ce80697f8
Merge pull request #934 from misl6/add-libs-armeabi-v8a
Extend add_libs to arm64-v8a
2019-07-10 20:06:07 +01:00
Mirko Galimberti
81c825f6c6 extend add_libs to arm64-v8a 2019-07-10 20:57:55 +02:00
Gabriel Pettier
3deca91485
Merge pull request #932 from kivy/doc/installation_updates
Doc/installation updates
2019-07-06 14:49:42 +02:00
Gabriel Pettier
1bb1c56784 clarify which version of ubuntu is tested. 2019-07-05 00:10:22 +02:00
Gabriel Pettier
f271dda98d add starting instructions for ios 2019-07-04 00:48:28 +02:00
Gabriel Pettier
f9b5b07b4f update android instructions for buildozer 2019-07-04 00:46:44 +02:00
Andre Miras
5ede887a4e
Merge pull request #912 from zworkb/service_only
disable orientation and window option for service_only bootstrap
2019-06-16 22:41:07 +02:00
Philipp Auersperg-Castell
c0d625252e disable orientation and window option for service_only bootstrap 2019-06-03 22:59:28 +02:00
Andre Miras
678b1bf52c
Merge pull request #905 from AndreMiras/feature/ticket857_test_cmd_unicode_decode
Unit test unicode decode on command output, fixes #857
2019-05-28 23:05:38 +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
f729829788
Merge pull request #904 from inclement/fix_sdkmanager_install_question
Made sure to print all lines of license question by always flushing
2019-05-26 21:55:39 +01: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
José Roberto Meza Cabrera
5540f84452 Added Android ANT path test 2019-03-17 19:05:55 -06: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
Gabriel Pettier
06a964dbe4
Merge pull request #856 from Draqun/master
Fix for bug when logcat value which cannot be decode to utf-8
2019-03-13 22:52:37 +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
Mathieu Virbel
1edbb7e0e5
Merge pull request #855 from AndreMiras/feature/change_default_log_level_to_2
Changes default log level to debug (2)
2019-03-12 22:56:20 +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
4c2152b36e
Merge pull request #853 from AndreMiras/feature/ticket812_fix_AttributeError_translate_target
Handles unknown command/target error gracefully, closes #812
2019-03-12 19:47:07 +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
2b4046145f
Merge pull request #852 from AndreMiras/feature/dockerfile_system_requirements_rework
Updates system requirements needed to build recipes
2019-03-12 05:03:58 +01:00
Andre Miras
eabbf2b95e Updates system requirements needed to build recipes
Makes it possible to build Android APKs directly from Docker.
Tested by building sucessfully both:

  * kivy-garden/garden.zbarcam (20190303)
  * AndreMiras/EtherollApp (20190217)

After building the image with:
```
docker build --tag=kivy/buildozer .
```
The following command was used to build the Android APK:
```
docker run \
    --volume "$HOME/.buildozer":/home/user/.buildozer \
    --volume "$(pwd)":/home/user/hostcwd \
    kivy/buildozer android debug
```

Note the system dependencies were also sorted alphabetical to ease
maintenance.
Later more dependencies can be added if needed to build a given recipe.
2019-03-10 23:11:10 +01:00
Andre Miras
4ec6040e42
Merge pull request #848 from AndreMiras/feature/docker_improvements_and_ci
Various Dockerfile improvements
2019-03-09 21:08:41 +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
71aae60e31
Merge pull request #845 from powercat/patch-2
Removed reference to Kivy VM
closes #294, closes #296, closes #764, closes #827
2019-03-06 20:13:41 +01:00
Olivier
1d2b675729
Removed reference to Kivy VM
Removed reference to Kivy VM as it doesn't actually exist
2019-03-06 09:33:37 -08: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
Andre Miras
cf880a390c
Merge pull request #839 from OptimusGREEN/master
add missing android arch to spec file
2019-02-26 21:49:31 +00:00
OptimusGREEN
cf62bf8a89 add missing arch choice to spec 2019-02-26 20:01:44 +00:00
OptimusGREEN
3e4e2266c8 Merge remote-tracking branch 'kivy-buildozer/master' 2019-02-26 19:59:59 +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
Andre Miras
93af45c46d
Merge pull request #836 from mkg20001/feat/unzip-quiet
feat: make unzip quiet
2019-02-25 19:36:53 +00: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
Andre Miras
46bcf9575c
Merge pull request #833 from mkg20001/feat-ci-mode
Add ci_mode to toggle download progress, fixes #823
2019-02-25 14:08:25 +00: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
Andre Miras
07a6a41f04
Merge pull request #831 from AndreMiras/feature/unit_testing_log
Unit test logger
2019-02-17 18:34:29 +01:00
Andre Miras
9c137b06a7 Unit test logger
- adds test utils methods
- checks default log level
- sets log level via spec file
- checks messages printing depending on level
2019-02-17 18:10:18 +01:00
maho
8fcbd21eef - log_level symbolic/enumso 2019-02-11 18:06:08 +01:00
Alexander Taylor
afebba5f3c
Merge pull request #822 from AndreMiras/feature/refactor_auto_accept_license
refactor auto accept license
2019-02-10 13:23:39 +00:00