-
Notifications
You must be signed in to change notification settings - Fork 2
get_repos() and get_orgs() support #769
Copy link
Copy link
Open
Labels
Description
Part of #754.
Implement get_repos() and get_orgs() for BitBucket Cloud:
- List repositories from workspaces via
GET /2.0/repositories/{workspace}. - Map BitBucket workspace metadata to the standardized orgs table (
name,path,url, etc.). - Produce the standard
gitstats_repostable with columns:repo_id,repo_name,default_branch,stars,forks,created_at,last_activity_at,languages,issues_open,issues_closed,organization,repo_url. - Handle contributors approximation (BitBucket has no direct contributors endpoint — derive from recent commits).
- Handle
add_languagesparameter (BitBucket returns a singlelanguagefield per repo, not a breakdown). - Unit tests with mocked API responses.
Reactions are currently unavailable