LAVA: Add the GTS template

Change-Id: Ib58b95d95f8476861d7070dd168c072620c4f520
2 files changed
tree: 24230315e658d3493316807435908575a004eb76
  1. lava/
  2. .gitignore
  3. fetch-and-push-partner
  4. merge-partner-on-aosp
  5. ota_install
  6. README.md
  7. requirements-dev.txt
README.md

Fairphone tools

A collection of tools developed at Fairphone related to Android development:

  • lava/: tools to interact with LAVA, the automated testing system.
  • scripts in the root directory:
    • fetch-and-push-partner: a script to fetch the AOSP partner security branches in the Android tree and push them to our own repositories.
    • merge-partner-on-aosp: a script to merge the AOSP partner security branches in the Android tree.
    • ota_install: a script to push an OTA to a device and initiate the update process with the Fairphone Updater.

Developing

Code style, linters, and formatters must be used before submitting any new tool.

Within a Python 3.6 environment:

$ pip install -r requirements-dev.txt

Bash/Shell

Note: Portable shell scripts are favoured over Bash scripts.

Follow what the Bashate style checker recommends.

$ bashate --verbose <file>

Python

Note: Python 3 is favoured over Python 2.

Let the Black formatter craft Python source for you.

$ black -l 80 --verbose <file>