You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "github-actions[bot] (via GitHub)" <gi...@apache.org> on 2023/04/27 08:06:37 UTC

[GitHub] [doris] github-actions[bot] commented on pull request #19155: [Chore](build) upgrade clang-format version to 16 && move thrift to fe-common

github-actions[bot] commented on PR #19155:
URL: https://github.com/apache/doris/pull/19155#issuecomment-1525057659

   #### `sh-checker report`
   
   To get the full details, please check in the [job]("https://github.com/apache/doris/actions/runs/4817452726") output.
   
   <details>
   <summary>shellcheck errors</summary>
   
   ```
   
   'shellcheck ' returned error 1 finding the following syntactical issues:
   
   ----------
   
   In bin/start_fe.sh line 111:
       JAVA="$(which java)"
               ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In build-for-release.sh line 97:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build-for-release.sh line 103:
       exit 1
       ^----^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build-support/check-format.sh line 34:
   CLANG_FORMAT="${CLANG_FORMAT_BINARY:=$(which clang-format)}"
                                          ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In build-support/clang-format.sh line 34:
   CLANG_FORMAT="${CLANG_FORMAT_BINARY:=$(which clang-format)}"
                                          ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In build.sh line 235:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In build.sh line 435:
       MAKE_PROGRAM="$(which "${BUILD_SYSTEM}")"
                       ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In build_plugin.sh line 92:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In contrib/udf/build_udf.sh line 105:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In dist/download_scripts/download_base.sh line 42:
   if [[ -n $(which curl >/dev/null 2>&1) ]]; then
              ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In env.sh line 120:
           DORIS_GCC_HOME="$(dirname "$(which gcc)")"/..
                                        ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In env.sh line 138:
           DORIS_CLANG_HOME="$(dirname "$(which clang)")"/..
                                          ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In env.sh line 166:
       DORIS_GCC_HOME="$(dirname "$(which gcc)")/.."
                                    ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In env.sh line 194:
           JAVA="$(which java)"
                   ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In env.sh line 195:
           JAVAP="$(which javap)"
                    ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In fs_brokers/apache_hdfs_broker/bin/start_broker.sh line 70:
       JAVA="$(which java)"
               ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In gensrc/script/gen_build_version.sh line 79:
       java_cmd="$(which java)"
                   ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In run-be-ut.sh line 181:
   MAKE_PROGRAM="$(which "${BUILD_SYSTEM}")"
                   ^---^ SC2230 (info): 'which' is non-standard. Use builtin 'command -v' instead.
   
   
   In run-regression-test.sh line 114:
       exit 1
       ^----^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In samples/insert/shell/insert_utils.sh line 50:
               break
               ^---^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In tools/restore_tablet_tool.sh line 89:
           shift
           ^---^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In tools/ssb-tools/bin/create-ssb-tables.sh line 76:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In tools/ssb-tools/bin/gen-ssb-data.sh line 93:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In tools/ssb-tools/bin/load-ssb-data.sh line 86:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In tools/ssb-tools/bin/run-ssb-flat-queries.sh line 75:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In tools/ssb-tools/bin/run-ssb-queries.sh line 75:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In tools/tpch-tools/bin/create-tpch-tables.sh line 73:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In tools/tpch-tools/bin/gen-tpch-data.sh line 93:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In tools/tpch-tools/bin/load-tpch-data.sh line 86:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   
   In tools/tpch-tools/bin/run-tpch-queries.sh line 74:
       exit
       ^--^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
   
   For more information:
     https://www.shellcheck.net/wiki/SC2230 -- 'which' is non-standard. Use buil...
     https://www.shellcheck.net/wiki/SC2317 -- Command appears to be unreachable...
   ----------
   
   You can address the above issues in one of three ways:
   1. Manually correct the issue in the offending shell script;
   2. Disable specific issues by adding the comment:
     # shellcheck disable=NNNN
   above the line that contains the issue, where NNNN is the error code;
   3. Add '-e NNNN' to the SHELLCHECK_OPTS setting in your .yml action file.
   
   
   
   ```
   </details>
   
   <details>
   <summary>shfmt errors</summary>
   
   ```
   'shfmt ' found no issues.
   
   ```
   </details>
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org