[users at bb.net] how to access DbConfig from www plugins?

Alexey Demakov demakov at ispras.ru
Tue Jan 16 15:30:25 UTC 2018


Hi all,

I need to store some additional info for my www plugin.

I know how to do it with settings service (bbSettingsService),
but it uses browser's local storage, I need global solution.

I plan to use DbConfig utility [1] to store my info in buildbot database.

But I can't figure out how to transfer info between python backend and 
js www plugin.

Do I need to implement additional endpoint and use it like data service 
does?

May be I overlooked and endpoint to use DbConfig already implemented?

What is the simplest way to store info from www plugin?

Thanks,
Alexey

[1] http://docs.buildbot.net/latest/manual/cfg-dbconfig.html



More information about the users mailing list