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

postmarketOS / pmbootstrap
76%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/chroot-buildroot-architecture
DEFAULT BRANCH: master
Repo Added 24 Oct 2017 04:26PM UTC
Files 392
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

LAST BUILD ON BRANCH fix/1273-missing-key-timestamp
branch: fix/1273-missing-key-timestamp
CHANGE BRANCH
x
Reset
  • fix/1273-missing-key-timestamp
  • 0.3.0
  • 0.4.0
  • 0.5.0
  • 0.6.0
  • bshah/calls-hammerhead
  • check-dtbtool-qcdt
  • default-bootimg-qcdt
  • device-asus-tf300t
  • device-jolla-sbj
  • device-lg-bullhead
  • device-samsung-g930f
  • device/huawei-y530-cleanup
  • device/kernel-APKBUILD-cleanup
  • device/lg-mako
  • device/motorola-maserati
  • device/raspberry-pi
  • device/samsung-i9070-fix
  • device/samsung-i9070-mesa-subpackage
  • device/samsung-klte
  • device/samsung-klte-mainline
  • device/samsung-maguro
  • device/samsung-maguro-firmware
  • device/wiko-lenny3
  • deviceinfo_parse
  • drebrez-patch-1
  • falkon-disable-checks
  • feature/1013-depend-on-mesa-dri-swrast
  • feature/1041-kernel-local-git-repo
  • feature/1049-split-install
  • feature/1065-disallow-running-as-root
  • feature/1175-tmpfs-in-chroot-dev-folder
  • feature/1241-zap-m-delete-old-pkgs-too
  • feature/1263-init-choose-kernel
  • feature/453-qmu-virtio
  • feature/574_swap_file
  • feature/756-make-proprietary-software-optional
  • feature/865-check-APKBUILD-line-endings
  • feature/anbox
  • feature/apk-file
  • feature/aportgen-linux-output-dir
  • feature/better-depends-error
  • feature/binutils_gcc_musl_x86
  • feature/bullhead-osk-sdl
  • feature/charging-sdl
  • feature/chroot-buildroot-architecture
  • feature/config-init-ccache-size
  • feature/coveralls
  • feature/debug-shell
  • feature/debug-shell-fbdebug
  • feature/delete_old_packages
  • feature/devicepkg-generate-udev-rules
  • feature/enable-binary-repository
  • feature/enable_distcc_for_repack
  • feature/envkernel.sh
  • feature/fbdebug
  • feature/flash_method_none
  • feature/flasher-fastboot-vendor-id
  • feature/flasher-flash-rootfs-instead-of-system
  • feature/grouper_add_osk_config
  • feature/hybris
  • feature/implement_gitlab_ci
  • feature/improved-pmbootstrap-init
  • feature/init-create-device-linux-aport
  • feature/initramfs-debug-shell-files
  • feature/kconfig-check-config-pft
  • feature/libhybris
  • feature/linux-postmarketos-hammerhead-the-2nd
  • feature/matchbox-keyboard
  • feature/msm-refresher-initfs-hook
  • feature/n900-swiss-german-keyboard
  • feature/networkmanager
  • feature/nheko
  • feature/nonfree-optional-part2
  • feature/only-download-necessary-apkindex-files
  • feature/ordered_ui_selection
  • feature/parse_bootimg
  • feature/phosh
  • feature/pmbootstrap-log-msg-not-in-logfile
  • feature/pmbootstrap-timeout
  • feature/postmarketos-ui-i3
  • feature/postmarketos-ui-mate
  • feature/qemu-running-processes
  • feature/qemu-user-static-repack-all-arch
  • feature/raspberry-pi-no-dhcpcd
  • feature/readme-remove-telnet-unlock
  • feature/readme-update
  • feature/recovery-chroot
  • feature/remove-werror-in-kbuild
  • feature/set-hostname
  • feature/test-upstream-compatibility-for-aportgen-packages
  • feature/travis-device-documentation-check
  • feature/travis-find-changemes
  • feature/travis-output-folding
  • feature/ui-mate-pmos-wallpaper
  • feature/ui-weston-pmos-wallpaper
  • feature/wireguard
  • feature/wrap-newapkbuild
  • feature/x86_64_cross_compilation
  • feature/x86_support
  • feature/xfce4-improvements
  • firmware-adreno-4xx
  • fix/1017-qemu-arm
  • fix/1033-disable-v4l-properly
  • fix/1061-strict-depend-native-cross
  • fix/1066-permisson-error-bootimg
  • fix/1071-shadow-su-wrong-path
  • fix/1072-rm-rf-tempdir-odin
  • fix/1122-pmbootstrap-picks-wrong-so-provider
  • fix/1128-require-valid-device-for-testsuite
  • fix/1144-version-validation-corner-case
  • fix/1186-device-has-pmbootstrap-repo
  • fix/1212-all-depends-marked-as-explicitly-installed
  • fix/1220-build-resolve-provides
  • fix/1272-aportgen-handle-old-git-checkout
  • fix/1287-can-only-concatenate-list
  • fix/1298-make-copied-aport-world-readable
  • fix/1302-newapkbuild-argparse
  • fix/1344-resolver-fuzzy-versions
  • fix/1351-dependency-resolver-hangs
  • fix/1353-init-ask-ssh-keys
  • fix/1364-ext4-metadata-csum
  • fix/1379-pkgrel_bump-subpackages
  • fix/1405-initfs-hook-ls-output
  • fix/1431-user-not-in-video-group
  • fix/1444-binfmt-misc-check
  • fix/1458-gcc-armhf-strict
  • fix/1551-pmbootstrap-kconfig-edit
  • fix/312-mkinitfs-fail-on-missing-depends
  • fix/672-qemu-amd64-xfce4-broken
  • fix/700_rx51_udev_trigger
  • fix/716-ccache-distcc
  • fix/722-install-fails-on-fedora
  • fix/818_clear_repo_list_after_zap
  • fix/831-check-if-work-is-inside-pmbootstrap-folder
  • fix/839-check-pkgvers
  • fix/839-invalid-pkgvers
  • fix/869-resize-qemu-partition
  • fix/893-handle-soname-bumps
  • fix/897_fastboot_max_filesize
  • fix/928-no-space-left
  • fix/941-refactor-cleanup
  • fix/948-depends-recurse-forever
  • fix/949-check-if-work-folder-exists
  • fix/955-unwanted-rebuilds
  • fix/960-disable-root-login
  • fix/968-cache-built-packages-list
  • fix/abootimg_all_architectures
  • fix/apk-file-update
  • fix/build-is-necessary-default-arch
  • fix/build-src-foreign-arch
  • fix/choose-right-gtk2
  • fix/cleanup_networking
  • fix/device-pkgs-depend-on-pmos-base
  • fix/distfiles-permissions
  • fix/downloading-native-apkindex-twice
  • fix/dtbTool-version-detection
  • fix/flasher-depends
  • fix/ignore_vscode
  • fix/incorrect-package-metadata
  • fix/index-with-README
  • fix/initramfs-framebuffer-mode
  • fix/install-wrong-device-kernel
  • fix/kconfig-allow-devtmpfs-mount
  • fix/lingering_broken_cache_apk_symlink
  • fix/linux-pmos-mainline-makedepends
  • fix/linux-samsung-i9003-paranoid
  • fix/mdss-fb-hack
  • fix/menuconfig-arch
  • fix/missing-dev-nodes-after-shutdown
  • fix/move_flash_methods_variable
  • fix/musl-version
  • fix/odin-export-default-partitions
  • fix/odin-export-regression
  • fix/pmb-chroot-user-escaping
  • fix/pmbootstrap-zap-m
  • fix/qemu-flavor
  • fix/random-depends
  • fix/raspberry-pi-firmware
  • fix/readme-requirements
  • fix/recovery-copy-files
  • fix/recovery-fstab-regex
  • fix/recovery-tar-extract
  • fix/rx51_uboot_stable_kernel
  • fix/smarter-build-arch-autodetect
  • fix/test-build-package-testcase
  • fix/travis-apk-progress-screwup
  • fix/travis-apkindex-not-found-messages
  • fix/travis-qemu-test-case
  • fix/unregister-all-binfmt-architectures
  • fix/xorg-on-hammerhead
  • flash-method-singular
  • fp2-firmware
  • init-manufacturer
  • kde-connect
  • kernel-updates
  • konsole-fix
  • martijnbraam/hammerhead-cleanup
  • martijnbraam/new-wallpaper
  • martijnbraam/postmarketos-qcom-networking
  • master
  • method-info
  • peruse-comic-book-reader-app
  • pmbootstrap-feature/756-move-firmware-folder
  • postmarketos-ui-luna
  • postmarketos-ui-plasma-mobile
  • qemu-kernel-flavors
  • recovery-single-logfile
  • refactor/pmb-build-package
  • refactor/remove-obsolete-challenge-code
  • remove/buildinfo
  • remove/temp-rpi-bootloader
  • remove/timestamp-based-rebuilds
  • titan-osk-sdl
  • titan-wifi-firmware
  • unicsy-2
  • update/linux-4.13.10
  • update/linux-4.13.11
  • update/linux-postmarketos-stable-4.14
  • update/linux-postmarketos-stable-4.14.2
  • update/linux-postmarketos-stable-4.14.9
  • update/linux-postmarketos-stable_4.13.12
  • update/osk-sdl
  • update/osk-sdl-0.51
  • workaround/1055-package-both-dtbtools
  • workaround/936-qemu-lts-kernel
  • workaround/aarch64-abuild-tar-qemu
  • workaround/qml-compile-for-armv7
  • workaround/weston-disable-rdp

pending completion
4240

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

Relevant lines Covered
Build:
Build:
3891 RELEVANT LINES 2964 COVERED LINES
0.76 HITS PER LINE
Source Files on fix/1273-missing-key-timestamp
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
4240 fix/1273-missing-key-timestamp 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` vir... push 28 Feb 2018 10:11PM UTC ollieparanoid travis-ci pending completion  
See All Builds (1844)
  • Repo 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

© 2025 Coveralls, Inc