RFR: bot: add Bot.name and WorkItem.botName
erikj at openjdk.java.net
Wed May 12 15:43:49 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.
Marked as reviewed by erikj (Reviewer).
More information about the skara-dev