- Feb 25, 2025
-
-
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>
-
- Oct 03, 2024
-
-
Dylan Aïssi authored
Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
Dylan Aïssi authored
The location of this file has changed with: infrastructure/apertis-infrastructure@41fed1b1 Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
Dylan Aïssi authored
Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
Dylan Aïssi authored
Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
Dylan Aïssi authored
Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
Dylan Aïssi authored
Actually pipelines on downstreams fail at this step because these branches are missing the debian/apertis/copyright file. Instead we create a merge request, thus the missing file will be generated with the job scan-licenses. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Mar 25, 2024
-
-
Dylan Aïssi authored
pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13. Some warnings are generated with Python 3.11: import-debian-package:281: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op with Path(".git/info/attributes") as f: import-debian-package:225: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op with Path('debian/apertis/component') as f: import-debian-package:169: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op with Path("debian/changelog") as f: Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Sep 28, 2023
-
-
Dylan Aïssi authored
`gbp import-dsc` puts all the new changelog entries in the commit message, generating big walls of text when, for instance, importing a new package for the first time. GitLab then puts the whole log message in the `CI_COMMIT_MESSAGE` env var, which makes the runner to fail during the executor preparation section with the error: exec /usr/bin/dumb-init: argument list too long See: https://gitlab.com/gitlab-org/gitlab/-/issues/392406 To avoid that, trim the message to only keep the first line. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Jun 19, 2023
-
-
Dylan Aïssi authored
This flag requires a string explaining the reason of importing a package. This reason will be written in debian/changelog and will be useful for a future reconsideration of the value of this package in Apertis. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Apr 26, 2023
-
-
Walter Lozano authored
When importing Debian packages it is possible to find cases where packages already provided an upstream Gitlab CI configuration. In such cases, when packages are imported Gitlab will try to run CI which has no sense. For properly handle this scenario, create new repositories with CI disabled, and let gitlab rulez to update the settings once the package is fully imported. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Dec 19, 2022
-
-
Dylan Aïssi authored
For consistency across all Apertis packages. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Jan 11, 2022
-
-
Ariel D'Alessandro authored
gitlab-rulez package is now required to run import-debian-package tests. Let's test this script on apertis, as it provides the package. Signed-off-by:
Ariel D'Alessandro <ariel.dalessandro@collabora.com>
-
Ariel D'Alessandro authored
To import a new package from Debian the current process required several manual steps. This commit adds the --push-remote option to allow creating and pushing the imported package to apertis remote gitlab instance. The following steps are now automatized: * package folder is created and import process is performed in there. * remote repo is created if it doesn't exist. * remote branches and tags are pushed. * gitlab settings are applied to remote repo. * CI pipeline is triggered on all downstream branches. Signed-off-by:
Ariel D'Alessandro <ariel.dalessandro@collabora.com>
-
- Oct 07, 2021
-
-
Frederic Danis authored
This tool is moved from `infrastructure/packaging-tools`. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-