Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Get current version from build.prop when not available in header

Alexandre Roux requested to merge use-incremental-when-no-version-in-header into master

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

  1. Download docker images
    • docker pull registry.gitlab.e.foundation/e/infra/lineageota:use-incremental-when-no-version-in-header
  2. download following file and extract it within <home directory>/builds/full/test/FP3

Test procedures

test new implementation

  1. 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
  2. test with Postman (Local server from -e-OTA.postman_collection.json)
    • device code: dreamlte
    • build type: test
    • incremental: eng.root.20220406.154003
  3. check that 1.7 is available as an upgrade
  4. change dreamlte/e-1.7-r-20230110250404-stable-dreamlte.zip.config.json, set "minOSVersion": "0.23" to "minOSVersion": "0.24"
  5. 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

Merge request reports

Loading