pmbootstrap/test
Oliver Smith 933c4d0f0d new action: 'pmbootstrap repo_missing'
Add a new action that lists all aports, for which no binary packages
exist. Only list packages that can be built for the relevant arch
(specified with --arch). This works recursively: when a package can be
built for a certain arch, but one of its dependencies
(or their depends) can not be built for that arch, then don't list it.

This action will be used for the new sr.ht based build infrastructure,
to figure out which packages need to be built ahead of time (so we can
trigger each of them as single build job). Determining the order of the
packages to be built is not determined with pmbootstrap, the serverside
code of build.postmarketos.org takes care of that.

For testing purposes, a single package can also be specified and the
action will list if it can be built for that arch with its
dependencies, and what needs to be built exactly.

Add pmb/helpers/package.py to hold functions that work on both pmaports
and (binary package) repos - in contrary to the existing
pmb/helpers/pmaports.py (see previous commit) and pmb/helpers/repo.py,
which only work with one of those.

Refactoring:
* pmb/helpers/pmaports.py: add a get_list() function, which lists all
  aports and use it instead of writing the same glob loop over and over
* add pmb.helpers.pmaports.get(), which finds an APKBUILD and parses it
  in one step.
* rename pmb.build._package.check_arch to ...check_arch_abort to
  distinguish it from the other check_arch function
2018-12-01 21:30:59 +00:00
..
testdata Move aports into own repository (pmaports) 2018-09-05 05:57:38 +00:00
check_checksums.py static code analysis: make it pass flake8 3.5.0 2018-07-11 18:58:29 +00:00
check_devices_in_wiki.py Wiki CI: require all devices to be booting 2018-07-22 23:19:02 +02:00
static_code_analysis.sh Move aports into own repository (pmaports) 2018-09-05 05:57:38 +00:00
test_apk_static.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_aportgen.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_aportgen_device_wizard.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_bootimg.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_build_is_necessary.py build.find_aport() -> helpers.pmaports.find() 2018-12-01 21:30:59 +00:00
test_build_package.py new action: 'pmbootstrap repo_missing' 2018-12-01 21:30:59 +00:00
test_buildroot_aarch64_init.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_chroot_interactive_shell.py pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00
test_config_user.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_cross_compile_distcc.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_file.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_folder_size.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_frontend.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_helpers_package.py new action: 'pmbootstrap repo_missing' 2018-12-01 21:30:59 +00:00
test_helpers_pmaports.py build.find_aport() -> helpers.pmaports.find() 2018-12-01 21:30:59 +00:00
test_helpers_repo_missing.py new action: 'pmbootstrap repo_missing' 2018-12-01 21:30:59 +00:00
test_install.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_keys.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_mount.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_newapkbuild.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_parse_apkbuild.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_parse_apkindex.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_parse_depends.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_pkgrel_bump.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_qemu_running_processes.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_questions.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_repo.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_run_core.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_shell_escape.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_version.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
test_version_validate.py tests import path: put shipped pmb code first 2018-11-12 07:05:22 +00:00
testcases_fast.sh testcases_fast.sh: explicitly use "python3" 2018-10-25 07:12:18 +02:00