Skip to main content

Buildbot DbConfig plugin

Project description

Buildbot plugin that allows www-plugins to store settings in database.

This plugin creates the endpoint ‘/dbconfig/api/config?name={cfg}’.

Multiple configurations are supported. The ‘name’ parameter is a configuration name.

GET/PUT loads/stores configuration in buildbot database.

Add ‘dbconfig’ to master.cfg:

c[‘www’] = dict(plugins=dict(dbconfig={‘show_menu’:False}…}

The ‘show_menu’ parameter controls visibility of DbConfig menu item (mostly used for debug).

Example controller code:

name=… dbConfigUrl = ‘/dbconfig/api/config?name=’

$scope.loadConfig = () ->
$http.get(dbConfigUrl+name).then (cfg) ->

$scope.cfg = cfg.data

$scope.saveConfig = () ->

$http.put(dbConfigUrl+name,$scope.cfg)

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-dbconfig-0.1.2.tar.gz (708.0 kB view details)

Uploaded Source

File details

Details for the file buildbot-dbconfig-0.1.2.tar.gz.

File metadata

File hashes

Hashes for buildbot-dbconfig-0.1.2.tar.gz
Algorithm Hash digest
SHA256 96d6f3d5bb824c72fb2e235c4c8bb509b3915c7ce7b09b1e327b722066c1433f
MD5 4a2986e0a8d6bf5b516cc250ebccfbbc
BLAKE2b-256 2121db4dd3f0096b1e595a0e977d1b9a51d88bbddc53603861393d5b25894ca5

See more details on using hashes here.

Supported by

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