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

Erik Joelsson erikj at openjdk.org
Wed Aug 30 19:44:00 UTC 2023


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.

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

Commit messages:
 - SKARA-2010

Changes: https://git.openjdk.org/skara/pull/1551/files
 Webrev: https://webrevs.openjdk.org/?repo=skara&pr=1551&range=00
  Issue: https://bugs.openjdk.org/browse/SKARA-2010
  Stats: 68 lines in 2 files changed: 51 ins; 10 del; 7 mod
  Patch: https://git.openjdk.org/skara/pull/1551.diff
  Fetch: git fetch https://git.openjdk.org/skara.git pull/1551/head:pull/1551

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


More information about the skara-dev mailing list