Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-1547

Collect PR specific constants in single shared class

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0
    • None
    • bots
    • None

      There are numerous string literals and constants duplicated and spread around different bots. This includes markers (used in PR body and comments) for various bot functionality as well as label names. I would like to collect most of these in a common class in the forge module, something like "PullRequestConstants" next to the existing PullRequestUtils class. By putting just static constants in this class, we can conveniently use "import static" with wildcard to get access to all of them where needed.

            zsong Zhao Song
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: