s_evergreen script fails on forked repo

XMLWordPrintableJSON

    • Storage Engines
    • None
    • None

      The s_evergreen script fails when run as an external contributor on a forked repo.

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      s_evergreen: test/evergreen/evg_cfg.py check
      ERROR [test/evergreen/evg_cfg.py]: need to run this script inside a wiredtiger repo
      	`git config remote.origin.url` returned "git@github.com:Key-Puncher/wiredtiger.git"
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 

      This is due to git config remote.origin.url looking for the WiredTiger root folder. We may be able to resolve it by removing the 'wiredtiger/wiredtiger' check and using relative paths to navigate up to the WT root level folder. Alternatively, remove this check altogether since `os.chdir(run('git rev-parse --show-toplevel'))` should already be navigating to the top level wiredtiger directory. 

      Related to WT-11745

              Assignee:
              Alana Huang
              Reporter:
              Alana Huang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: