aboutsummaryrefslogtreecommitdiff
path: root/buildbot-revision.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-07-23 15:39:30 +1000
committerYuchen Pei <id@ypei.org>2023-07-23 15:39:30 +1000
commit54176e05e9391ec3c7e7d5ec50e0a2c2a6d4ef7b (patch)
tree46f9143850d256e83fcdbf4c8810f326b48e62e4 /buildbot-revision.el
parentf83633a34c54967c35bdc3a1bb157e13c30db64f (diff)
Adding indirect branch / revision filtering
Most instances seem to not support direct branch / revision filtering in Changes API requests, that is, requests such as <host>/api/v2/changes?revision=<revision-id> timeout or return an error code. In such cases, we issue a more general API request, and filter the response by revision: <host>/api/v2/changes?limit=<limit>&order=-changeid We add a new custom var `buildbot-api-changes-direct-filter' to control the relevant behaviour. The mariadb instance seems to be the only instance that work better with direct filtering, whereas python and buildbot seems to work with both, and the remaining instances only supporting indirect filtering. We also add a few more custom vars for limiting in API requests, and fix some regressions introduced in the previous commit, about setting the host.
Diffstat (limited to 'buildbot-revision.el')
0 files changed, 0 insertions, 0 deletions