Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-3144

ClearCase include/exclude rules do unexpected things

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 2.3.7
    • Indexing

      On the ClearCase admin screen, you can specify include/exclude rules for VOBs or UCM projects. You can use a comma separated list of patterns. Each pattern is either a plain string or a regular expression.

      There are multiple issues:

      • the patterns aren't trimmed, so using a comma followed by a space will result in strings not being matched.
      • when using a plain string, it is currently testing whether the string is part of the VOB/UCM project pattern. For example, the pattern '/vobs/myvob' not only matches vob:/vobs/myvob, but also vob:/vobs/myvob2.
      • the strings being matched are the VOB/UCM Project name prefixed by 'vob:' of 'project:'. The use of the prefix is a bit awkward when specifying inclusion/exclusion rules

      suggestions:

      1. trim()
      2. Use exact matching on the full path of the vob/project, with vob:/project: prefix removed on both sides, so it is optional in the UI

              Unassigned Unassigned
              Anonymous Anonymous
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: