Go to file
Clayton Craft a263494c1c
ci: fix failure with check_changed_aports when testing new aport
Apparently some callers of `get_package_version` expect it to return
None if a package wasn't found...  e.g. when CI is testing a branch that
introduces a new aport and it's trying to get the upstream version for
it, which doesn't exist.

This leads to a spectacular crash in CI:

      upstream = get_package_version(args, package, commit, False)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/clayton/src/pmaports/./.ci/lib/check_changed_aports_versions.py", line 47, in get_package_version
        return parsed["pkgver"] + "-r" + parsed["pkgrel"]
               ~~~~~~^^^^^^^^^^
    TypeError: 'NoneType' object is not subscriptable

When I refactored this method in 07812a918 I goofed up and changed this
behavior, so let's restore it to fix the crash.
2024-04-23 17:59:30 -07:00
.ci ci: fix failure with check_changed_aports when testing new aport 2024-04-23 17:59:30 -07:00
.githooks
.gitlab/issue_templates
cross cross/grub-efi-x86: upgrade to 2.12-r3 2024-04-12 15:43:19 +00:00
device device-lg-hammerhead: add GSK_RENDERER workaround (MR 5059) 2024-04-24 07:00:28 +09:00
main main/postmarketos-ui-i3wm: disable in riscv64 2024-04-22 12:52:41 +02:00
modem modem/{pd-mapper,tqftpserv}: take over maintainership (MR 4942) 2024-03-18 12:14:43 +01:00
temp temp/gtk4.0: upgrade to 4.14.2 (MR 5023) 2024-04-11 11:11:44 +03:00
.clang-format
.ecrc
.editorconfig editorconfig: add CODEOWNERS (MR 4940) 2024-03-17 22:48:52 +00:00
.gitignore
.gitlab-ci.yml ci: always update docker image packages (MR 5038) 2024-04-16 09:46:11 +03:00
.mrhlpr.json
channels.cfg
CODEOWNERS CODEOWNERS: remove reference to postmarketos-update-depthcharge-kernel (MR 5045) 2024-04-20 11:15:33 +02:00
COMMITSTYLE.md
LICENSE
pmaports.cfg
README.md