incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

feat: add a plugin bitbucket

Open thenicetgp opened this issue 3 years ago • 3 comments

PreChecklist

firstly you should create a app_password for your account https://bitbucket.org/account/settings/app-passwords/

bitbucket.go run configuration example

go run bitbucket.go -c 1 -o thenicetgp -r lake

Summary

add bitbucket connection repo pr issue issue_comments pr_comments add e2e tests: issue_test, pr_test, comment_test, account_test, repo_test, etc.

Does this close any open issues?

partly #2100

Screenshots

table "repos"

截屏2022-07-09 21 17 02

table "accounts"

截屏2022-07-18 22 23 01

table "issues"

截屏2022-07-17 20 54 16

table "pull_requests"

截屏2022-07-17 21 21 07

table "pull_request_comments"

截屏2022-07-18 21 23 42

table "issue_comments"

截屏2022-07-18 21 23 35

Other information

Thanks to @mindlesscloud for his guidance on my work.

thenicetgp avatar Jul 09 '22 14:07 thenicetgp

Actually, you can convert a pr to a draft pr in the right pannel. 😁

likyh avatar Jul 09 '22 14:07 likyh

Good work. Make sure you add e2e tests as well.

keon94 avatar Jul 25 '22 19:07 keon94

Good work. Make sure you add e2e tests as well.

thanks,I will add

thenicetgp avatar Jul 26 '22 13:07 thenicetgp

Hi @thenicetgp, could you give an overall status update on this PR? Are there more changes you are working on?

keon94 avatar Aug 15 '22 17:08 keon94

Hi @thenicetgp, could you give an overall status update on this PR? Are there more changes you are working on?

Hi @keon94 , thank for your comment, this PR just add a plugin bitbucket, it can currently collect issues,pullrequests,accounts,repos,issue_comments and pr_comments. Domainlayer table accounts,repos,issue,pull_requests,issue_comments and pull_request_comments are filled. These tables have basically all the data they should have. This PR makes no changes to the any other plugin.

thenicetgp avatar Aug 16 '22 01:08 thenicetgp