• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

postmarketOS / pmbootstrap / 4240 / 1
76%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/chroot-buildroot-architecture
DEFAULT BRANCH: master
Ran 28 Feb 2018 10:11PM UTC
Files 81
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Feb 2018 09:51PM UTC coverage: 76.176%. First build
4240.1

push

travis-ci

ollieparanoid
Skip virtual packages when parsing APKINDEX

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.

2964 of 3891 relevant lines covered (76.18%)

0.76 hits per line

Source Files on job 4240.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 4240.1
  • 2b8a918e on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc