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

Investigate tools to check shell code portability

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • StorEng - Refinement Pipeline

      In the wiredtiger code repository, there are some shell scripts (e.g. dist/s_all) that are set to call system shell (#!/bin/sh), which could be "translated" into varied types of shells in different OS systems/distributions, e.g. bash, dash, zsh. Having a way to check shell changes being portable across different types of shells before code merge is useful to avoid portability issues being introduced into our code base, affecting users of one particular or certain types of shells. 

      shellcheck has a "portability" feature that seems relevant. We can explore other tools as well. 

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: