pmaports w/ reMarkable 1 packages
Find a 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 Add githooks from alpine (MR 4008) 2023-04-12 16:42:45 +02:00
.gitlab/issue_templates issue_template: set EOL date for v23.06 2023-12-18 01:32:29 +01:00
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 Add .clang-format file (!465) 2019-06-26 22:36:15 +02:00
.ecrc CI: .ecrc: Exclude temp from check (MR 4858) 2024-02-27 08:24:53 -08:00
.editorconfig editorconfig: add CODEOWNERS (MR 4940) 2024-03-17 22:48:52 +00:00
.gitignore CI: wiki: adjust for 'pmbootstrap ci' (MR 3608) 2022-11-17 19:10:56 +01:00
.gitlab-ci.yml ci: always update docker image packages (MR 5038) 2024-04-16 09:46:11 +03:00
.mrhlpr.json mrhlpr.json: accept all generic package commits (MR 3131) 2023-03-15 21:37:37 +00:00
channels.cfg channels.cfg: mark v23.06 as unsupported 2024-01-28 19:06:21 +00:00
CODEOWNERS CODEOWNERS: remove reference to postmarketos-update-depthcharge-kernel (MR 5045) 2024-04-20 11:15:33 +02:00
COMMITSTYLE.md COMMITSTYLE: introduce (MR 3908) 2023-03-21 08:32:10 +01:00
LICENSE Add GPLv3 again 2018-08-23 21:44:22 +02:00
pmaports.cfg pmaports.cfg: set pmbootstrap_min_version=2.2.0 (MR 4756) 2024-02-06 16:05:55 -08:00
README.md README: add mention to COMMITSTYLE (MR 4010) 2023-04-13 23:22:01 -07:00