- Oct 21, 2024
-
-
Luca Weiss authored
Try to finish the migration by changing various links and texts to point to the new GitLab instance.
-
- Oct 18, 2024
-
-
pmb.parse.apkindex.providers now returns a dict of string:ApkindexBlock, probably from 71772b9b This adds type hinting to package_provider to reflect this, and fixes code that calls it to properly deal with the possible return types. Without this, building FDE images is broken.
-
- Oct 17, 2024
-
-
Luca Weiss authored
Use the new "Artifacts" directive for .ci/docs.sh and run the job in the pmbootstrap chroot to avoid needing to install sphinx dependencies on the host. Fixes #2352
-
Luca Weiss authored
And make the docs job run in the chroot now and grab the 'public/' directory so we have the built docs.
-
Luca Weiss authored
Since the return value is a file path, let's make it a Path object. Also update the docstring to reflect reality.
-
Luca Weiss authored
-
- Oct 16, 2024
-
-
Clayton Craft authored
This series breaks pmbootstrap, and that's not good[1]. A bug was filed about this (#2465), and there have been multiple attempts to fix it (! 2435 and !2436). It kinda seems like we don't have time to fix/test this for a while longer, which is fine, but given the impact this bug has I think we should be revert this series until this issue is solved/tested. 1. pmb is broken in some specific cases, which means some workflows are broken. One example is that this breaks the pmaports CI, so no work can be done in pmaports.
-
- Oct 15, 2024
-
-
Newbyte authored
Looks like an unintended leftover from debugging.
-
Newbyte authored
I tested $ pmbootstrap shutdown with this and observed no problems. All the mounts disappear in lsblk as expected. Closes postmarketOS/pmbootstrap#2423
-
Newbyte authored
And fix type errors.
-
Newbyte authored
All typing errors found with --check-untyped-defs have been fixed, so let's make mypy stricter now to avoid regressing this.
-
Newbyte authored
I'm not sure why this was annotated as a Sequence rather than list. The function clearly returns a list, not a Sequence, and the commit that originally did it[1] provides no justification. This causes problems with mypy checks in other places, so let's just annotate this as returning a list. [1]: 198f302a
-
Newbyte authored
Otherwise mypy cannot figure out the type of these.
-
- Oct 13, 2024
-
-
-
-
-
-
-
Oliver Smith authored
Now that we have moved the kconfigcheck configuration into pmaports branches via kconfigcheck.toml, it is time to get rid of the hardcoded list of valid "pmb:kconfigcheck-…" options for APKBUILDs. Generate it from the kconfigcheck.toml of the current branch, too. These options are passed from "pmbootstrap lint" to "apkbuild-lint", which we run in pmaports CI.
-
Oliver Smith authored
The output of apkbuild-lint is hard to spot among other log messages from pmbootstrap, because it is not colorized. Add "*** apkbuild-lint output ***"" before and after the output of apkbuild-lint, so we get a standing out message in green around the apkbuild-lint output.
-
Oliver Smith authored
It is not needed to run the linter as root, so don't do it. This is probably a leftover from early days pmbootstrap, where pmaports.git wasn't chowned by the user running pmbootstrap.
- Oct 11, 2024
-
-
Clayton Craft authored
Here's the problem: Imagine a queue with 2 packages in it, the 1st package uses crossdirect and the second uses cross-native. When building the 1st package, pmb will configure the native chroot for crossdirect as expected. When it gets to the 2nd package, the chroot env/config might not be appropriate for actually doing a native cross compile. This re-inits the cross compiler stuff if the cross compile method changes while processing the queue. Another approach that might solve this problem is to not re-use chroots when building packages... I didn't think this was a good way to go because it would greatly increase runtime (having to recreate chroots multiple times)
-
- Oct 08, 2024
-
-
Oliver Smith authored
When running some commands like "pmbootstrap chroot" or even "pmbootstrap work_migrate", pmbootstrap will attempt to read the pmaports.cfg from origin/master *before* doing the work dir migration. In order to do this, the "get_upstream_remote" function tries to find the upstream remote by URL. Let it search with the outdated URLs too, so this doesn't fail right before migrating to the new URLs.
-
This could be re-purposed in the future in case we migrate URLs again. Co-authored-by:
Caleb Connolly <caleb@postmarketos.org> Tweaked-by:
Oliver Smith <ollieparanoid@postmarketos.org>
-
-
Now that we don't need weird apk-tools hacks for systemd, we can re-implement this optimisation and always run apk static rather than running apk through the chroot. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
- Oct 07, 2024
- Oct 03, 2024
-
-
This is section is not meant to represent my opinions, rather I seek to document the status quo. I base the support range on what's been reasoned in prior merge requests such as [1] and [2], as well as [3] which only fixed CI in the one active stable release and left old stable releases unfixed. While I don't necessary think this is a great situation given that old releases may sometimes be useful, extending the time pmbootstrap has to support old releases would incur significant additional maintenance effort and consequently require more discussion than just documenting what's already happening. As such, I think this is the most reasonable thing to do for now. [1]: https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2360#note_1999012908 [2]: https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2417#note_2135527528 [3]: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5676
-
- Sep 30, 2024
-
-
-
This is probably a leftover from automatically reformatting this file.
-
Oliver Smith authored
The previous version would fail if the suffix contained a dash as well, e.g. postmarketos-base-ui-audio-some-new-thing. Fix it and add example comments.
-
Oliver Smith authored
-