RFR: bot: add version handler

openjdk-notifier [bot] "github.com+73116608+openjdk-notifier[bot]" at openjdk.java.net
Fri May 28 18:20:50 UTC 2021

On Mon, 24 May 2021 14:08:45 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> please review this patch that adds a version handler, typically listening on the path `/version`. This simple handler just returns the version of the running bots, useful for scripting or dashboards. Typical configuration:
> {
>   "http-server": {
>     "/version": {
>       "type": "version"
>     }
>   }
> }
> Example of usage:
> $ curl http://localhost:8080/version
> bd09ee70259733dc2e18577da6a36462c900dba3
> Testing:
> - [x] Tested locally on Linux x64
> Thanks,
> Erik

The dependent pull request has now been integrated, and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork:

git checkout profile-handler
git fetch https://git.openjdk.java.net/skara master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push


PR: https://git.openjdk.java.net/skara/pull/1165

More information about the skara-dev mailing list