Skip to content

huili4/mozaik-ext-bitbucket

 
 

Repository files navigation

Mozaïk bitbucket widgets

widget count

Bitbucket Client Configuration

In order to use the Mozaïk weather widgets, you must configure its client.

parameters

key env key required description
baseUrl BITBUCKET_API_BASE_URL yes bitbucket website base url
basicAuthUser BITBUCKET_API_BASIC_AUTH_USER yes bitbucket username
basicAuthKey BITBUCKET_API_BASIC_AUTH_PASSWORD yes bitbucket key generated from personal account

using config.js

{
  //…
  api: {
    bitbucket: {
      baseUrl: 'your_url',
      basicAuthUser: 'username',
      basicAuthKey: 'auth_key'
    }
  }
}

using environment variable

Simply set BITBUCKET_API_BASE_URL env variable, using .env or manually.

Bitbucket Pull Requests

Show a list of pull requests in certain repository

parameters

key required description
project yes bitbucket project name
repo yes bitbucket repository's name

usage

  {
      type: 'bitbucket.pull_requests',
      project: 'project_name',
      repo: 'repo_name',
      columns: 1, rows: 1,
      x: 2, y: 1
  }

About

Mozaïk bitbucket widgets

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.5%
  • CSS 6.5%