Integrated: bot: add Bot.name and WorkItem.botName

Erik Helin ehelin at openjdk.java.net
Wed May 12 17:54:57 UTC 2021


On Wed, 12 May 2021 13:02:51 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> 
> please review this patch that adds the methods `Bot.name` and `WorkItem.botName`. These methods are useful when adding metrics to code that deals with Bots and WorkItems (one often wants to create a `"bot"` label). I opted to add `static final` variables to the factories to ensure that names ending up as label values matches the names in the configuration files.
> 
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: aa4f7115
Author:    Erik Helin <ehelin at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/aa4f711521523dee3d3b5a94bfa0eb4404408568
Stats:     279 lines in 53 files changed: 263 ins; 0 del; 16 mod

bot: add Bot.name and WorkItem.botName

Reviewed-by: erikj

-------------

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


More information about the skara-dev mailing list