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

Add get commit status #75

Merged
merged 26 commits into from
Mar 27, 2023

Conversation

EyalDelarea
Copy link
Contributor

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • I used go fmt ./... for formatting the code before submitting the pull request.
  • This feature is included on all supported VCS providers - GitHub, Bitbucket cloud, Bitbucket server, and GitLab.

Implemented get commit status function in all VCS providers
and also implement setCommitStatus on azure repos

@EyalDelarea EyalDelarea added the improvement Automatically generated release notes label Mar 16, 2023
@EyalDelarea EyalDelarea temporarily deployed to frogbot March 19, 2023 16:45 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

What is Frogbot?

@EyalDelarea EyalDelarea requested a review from eyalbe4 March 19, 2023 16:54
@EyalDelarea EyalDelarea requested review from yahavi and removed request for yahavi March 19, 2023 16:54
@yahavi yahavi self-requested a review March 22, 2023 09:32
Copy link
Member

@yahavi yahavi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done, @EyalDelarea!

Please consider my inline comments.
Also as general notes:

  • For the sake of good order, the methods implementations order should be in the same order as in the vcsclient.go. I'd do the same for the tests.
  • Tests methods should be above private test utilities (for instance, TestGitHubClient_TestGetCommitStatus should be above createBadGitHubClient)
  • Let's also document this change in the README

vcsclient/azurerepos.go Outdated Show resolved Hide resolved
vcsclient/azurerepos.go Outdated Show resolved Hide resolved
vcsclient/vcsclient.go Outdated Show resolved Hide resolved
vcsclient/vcsclient.go Show resolved Hide resolved
vcsclient/vcsclient.go Outdated Show resolved Hide resolved
vcsclient/github.go Outdated Show resolved Hide resolved
vcsclient/github.go Outdated Show resolved Hide resolved
vcsclient/bitbucketserver.go Outdated Show resolved Hide resolved
vcsclient/gitlab.go Outdated Show resolved Hide resolved
vcsclient/gitlab.go Outdated Show resolved Hide resolved
refactor
@EyalDelarea EyalDelarea temporarily deployed to frogbot March 23, 2023 12:39 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

What is Frogbot?

@EyalDelarea EyalDelarea temporarily deployed to frogbot March 23, 2023 12:59 — with GitHub Actions Inactive
@EyalDelarea EyalDelarea requested a review from yahavi March 23, 2023 13:05
@github-actions
Copy link
Contributor

What is Frogbot?

README.md Outdated Show resolved Hide resolved
vcsclient/azurerepos.go Outdated Show resolved Hide resolved
vcsclient/azurerepos.go Outdated Show resolved Hide resolved
vcsclient/bitbucketcloud.go Outdated Show resolved Hide resolved
vcsclient/bitbucketserver.go Outdated Show resolved Hide resolved
vcsclient/bitbucketserver.go Outdated Show resolved Hide resolved
vcsclient/bitbucketserver.go Outdated Show resolved Hide resolved
vcsclient/gitlab.go Outdated Show resolved Hide resolved
vcsclient/azurerepos.go Outdated Show resolved Hide resolved
@EyalDelarea EyalDelarea temporarily deployed to frogbot March 26, 2023 09:31 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

What is Frogbot?

@EyalDelarea EyalDelarea requested a review from yahavi March 26, 2023 12:06
@EyalDelarea EyalDelarea added new feature Automatically generated release notes and removed improvement Automatically generated release notes labels Mar 27, 2023
@EyalDelarea EyalDelarea changed the title Add get commit status implementation Add get commit status Mar 27, 2023
@EyalDelarea EyalDelarea merged commit 71dd838 into jfrog:master Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Automatically generated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants