This is a Dashing widget that is based on the Dashing GitHub Stats widget. This widget displays Last Activity, Open Issues, Open Pulls, Forks, and Watchers of a given set of BitBucket repositories.
- You can either copy and paste these files on your own, or you can use
dashing install 15a542122b198449903dto copy the files into your dashing directory in place. - Edit the bitbucket.yml file to configure the widget. An example configuration is below.
- Add
bitbucket_rest_apiandactionviewgems to your Gemfile and runbundle install - Add the widget to your dashboard erb file. The
data-idvalue is the repository you want to display information for. An example is below.
repos:
- atlassian/atlasboard
- atlassian/atlasboard-atlassian-package
login: my_bitbucket_user
password: my_bitbucket_userExample 1: bitbucket.yml file example
<ul>
<li> data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="atlassian/atlasboard" data-view="BitbucketStats"></div>
<i class="icon-bitbucket icon-background"></i>
</li>
</ul>Example 2: dashboard erb widget placement
I really need to setup notifications so I see these comments sooner...
Oh well, I am using a ruby library to hit the bitbucket apis. It can be found here. From the documentation it doesn't appear to be able to hit standalone bitbucket servers, but you might be able to extend the api to meet your needs.