You can see how buildbot travis is doing that:

https://github.com/buildbot/buildbot_travis/blob/master/buildbot_travis/api.py
https://github.com/buildbot/buildbot_travis/blob/master/buildbot_travis/configurator.py#L303

Regards
Pierre

On Tue, Jan 16, 2018 at 4:30 PM Alexey Demakov <[email protected]> wrote:

> 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
>
> _______________________________________________
> users mailing list
> [email protected]
> https://lists.buildbot.net/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to