Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8448

s_mentions finds content that should not be matching

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 5.2.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Storage - Ra 2021-11-29

      Description

      If one works within a directory that is named or contains a file that matches the WT ticket ID, s_mentions will pick it up. Furthermore, it seems that it also checks the auto-generated make files, which contain path location.

      Repro:

      ~/work/wt-8306-resolve-upds/src$ grep -inr --exclude-dir=.git "8306" ../.
      .././build_posix/config.log:1586:ACLOCAL='${SHELL} work/wt-8306-resolve-upds/build_posix/gnu-support/missing aclocal-1.15'
      .././build_posix/config.log:1601:AUTOCONF='${SHELL} work/wt-8306-resolve-upds/build_posix/gnu-support/missing autoconf'
      .././build_posix/config.log:1602:AUTOHEADER='${SHELL} work/wt-8306-resolve-upds/build_posix/gnu-support/missing autoheader'
      .././build_posix/config.log:1603:AUTOMAKE='${SHELL} work/wt-8306-resolve-upds/build_posix/gnu-support/missing automake-1.15'
      .././build_posix/config.log:1665:MAKEINFO='${SHELL} work/wt-8306-resolve-upds/build_posix/gnu-support/missing makeinfo'
      .././build_posix/config.log:1765:install_sh='${SHELL} work/wt-8306-resolve-upds/build_posix/gnu-support/install-sh'
      .././build_posix/config.status:440:ac_pwd='work/wt-8306-resolve-upds/build_posix' 

      Suggestions:

      • Only check for files' content
      • Use the file filelist or only grep into the src folder (we might occurrences though).

        Attachments

          Activity

            People

            Assignee:
            andrew.morton Andrew Morton
            Reporter:
            etienne.petrel Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: