Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1816

Execute shellcheck on our Linux scripts

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: KnoxCLI, KnoxShell, Server
    • Labels:
      None

      Description

      It's strongly recommended to execute shellcheck on the following Linux scripts:

      • gateway-release/home/bin/gateway.sh
      • gateway-release/home/bin/knoxcli.sh
      • gateway-release/home/bin/ldap.sh
      • gateway-shell-release/home/bin/knoxshell.sh

      It can be done online (https://www.shellcheck.net/) or locally after installing the software. Once the check has been executed we should apply the changes the tool recommends to avoid common bash pitfalls.

      Optionally: we may integrate it with our Travis CI build (needs investigation)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                smolnar Sandor Molnar
                Reporter:
                smolnar Sandor Molnar
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m