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

s_mentions finds content that should not be matching

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Storage - Ra 2021-11-29

      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).

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

              Created:
              Updated:
              Resolved: