buildbot / buildbot/buildbot

state key/value object and the Rest API

Open
#3,753 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.5k
Forks
1.7k
Avg merge
2d 7h
Merged PRs (30d)
6

Description

I am trying to store arbitrary state using the state class here:

http://docs.buildbot.net/latest/developer/database.html?highlight=setstate#module-buildbot.db.state

And while this appears to work, I would like to know how I can either

1. access this directly from the REST API
2. create an endpoint to expose that data

My hope is that I can do this without modifying the source distribution, but via a set of steps and some other code running outside of the buildbot source.

Contributor guide

Open the contributing guide

Research direction

Start with the state class documentation at developer/database.html and review the REST API documentation for any existing state exposure. Determine whether supported external configuration can provide access or whether an endpoint requires source changes; done means documenting the applicable steps and limitations.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.