Skip to content
Snippets Groups Projects

pmb.parse.apkindex: fix crash when origin or timestamp are unset

Merged Clayton Craft requested to merge craftyguy/fix_apkindex into master
  1. Oct 22, 2024
    • Clayton Craft's avatar
      pmb.parse.apkindex: fix crash when origin or timestamp are unset (MR 2449) · 2305cc5d
      Clayton Craft authored and Newbyte's avatar Newbyte committed
      Sometimes these fields are not set, e.g.:
      
      pdb> p ret
      {'depends': ['build-base', 'bash', 'bison', 'findutils', 'flex', 'musl-dev', 'openssl-dev', 'perl', 'python3'], 'arch': 'noarch', 'version': '20241022.022230', 'pkgname': '.makedepends-linux-lenovo-21bx', 'provides': []}
      
      I hit this crash when I installed the build deps for the
      linux-lenovo-21bx package in the native chroot, and then ran
      `pmbootstrap stats`
      [ci:skip-build]: already built successfully in CI
      Verified
      2305cc5d
Loading