Skip to content

Check that all new revisions exist in the repo and also show matching tags #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 20, 2024

Conversation

carlescufi
Copy link
Member

@carlescufi carlescufi commented Dec 6, 2024

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

Sample output:

image image

The `maybe_sha()` function was too fragile. Instead, require full,
40-byte SHAs when specifying revisions as a commit SHA.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
@carlescufi carlescufi force-pushed the check-all-revs branch 2 times, most recently from d841d76 to 3f35031 Compare December 8, 2024 19:05
@carlescufi carlescufi force-pushed the check-all-revs branch 4 times, most recently from 9eec993 to 4ca731a Compare December 19, 2024 12:00
@carlescufi carlescufi changed the title (WIP) Check that all new revisions exist in the repo Check that all new revisions exist in the repo Dec 19, 2024
@carlescufi carlescufi changed the title Check that all new revisions exist in the repo Check that all new revisions exist in the repo and also show matching tags Dec 19, 2024
Instead of only optionally checking for impostor commits, verify the
validity (i.e. existence) of a particular revision by checking if it's
present on any of the repo's branches or tags.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Not only branches, but tags can also point to the new SHA, and that is
relevant information that should be displayed.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
@carlescufi carlescufi merged commit cb8f6fb into zephyrproject-rtos:main Dec 20, 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>
carlescufi added a commit to carlescufi/sdk-nrf that referenced this pull request Dec 20, 2024
See the following PR for more info on what changed since v1.6.0:
zephyrproject-rtos/action-manifest#16

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
carlescufi added a commit to nrfconnect/sdk-nrf that referenced this pull request Dec 20, 2024
See the following PR for more info on what changed since v1.6.0:
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>
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.

3 participants