Integrated: 2010: Handle both ignoreopt and matchprefix together in IssueNotifier

Erik Joelsson erikj at openjdk.org
Thu Aug 31 14:15:11 UTC 2023


On Wed, 30 Aug 2023 19:39:47 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> The two configuration options for tags in the IssueNotifier, "ignoreopt" and "matchprefix" do not work together if "matchprefix" is set to false (which is the default value). We need to configure a repository where the tag format and the fixVersion differ in both prefix and "opt" suffix. This patch fixes this by reordering the logic in `tagVersionMatchesFixVersion`. I added a test to verify this specific situation. I believe the existing tests should cover all other current usecases.

This pull request has now been integrated.

Changeset: 1f6e3de8
Author:    Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.org/skara/commit/1f6e3de8e6a4f53852caa4b8bc7ee820fd47ae55
Stats:     68 lines in 2 files changed: 51 ins; 10 del; 7 mod

2010: Handle both ignoreopt and matchprefix together in IssueNotifier

Reviewed-by: zsong

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

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


More information about the skara-dev mailing list