RFR: 1532: CSRBot is too inefficient [v2]

Erik Joelsson erikj at openjdk.org
Thu Aug 18 13:52:29 UTC 2022


On Thu, 18 Aug 2022 13:45:00 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

>> I completely agree that duplicated strings are bad. Importing directly from another bot module wouldn't be great IMO. I will look into moving this into some common class in a shared module instead. Note though that this isn't new in this patch.
>
> Actually, thinking on this some more, can I file a followup to attack constants shared between bots in a more uniform way? I think many of these should be shared knowledge between bots, including label names, so adding a PullRequestContants class in the forge module (next to PullRequestUtils) would be a good idea I think. I don't want to pollute this change with this though.

Filed https://bugs.openjdk.org/browse/SKARA-1547

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

PR: https://git.openjdk.org/skara/pull/1357


More information about the skara-dev mailing list