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

[oc-147] - Add context to all git methods #901

Merged
merged 6 commits into from Nov 3, 2022

Conversation

ahrav
Copy link
Collaborator

@ahrav ahrav commented Nov 3, 2022

  • This will allow the recover to include information about the source that panics.
  • Remove logrus and use custom logr.

@ahrav ahrav requested review from a team as code owners November 3, 2022 21:14
pkg/sources/git/git.go Outdated Show resolved Hide resolved
pkg/sources/git/git.go Outdated Show resolved Hide resolved
pkg/sources/git/git.go Outdated Show resolved Hide resolved
@ahrav ahrav requested review from a team and mcastorina November 3, 2022 21:38
@ahrav ahrav merged commit dd141fb into main Nov 3, 2022
@ahrav ahrav deleted the oc-147-bitbucket-repo-clone-fail branch November 3, 2022 23:36
mac2000 pushed a commit to mac2000/trufflehog that referenced this pull request Nov 16, 2022
* Add context to all git methods.

* remove logrus.

* Add ctx.

* Address comments.

* Add error to clone failing.

* Return error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants