pmaports/.gitlab-ci
Minecrell 0ffb448de4
CI: common: fixup get_changed_packages() (!1069)
At the moment the function does not handle all cases correctly.
For example, it cannot say which package was changed when a file
in a subdirectory of a package was changed.

This is used e.g. in device-samsung-golden:

    device-samsung-golden
    ├── APKBUILD
    ├── deviceinfo
    ├── downstream
    │   ├── init-usb-hook.sh
    │   ├── module-config.conf
    │   └── modules-load.conf
    └── kwin.sh

At the moment, changing a file under "downstream" would attempt
building a "downstream" package, instead of device-samsung-golden.

Refactor the function a bit to walk up the directory hierarchy,
until we find an APKBUILD.
2020-03-21 22:32:48 +01:00
..
testcases CI: test_directory_structure.py: fix flake8 (!1069) 2020-03-21 22:31:57 +01:00
apkbuild-linting.py CI: apkbuild-linting: use get_changed_files() instead of get_changed_packages() (!1069) 2020-03-21 22:32:48 +01:00
build_changed_aports.py Change copyright to 2020 2020-01-06 02:47:56 +01:00
check_changed_aports_versions.py CI: skip all dot folders for now (!1068) 2020-03-15 16:24:28 +03:00
check_devices_in_wiki.py CI: update for device/* -> device/testing/* move (!1067) 2020-03-14 09:41:26 +01:00
check_mr_settings.py Change copyright to 2020 2020-01-06 02:47:56 +01:00
common.py CI: common: fixup get_changed_packages() (!1069) 2020-03-21 22:32:48 +01:00
install_pmbootstrap.sh CI: install_pmb: use git clone, not tarball (!980) 2020-02-22 21:46:49 +01:00
move_logs.sh Change copyright to 2020 2020-01-06 02:47:56 +01:00
run_testcases.sh run_testcases.sh: adjust to new device structure (!1066) 2020-03-14 09:12:57 +01:00
shellcheck.sh Change copyright to 2020 2020-01-06 02:47:56 +01:00