forked from Mirror/pmbootstrap
This fixes an issue where the local apk index has two packages in it that provide the same thing, but this function was returning only the one with the shortest name... which could be very bad :) https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475#note_480167 In the process, add tests for pmb.parse.apkindex.package function. Some of the tests would fail without this patch, surfacing a bug where priorities are not considered, but should, and that we are now fixing. Co-authored-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2594 |
||
---|---|---|
.. | ||
test_apkindex.py | ||
test_bootimg.py | ||
test_deviceinfo.py | ||
test_version.py |