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)
Release files for buildbot-dbconfig 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| buildbot-dbconfig-0.1.2.tar.gz | 708.0 kB | Details |
Release files / buildbot-dbconfig-0.1.2.tar.gz
| Download URL | buildbot-dbconfig-0.1.2.tar.gz |
|---|---|
| Size | 708.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96d6f3d5bb824c72fb2e235c4c8bb509b3915c7ce7b09b1e327b722066c1433f
|
|
BLAKE2b-256 checksum How to use checksums |
2121db4dd3f0096b1e595a0e977d1b9a51d88bbddc53603861393d5b25894ca5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |