Doesn't do much yet :)
To use this tool follow these steps:
- Clone this repo to your
$GOPATH/src
- cd into
bitbucket
directory - run
go run *.go
to run program.-h
for help - Three main functions are access by appending either
stats
,update
, orget
- Setup your config in config.json of the form:
{
"url": "https://<bitbucket.instance.url>/rest/api/1.0",
"username": "<username>",
"password": "<password>"
}
- Download docker and the basic redis docker conatiner
- Set the Access Url of the docker container to
localhost:6379
- run
go run *.go update
- Now the data should be synced and you can run
go run *.go stats -h
for more info on how to get stats about languages in our bitbucke instance.