bk-ci
bk-ci copied to clipboard
feat: stream支持github
目标 stream服务支持github各类事件触发以及接口实现
具体实现 参照stream已有的tgit版实现
- StreamGitTransferService 提供前端数据的接口
- BaseAction github触发相关的各类事件
- StreamGitApiService github触发需要的各类接口
@Florence-y common-github-sdk新增以下接口:
- [x] Get a repository
- [x] Get repository content
- [x] List repositories for the authenticated user
- [ ] Create or update file contents
repository服务plugin-github模块新增以下接口
- ServiceGithubRespoitoryResource,接口中封装方法调用上面方法
@liuandhisgithub common-github-sdk新增以下接口
- [x] List commits
- [x] Get a commit
- [x] List branches
- [x] Get a branch
- [ ] Get a pull request
- [ ] List pull requests files
- [x] Get a tree
- [ ] Create a check run
- [ ] Update a check run
repository服务plugin-github模块新增以下接口
- ServiceGithubCommitsResource
- ServiceGithubBranchResource
- ServiceGithubPRResource
- ServiceGithubDatabaseResource
- ServiceGithubCheckResource