Skip to content

action: Allow the user to set the west manifest import flag#15

Merged
carlescufi merged 1 commit into
zephyrproject-rtos:mainfrom
carlescufi:import-flag
Nov 27, 2024
Merged

action: Allow the user to set the west manifest import flag#15
carlescufi merged 1 commit into
zephyrproject-rtos:mainfrom
carlescufi:import-flag

Conversation

@carlescufi

Copy link
Copy Markdown
Member

In some cases, when using checked out trees to construct the manifest objects, it is important for users to be able to select which projects are imported, because they may have import statements in their manifests that they may want to honour or not.
This commit allows the action user to select between import all projects (the default), none or only the projects in the self: section of the manifest.

@carlescufi carlescufi requested a review from pdgendt November 27, 2024 16:30
@carlescufi

Copy link
Copy Markdown
Member Author

Tested here: zephyrproject-rtos/zephyr-testing#291

Comment thread action.yml Outdated
In some cases, when using checked out trees to construct the manifest
objects, it is important for users to be able to select which projects
are imported, because they may have import statements in their manifests
that they may want to honour or not.
This commit allows the action user to select between
import all projects (the default), none or only the projects in the
self: section of the manifest.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>

@pdgendt pdgendt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not an expert here, but LGTM

@carlescufi

carlescufi commented Nov 27, 2024

Copy link
Copy Markdown
Member Author

Self-merging since this is an addition that is not currently required for upstream Zephyr itself, but for other projects using this action with import: statements at the project level.
There is no need to increase the version number in Zephyr, it can remain at v1.5.0.

@carlescufi carlescufi merged commit 1807b4c into zephyrproject-rtos:main Nov 27, 2024
carlescufi added a commit to carlescufi/zephyr that referenced this pull request Dec 20, 2024
See these PRs for additional information on what changed between v1.5.0
and v1.7.0:

zephyrproject-rtos/action-manifest#15
zephyrproject-rtos/action-manifest#16

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
kartben pushed a commit to zephyrproject-rtos/zephyr that referenced this pull request Dec 20, 2024
See these PRs for additional information on what changed between v1.5.0
and v1.7.0:

zephyrproject-rtos/action-manifest#15
zephyrproject-rtos/action-manifest#16

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
coreboot-bot pushed a commit to coreboot/zephyr-cros that referenced this pull request Dec 23, 2024
See these PRs for additional information on what changed between v1.5.0
and v1.7.0:

zephyrproject-rtos/action-manifest#15
zephyrproject-rtos/action-manifest#16

(cherry picked from commit 6e92a3f)

Original-Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
GitOrigin-RevId: 6e92a3f
Cr-Build-Id: 8727764308049365969
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8727764308049365969
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: If75a1f0ede2bbd6fee7ce89bdd7647eded5e7e5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6116712
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Devansh0210 pushed a commit to Devansh0210/zephyr that referenced this pull request Jan 7, 2025
See these PRs for additional information on what changed between v1.5.0
and v1.7.0:

zephyrproject-rtos/action-manifest#15
zephyrproject-rtos/action-manifest#16

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
jma-phytec pushed a commit to phytec/zephyr-phytec that referenced this pull request Jun 9, 2026
See these PRs for additional information on what changed between v1.5.0
and v1.7.0:

zephyrproject-rtos/action-manifest#15
zephyrproject-rtos/action-manifest#16

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants