Draft: import-debian-package: stop using a PosixPath object as context manager
- Feb 25, 2025
-
-
Dylan Aïssi authored
Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
f6e82b6b -
Dylan Aïssi authored
Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
f4f0864b -
Dylan Aïssi authored
Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
16703947 -
Dylan Aïssi authored
This is no longer supported since Python 3.13 and leads to the following error: Traceback (most recent call last): File "/builds/pkg/apertis-dev-tools/tests/import-debian-package/../../tools/import-debian-package", line 681, in <module> main(sys.argv) ~~~~^^^^^^^^^^ File "/builds/pkg/apertis-dev-tools/tests/import-debian-package/../../tools/import-debian-package", line 666, in main do_import(args) ~~~~~~~~~^^^^^^ File "/builds/pkg/apertis-dev-tools/tests/import-debian-package/../../tools/import-debian-package", line 396, in do_import with ensure_dir_or_none(args.cache_dir) or TemporaryDirectory() as downloaddir: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'PosixPath' object does not support the context manager protocol Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
90900ab6
-
- Feb 20, 2025
-
-
Signed-off-by:
Walter Lozano <walter.lozano@collabora.com> Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
6693c327 -
Dylan Aïssi authored
python3.sh 1.x is not compatible with _return_cmd, so we should only use it with an higher version of python3.sh. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
8cd73c23 -
Dylan Aïssi authored
Debian has transitioned to python3.sh 2.x which now returns a true string breaking our tools. See: https://github.com/amoffat/sh/blob/develop/MIGRATION.md#return-value-now-a-true-string Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
68755409 -
Dylan Aïssi authored
apertis-pkg-merge-upstream-to-downstreams: ensure merge request is created against the right project In case of a forked project, like we are doing with the test of the rebase, the GitLab API creates by default the MR against the original project instead of the forked project. To ensure the merge request is created against the forked project, we use the push option merge_request.target_project to overwrite the default behavior and to create the merge request against the forked project. See: https://docs.gitlab.com/ee/topics/git/commit.html#push-options-for-merge-requests Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
63d1651a -
Dylan Aïssi authored
apertis-pkg-merge-upstream-to-downstreams: Don't print useless information while canceling pipelines Printing these values only creates noise in the log. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
cadb28eb
-