commit | 2a0b54d61505933221da1785a6d4370331e3b376 | [log] [tgz] |
---|---|---|
author | Karsten Tausche <karsten@fairphone.com> | Wed Jan 16 13:57:31 2019 +0100 |
committer | Karsten Tausche <karsten@fairphone.com> | Mon Jan 21 12:02:03 2019 +0100 |
tree | a37c3bc04f698a28e24b56ccb472a8e9859af8a6 | |
parent | be5a5f0ba8a50ceb0e742e60ec1c0db7ba753782 [diff] |
LAVA: Set parameter for userdata reset Pass in the configurable path to a prepared userdata image that is used to cleanly reset devices before rerunning tests. Issue: INFRA-137 Change-Id: I2d5e48cb1329538eda979d56dde4a7a9cc6f39a2 Depends-On: I4a6510ceab6aec7ce530b9f8e244e9655dc22b81
A collection of tools developed at Fairphone related to Android development:
bin
.<language>-libs
:python-libs/android-tools
: A support library to work with Android devices and apps in Python 3.shell-libs
: A collection of shell scripts for handling common shell commands and operations.bullseye
: Script to check and apply security patches from Android Security Bulletins.lava
: tools to interact with LAVA, the automated testing system.jira
: Script to import CSV defined configuration into the Fairphone JIRA instance. The script can create users, groups and components. Run ./import_csv_to_jira.py --help
for details.See the individual tools help (--help
) or projects README for installation and usage.
TODO: Migrate the LAVA tools in lava
to an installable Python package.
Code style, linters, and formatters must be used before submitting any new tool or patchset. Maximal line lengths are fixed to 80 characters.
Install the selected toolset within a Python 3.6 (virtual) environment:
$ pip3 install -r requirements-dev.txt
We detail below the recommendations (read: requirements) per language and how to run the tools in a standalone fashion.
Note: Portable shell scripts are favoured over Bash scripts.
Follow what the Bashate style checker recommends.
$ bashate --verbose <file>
Note: Python 3.6 is the current development choice.
Let Black format Python files for you.
$ black <file>
Trust that the linting tools (flake8 and pylint) know better and follow their advice.
$ flake8 <file> $ pylint <file>
The project is made available under the terms of the Apache 2.0 license. See LICENSE for details.