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

postmarketOS / pmbootstrap / 4366
79%

Build:
DEFAULT BRANCH: master
Ran 10 Mar 2018 01:26PM UTC
Jobs 1
Files 81
Run time 4s
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

pending completion
4366

push

travis-ci

web-flow
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.

2978 of 3919 relevant lines covered (75.99%)

0.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4366.1 10 Mar 2018 01:26PM UTC 0
75.99
Travis Job 4366.1
Source Files on build 4366
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4366
  • af4b817c on github
  • Prev Build on master (#4365)
  • Next Build on master (#4369)
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