Skip to main content

Buildbot site navigation plugin

Project description

Introduction

A very simple buildbot UI plugin providing a menu-item with configurable links. This plugin is intended to help integrate the buildbot master web interface with some larger site structure. For example, you can add links to your code review / code hosting service, bug tracker, discussion page, etc.

https://github.com/cheshirekow/buildbot_sitenav/raw/master/doc/screenshot.png

Screenshot of the buildbot UI menu including the sitnav plugin.

Installation

Install the buildbot-sitenav package into the python environment you use for executing the buildbot master. That probably means something like this:

pip install buildbot-sitenav

Add the plugin to the ‘www’ config section of master.cfg for your buildmaster. e.g.:

c['www'] = {
    "plugins": {
        "waterfall_view": {},
        "console_view": {},
        "grid_view": {},
        "sitenav": {
          "label" : "Navigation",
          "links" : [
            ["home", "/"],
            ["gerrit", "/gerrit"],
            ["forum", "/forum"]
          ]
        }
    },
}

The config dictionary for the sitenav plugin includes two keys:

  • ‘label’: optional, specifies the text to use for the button label in the menu. The default is “Site Nav”.

  • ‘links’: required, specifies a list of links to add in the submenu. Each item in the list is a pair (a list of two elements), composed of [“<label>”, “<url>”].

Notes

The author of this plugin actually knows practically nothing about angularJS so this plugin is probably implemented in a dumb way. Hopefully you find it useful anyway.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

buildbot-sitenav-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

buildbot_sitenav-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file buildbot-sitenav-0.1.0.tar.gz.

File metadata

  • Download URL: buildbot-sitenav-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for buildbot-sitenav-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d32ea459f10e005576ff671e0354e8baa3b907b6593edc105ef2c9f4044633d
MD5 f9e6a14920f595dad64ff923733314c5
BLAKE2b-256 8db06b08f2731bca0c516707a2c1be934649749b6af07960ead529067290ee7a

See more details on using hashes here.

Provenance

File details

Details for the file buildbot_sitenav-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: buildbot_sitenav-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for buildbot_sitenav-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79e2475d0c604ca7861e4f19f02591e67d611b3c05c012ac75017896ffd5cd09
MD5 fb0a8ddd61a2ccc655034e6eaa347fc8
BLAKE2b-256 49d23d1687f6ca4a78a5c9f4ff98645fa9a9bce1d26afdd76907ff28635e689f

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page