Skip to content

Add ability for Bitbucket clients to specify repos by projectKey

Warren Gifford requested to merge task-1 into main

Created by: susantoscott

Previously Bitbucket clients could only specify repos by projectName. Now, if projectKeys are specified in s.config.ProjectKeys, then those repos would be returned as well.

Test plan

go test -run TestBitbucketServerSource_ListRepos \\ to list all repos
go test -run TestBitbucketServerSource_ListByReposOnly \\ to list repos in the config
go test -run TestBitbucketServerSource_ListByRepositoryQuery \\ to list repos by projectName
go test -run TestBitbucketServerSource_ListByProjectKey \\ to list repos by projectKey

Merge request reports

Loading