Copilot commented on code in PR #62732: URL: https://github.com/apache/doris/pull/62732#discussion_r3128015005
########## thirdparty/test/download-thirdparty-fallback-test.sh: ########## @@ -0,0 +1,100 @@ +#!/usr/bin/env bash +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +set -eo pipefail + +ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." &>/dev/null && pwd)" + Review Comment: The PR description/test plan references `thirdparty/test/juicefs-default-mirror-test.sh`, but that script is not present in this branch (only `download-thirdparty-fallback-test.sh` exists under `thirdparty/test/`). Either add the missing test script(s) or update the PR description/test plan to match what’s actually included. ########## thirdparty/vars.sh: ########## @@ -548,7 +549,8 @@ JINDOFS_SOURCE=jindofs-6.10.4-libs-0.1 JINDOFS_MD5SUM="bd30b4c5fe97c4367eeb3bb228b317d9" # juicefs -JUICEFS_DOWNLOAD="https://repo1.maven.org/maven2/io/juicefs/juicefs-hadoop/1.3.1/juicefs-hadoop-1.3.1.jar" +JUICEFS_DOWNLOAD="${DORIS_THIRDPARTY_REPOSITORY_URL%/}/juicefs-hadoop-1.3.1.jar" +JUICEFS_FALLBACK_DOWNLOAD="https://repo1.maven.org/maven2/io/juicefs/juicefs-hadoop/1.3.1/juicefs-hadoop-1.3.1.jar" Review Comment: PR description says the mirror can be customized via `JUICEFS_THIRDPARTY_REPOSITORY_URL`, but the thirdparty build flow here hardcodes the default via `DORIS_THIRDPARTY_REPOSITORY_URL` (and only uses `REPOSITORY_URL` as a first-attempt URL). Consider aligning the env var name(s) across docker + thirdparty flows (e.g., also honoring `JUICEFS_THIRDPARTY_REPOSITORY_URL` here) or updating the PR description/docs so users know which variable applies to which flow. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
