Commits on Source (7)
-
Luca Weiss authored
Try to finish the migration by changing various links and texts to point to the new GitLab instance.
-
In the code where the object is made (pmb/parse/apkindex.py) depends already will become an empty array when there's no dependencies. And there's no point in having a differentiation between None and empty array.
-
-
Make sure to annotate the parameters.
-
When a `noarch` APKBUILD is changed in local pmaports, `pmb install` will build it automatically but image creation will fail with the following error: ``` $ pmbootstrap install ... [12:00:43] Build is necessary for package 'postmarketos-base-ui': binary package out of date (binary: 28-r6, local pmaports: 29-r0) [12:00:48] => edge/postmarketos-base-ui: Done! ... [12:01:02] (rootfs_lenovo-21bx) % apk --no-progress --repository /home/clayton/.local/var/pmbootstrap/packages/edge add -u --virtual .pmbootstrap /mnt/pmbootstrap/packages/edge/aarch64/postmarketos-base-ui-wifi-iwd-29-r0.apk /mnt/pmbootstrap/packages/edge/aarch64/postmarketos-base-ui-qt-wayland-29-r0.apk /mnt/pmbootstrap/packages/edge/aarch64/postmarketos-base-ui-qt-tweaks-29-r0.apk /mnt/pmbootstrap/packages/edge/aarch64/postmarketos-base-ui-29-r0.apk /mnt/pmbootstrap/packages/edge/aarch64/postmarketos-base-ui-audio-none-29-r0.apk /mnt/pmbootstrap/packages/edge/aarch64/postmarketos-base-ui-networkmanager-29-r0.apk /mnt/pmbootstrap/packages/edge/aarch64/postmarketos-base-ui-wifi-iwd-29-r0.apk --no-interactive ... [12:01:04] ERROR: Invalid architecture: 'noarch', expected something like: x86_64, aarch64, riscv64, armhf, x86, armv7 [12:01:04] See also: <https://postmarketos.org/troubleshooting> [12:01:04] Traceback (most recent call last): File "/home/clayton/src/pmbootstrap/pmb/core/arch.py", line 42, in from_str return Arch(arch) ^^^^^^^^^^ File "/usr/lib/python3.12/enum.py", line 757, in __call__ return cls.__new__(cls, value) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/enum.py", line 1171, in __new__ raise ve_exc ValueError: 'noarch' is not a valid Arch ``` [caleb: fixed tests]
-
* Make sure all Python modules are documented by adding a bit of shell to .ci/docs.sh * Remove non-existing module references from .rst * Fix various warnings from sphinx by adjusting Python docstrings * Add class member docs to ApkindexBlock
-
Showing
- .ci/docs.sh 16 additions, 0 deletions.ci/docs.sh
- .ci/integration.sh 34 additions, 0 deletions.ci/integration.sh
- .gitlab-ci.yml 17 additions, 1 deletion.gitlab-ci.yml
- CONTRIBUTING.md 1 addition, 1 deletionCONTRIBUTING.md
- README.md 4 additions, 4 deletionsREADME.md
- docs/api/pmb.build.rst 16 additions, 0 deletionsdocs/api/pmb.build.rst
- docs/api/pmb.chroot.rst 3 additions, 11 deletionsdocs/api/pmb.chroot.rst
- docs/api/pmb.commands.rst 101 additions, 0 deletionsdocs/api/pmb.commands.rst
- docs/api/pmb.config.rst 7 additions, 15 deletionsdocs/api/pmb.config.rst
- docs/api/pmb.core.rst 85 additions, 0 deletionsdocs/api/pmb.core.rst
- docs/api/pmb.helpers.rst 16 additions, 0 deletionsdocs/api/pmb.helpers.rst
- docs/api/pmb.install.rst 8 additions, 0 deletionsdocs/api/pmb.install.rst
- docs/api/pmb.parse.rst 16 additions, 8 deletionsdocs/api/pmb.parse.rst
- docs/api/pmb.rst 3 additions, 0 deletionsdocs/api/pmb.rst
- docs/api/pmb.types.rst 10 additions, 0 deletionsdocs/api/pmb.types.rst
- docs/index.rst 2 additions, 2 deletionsdocs/index.rst
- docs/installation.rst 1 addition, 1 deletiondocs/installation.rst
- pmb/__init__.py 3 additions, 1 deletionpmb/__init__.py
- pmb/aportgen/__init__.py 4 additions, 6 deletionspmb/aportgen/__init__.py
- pmb/core/apkindex_block.py 9 additions, 3 deletionspmb/core/apkindex_block.py
.ci/integration.sh
0 → 100755
docs/api/pmb.commands.rst
0 → 100644
docs/api/pmb.core.rst
0 → 100644
docs/api/pmb.types.rst
0 → 100644