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

feat: support for Git hosting other than GitHub #28

Merged
merged 3 commits into from Jan 15, 2024
Merged

Conversation

novr
Copy link
Member

@novr novr commented Jan 13, 2024

what

git hostingでgithub以外をサポートしました

  • GitLab
  • BitBucketCloud
  • BitBucketServer

etc

danger-swift local時にdanger.githubがnilでクラッシュしていたケースに対応

fix

@novr novr requested a review from a team January 13, 2024 14:01
@novr novr self-assigned this Jan 13, 2024
Copy link
Member

@el-hoshino el-hoshino left a comment

Choose a reason for hiding this comment

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

LGTM

public var customGitHubInstance: Danger.GitHub {
gitHubInstanceResolver()
public var customGitHostingInstance: GitHostingInstance? {
gitHostingInstanceResolver()
Copy link
Member

Choose a reason for hiding this comment

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

[imo]
publicなAPIはこれだけですので、一旦これを保留して、@available(*, deprecated) にして DangerDSL().github を返せばいいと思います 🙋

Copy link
Member Author

Choose a reason for hiding this comment

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

@novr novr merged commit 632f117 into main Jan 15, 2024
2 checks passed
@novr novr deleted the feature/git_hosting branch January 15, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
2 participants