commit | 677090b67e1a6c987e342f1a9998a7515800bae3 | [log] [tgz] |
---|---|---|
author | Borjan Tchakaloff <borjan@steadymonkey.eu> | Wed Feb 19 09:48:07 2020 +0100 |
committer | Borjan Tchakaloff <borjan@steadymonkey.eu> | Wed Feb 26 14:51:18 2020 +0100 |
tree | 687910e0c7d10ae85156efaaf72c7566603d9a36 | |
parent | 4ba9e03c8f5e7faa1224173c0fd6f5bd19426424 [diff] |
Handle viSer 4.0 - The viSer proxy app is not required anymore. - Set the built-in dialer as the default dialer. - Update the app settings from a fresh export. Issue: INFRA-225 Change-Id: I266bf682cb39b7118b57f05684f5e6ae5512b7f0 Depends-On: I55648872e2a87cdad22f82a29a17e7bb9824638d
Deployment script to install and configure the SmartViser solution on devices.
Install the required dependencies in a virtual environment:
% python3 -mvenv venv % . ./venv/bin/activate (venv) % pip install -r requirements.txt
Follow instructions at https://gitlab.fairphone.software/fp/wiki/wikis/fp2/m/gms/sanity#prepare-a-device
Follow (and potentially adapt) instructions on how to run sanity check at https://gitlab.fairphone.software/fp/wiki/wikis/fp2/m/gms/sanity#run-the-sanity-check
Install the pre-commit
hook to setup the toolchain:
(venv) % pip install -r requirements-dev.txt (venv) % pre-commit install
The toolchain can be run independently of the hook. On the staged changes only:
(venv) % pre-commit run
Or on all files:
(venv) % pre-commit run --all-files
To keep things simple, and avoid installing extra software, this repository relies on standard Python tools (pip
and the venv
module).
The abstract dependencies are specified in setup.py
while the actual dependencies (i.e. the required and transitive dependencies) are pinned in dedicated requirements files. This ensures reproducibility.