Get current version from build.prop when not available in header
Description
For older android version, we don't send /e/ version in header, so we can use the current build when available
Issue(s)
https://gitlab.e.foundation/e/backlog/-/issues/6562
- Download docker images
docker pull registry.gitlab.e.foundation/e/infra/lineageota:use-incremental-when-no-version-in-header
- download following file and extract it within
<home directory>/builds/full/test/FP3
Test procedures
test new implementation
- run
docker run \ -d \ -p 80:80 \ --rm \ -v "${PWD}/builds:/var/www/html/builds" \ --name OTAtest \ registry.gitlab.e.foundation/e/infra/lineageota:use-incremental-when-no-version-in-header
- test with Postman (
Local server
from -e-OTA.postman_collection.json)-
device code
:dreamlte
-
build type
:test
-
incremental
:eng.root.20220406.154003
-
- check that 1.7 is available as an upgrade
- change dreamlte/e-1.7-r-20230110250404-stable-dreamlte.zip.config.json, set "minOSVersion": "0.23" to "minOSVersion": "0.24"
- check that this upgrade is not available anymore
fully validated on my own OTA test server>
Screenshots
Check list
-
Self review -
Test procedure explained -
Tested on fresh install -
Tested applied as an update -
License -
Internal documentation -
User documentation
Edited by Alexandre Roux