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

Patchset source remote cherry-pick error handling #257

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ndhaller
Copy link
Contributor

@ndhaller ndhaller commented Jul 3, 2024

Two commits for additional error handling and clean up during the PatchSet cherry-pick from a remote source operation.

ndhaller added 2 commits July 3, 2024 15:30
If a PatchSet cherry-pick source_remote step fails after a new remote is added,
attempt to cleanup the added remote before raising exception.

Signed-off-by: Nathaniel Haller <[email protected]>
In some cases where filter settings are enabled on the repo, the git fetch
from a remote repo step will fail while the remote repo branch does exist.

Running the git fetch step again with --refetch resolved one git fetch error case
with --filter=tree:0 enabled, but adds additional time and resources to the PatchSet
creation when it is required to run.

Signed-off-by: Nathaniel Haller <[email protected]>
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.

1 participant