You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandor Molnar (JIRA)" <ji...@apache.org> on 2019/03/08 14:00:00 UTC

[jira] [Created] (KNOX-1816) Execute shellcheck on our Liux scripts

Sandor Molnar created KNOX-1816:
-----------------------------------

             Summary: Execute shellcheck on our Liux scripts
                 Key: KNOX-1816
                 URL: https://issues.apache.org/jira/browse/KNOX-1816
             Project: Apache Knox
          Issue Type: Improvement
          Components: KnoxCLI, KnoxShell, Server
            Reporter: Sandor Molnar
            Assignee: Sandor Molnar
             Fix For: 1.3.0


It's strongly recommended to execute shellcheck on the foloowing 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)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)