From 0b6c34bcaa821c29a9e3174fd7eae4c4326827a8 Mon Sep 17 00:00:00 2001 From: gitbot <gitbot@garz-fricke.com> Date: Fri, 4 Aug 2023 07:35:06 +0000 Subject: [PATCH] Integrate gitlab-ci/seco-santvent-fsl and 19 more -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/883b9a5c650b93043107386b001d1b4720a7f7c3 CI: new machine seco-mx6-fsl, map platform tests to devices -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/151f1cd628f0b9152f3b6cf3e5e8afdea5583b5c Refactoring: remove redundant if See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-redundant-if/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/872ec6d9c07b199214a894be9b7a428b0520c47b Refactoring: swap if and else branches Move the main part of the action to the if branch. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/swap-if-else-branches/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/c058236c193101ca5ca128a0303a94b7a8959180 Sourcery: skip a certain suggestion for better readability -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/b9196ae5a69e726bc6aa030e7e2707270d5c0ca3 Fix typo in comment -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/eba0649d0772fba4d0b9c10c0654d3e8119a50ee gitignore: add .vscode and convert line-endings to LF -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/876da56d5e78635ec2542508027cdc1cb64db4a9 Refactoring: merge dictionary assignments See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/merge-dict-assign/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/e8e3ff37b7d4b5e6ae48cfac9c0188c3b6e91b5b Refactoring: use single assignment for "if, else" See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/assign-if-exp/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/14eaf45a0bbafea3ed98dde674faa0465250ee1a Refactoring: inline immediately returned variables See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/inline-immediately-returned-variable/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/f9096a522c07f50b12e07e7c6a6560c9f7911c15 Refactoring: use "{}" for creating an empty dictionary This is the most concise and Pythonic way to create a dictionary. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/dict-literal/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/a3baa39e1f445a5461fbf8f40f7303558730a19d Refactoring: use list comprehensions A list comprehension can create the list on one line, cutting out the clutter of declaring an empty list and then appending values. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/list-comprehension/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/52de8d7c45ba0aeedd741ba4cf5ad3b9c7042294 Refactoring: use dictionary comprehensions A dictionary comprehension can create the dictionary on one line, cutting out the clutter of declaring an empty dict and then adding items. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/dict-comprehension/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/5d09b9de95ce4ed6c27df4d147571b0afcd6adb3 Refactoring: simplify length comparisons Something we often do is check whether a list or sequence has elements before we try and do something with it. A Pythonic way of doing this is just to use the fact that Python lists and sequences evaluate to True if they have elements, and False otherwise. Doing it this way is a convention, set out in Python's PEP8 style guide. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/simplify-len-comparison/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/d69521c97e7109acc02bc4de626d2f715b7a8646 Refactoring: simplify conditional logic See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/de-morgan/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/5c23592fd4838e7ae68f7f2b86f4aefd38ef36ca Refactoring: merge nested if conditions See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/merge-nested-ifs/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/608b834793f2c43efca2ccbf5991d088202848d5 Refactoring: remove dictionary keys See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-dict-keys/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/5975bd1f1e4dd522b83d6c365696da694c114a7c Sourcery: keep remove-zero-from-range check disabled IMO explicit declaration of lower and upper limits makes code easier to read than using an implicit default value. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-zero-from-range/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/3715f022c553c83bc603918cd8560ebd8248c2b4 Refactoring: use sum() instead of for loop See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/sum-comprehension/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/e355932f9574cd6ab79657f7ab8b5a8ef5d10e4d Refactoring: use join() instead of for loop See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/use-join/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/e57fa48a117682b62d52663544879a24a286f0be Refactoring: merge comparisons --- .gitlab-ci | 2 +- .gitlab-ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci b/.gitlab-ci index 9406ad7..883b9a5 160000 --- a/.gitlab-ci +++ b/.gitlab-ci @@ -1 +1 @@ -Subproject commit 9406ad752cfe28ca33556df57282c278ef9ece00 +Subproject commit 883b9a5c650b93043107386b001d1b4720a7f7c3 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe28c86..88bda1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,9 @@ # --------------------------------------------------------------------------------------- include: - project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci' - ref: 9406ad752cfe28ca33556df57282c278ef9ece00 + ref: 883b9a5c650b93043107386b001d1b4720a7f7c3 file: 'manifest-integration.yml' variables: - GITLAB_CI_REVISION: 9406ad752cfe28ca33556df57282c278ef9ece00 + GITLAB_CI_REVISION: 883b9a5c650b93043107386b001d1b4720a7f7c3 BB_RECIPE_NAME: qt-multi-screen-compositor -- GitLab