Skip to content
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

Daisy-chaining PatchSet fails to create branch #119

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

ndhaller
Copy link
Contributor

Currently, two PatchSet can be chained together to create a dynamic branch.

If a third or more PatchSet is chained in a row, these PatchSet fail to create a dynamic branch when used, and non-gracefully fails when the PatchSet steps are attempted on the wrong branch or commit.

Locate the correct base PatchSet from the manifest before attempting to create the branch. If a PatchSet circular dependency is found, raise an exception. Do not attempt to create the branch if any exception besides KeyError is encountered.

Signed-off-by: Nathaniel Haller [email protected]

Currently, two PatchSet can be chained together to create a dynamic branch.

If a third or more PatchSet is chained in a row, these PatchSet fail to create a dynamic branch when used, and non-gracefully fails when the PatchSet steps are attempted on the wrong branch or commit.

Locate the correct base PatchSet from the manifest before attempting to create the branch.
If a PatchSet circular dependency is found, raise an exception.
Do not attempt to create the branch if any exception besides KeyError is encountered.

Signed-off-by: Nathaniel Haller <[email protected]>
Reviewed-by: Kevin Sun <[email protected]>
Reviewed-by: Ashley E Desimone <[email protected]>
Reviewed-by: Nate Desimone <[email protected]>
@ashedesimone ashedesimone merged commit afd2cc0 into tianocore:main Mar 14, 2023
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