pmbootstrap-meow/test/testdata
Oliver Smith af4b817c21
Skip virtual packages when parsing APKINDEX (#1278)
Since PR #1247 we are using the virtual package `.pmbootstrap` to mark
packages as not explcitly installed. In case `pmbootstrap` doesn't
finish the installation because of a bug, the `.pmbootstrap` virtual
package may not get uninstalled.

As virtual packages don't have the "timestamp" attribute set in the
package database (which indicates when the package was built), the
APKINDEX parser fails to parse them.

Changes:
* pmb.parse.apkindex.parse_next_block(): don't require the "timestamp"
  attribute to be set (but the arch attribute instead, which is always
  present)
* pmb.parse.apkindex.parse(): when a block does not have a `timestamp`
  attribute, skip it, because it must be a virtual package.
* add test cases for both functions with a package database that
  contains a virtual package.
2018-03-10 13:15:30 +00:00
..
apkbuild Make proprietary drivers optional (1/2): pmbootstrap changes (#1254) 2018-02-24 21:49:10 +00:00
apkindex Skip virtual packages when parsing APKINDEX (#1278) 2018-03-10 13:15:30 +00:00
bootimg Add pmbootstrap bootimg_analyze / prompt during new device wizard (#905) 2017-11-19 14:35:23 +00:00
build_local_src pmbootstrap build --src: override source for any package (#1210) 2018-02-19 22:04:01 +00:00
init_questions_device/aports/device deviceinfo: remove external_disk_install and external_disk, use external_storage instead (#1301) 2018-03-07 22:35:02 +00:00
pkgrel_bump/aports Gracefully handle packages breaking because of soname bumps (#1116) 2018-01-14 01:26:42 +00:00
version Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00:00