Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Aug 5, 2024

This PR contains a snapshot of yoga from upstream unmaintained/yoga.

stephenfin and others added 5 commits July 30, 2024 09:13
This is not supported on Python 3.8 [1]. I have no idea why this was not
failing CI.

[1] https://docs.python.org/3.9/library/stdtypes.html#str.removeprefix

Change-Id: I225e9ced0f75c415b1d2fee05440291e3d8635c0
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
(cherry picked from commit 3ccf82e)
(cherry picked from commit 5ba1bd1)
This is a fix for the test whether a patch is bot generated or not, as
that did not worked as intended. The problem is that the script is
checking the email address of the parent patch (HEAD~), which probably
should be right in case the patch would be a MERGE patch. But this is
wrong in case the patch is not a MERGE patch. This fix uses the very
same pattern as it is using for the commit message parsing: the
$commit_hash variable, which is the parent's commit hash if the patch
is a MERGE patch, and an empty string in the other case (causing to
call 'git show' on HEAD).

Change-Id: I0abc72180edf34a6dd0624a40fb8682397805eca
(cherry picked from commit b8f3975)
(cherry picked from commit 92b781f)
(cherry picked from commit 7a914d6)
(cherry picked from commit 8b79f0f)
(cherry picked from commit fe0eb7a)
When the script was created there were only stable/* branches, but now
there are unmaintained/* branches as well, where the validator fails
when looking for hashes only on stable/* branches even if the given
hash is already on unmtaintained/* branch. This patch matches now both
stable/* and unmaintained/* branches.

Change-Id: I08fcc63ab0fbe5af1be70d5fde5af98bf006101c
(cherry picked from commit e2697de)
(cherry picked from commit 602e683)
(cherry picked from commit 56e73cc)
(cherry picked from commit f53824f)
(cherry picked from commit f43ceef)
@github-actions github-actions bot requested a review from a team as a code owner August 5, 2024 08:23
@github-actions github-actions bot added automated Automated action performed by GitHub Actions synchronisation labels Aug 5, 2024
@markgoddard markgoddard merged commit 651fed4 into stackhpc/yoga Aug 5, 2024
@markgoddard markgoddard deleted the upstream/yoga-2024-08-05 branch August 5, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated Automated action performed by GitHub Actions synchronisation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants