-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add context around checkout failures (#210)
* Added context around failure to fetch branch for different checkout method * Added suggestions for fetch failures * Update gitclone/checkout_method_pr_auto_diff.go Co-authored-by: Olivér Falvai <[email protected]> * Update gitclone/checkout_method_pr_auto_merge_branch.go Co-authored-by: Olivér Falvai <[email protected]> * Update gitclone/checkout_method_pr_manual.go Co-authored-by: Olivér Falvai <[email protected]> * Update gitclone/checkout_method_pr_manual.go Co-authored-by: Olivér Falvai <[email protected]> * Update gitclone/checkout_helper.go Co-authored-by: lpusok <[email protected]> * Fix error formatting * Fixed failing unit test * Fixed error wrapping for fetch errors * Remove steperror changes * Added additional context before commit checkout * Added a suggestion for simple commit checkout * Added context and suggestion for initial branch fetch * Wrap errors * Add context when tag fetch failed * Fix tests * Handled empty error scenario * Update gitclone/checkout_helper.go Co-authored-by: Olivér Falvai <[email protected]> * Updated go-steputils dep --------- Co-authored-by: Olivér Falvai <[email protected]> Co-authored-by: lpusok <[email protected]>
- Loading branch information
1 parent
d03a3a0
commit f29bfca
Showing
12 changed files
with
72 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 17 additions & 13 deletions
30
vendor/github.com/bitrise-io/go-steputils/input/fileprovider.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
vendor/github.com/bitrise-io/go-steputils/step/steperror.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters