This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new f699f556d8a0 [SPARK-48237][BUILD] Clean up `dev/pr-deps` at the end of 
`test-dependencies.sh` script
f699f556d8a0 is described below

commit f699f556d8a09bb755e9c8558661a36fbdb42e73
Author: panbingkun <panbing...@baidu.com>
AuthorDate: Fri May 10 19:54:29 2024 -0700

    [SPARK-48237][BUILD] Clean up `dev/pr-deps` at the end of 
`test-dependencies.sh` script
    
    ### What changes were proposed in this pull request?
    The pr aims to delete the dir `dev/pr-deps` after executing 
`test-dependencies.sh`.
    
    ### Why are the changes needed?
    We'd better clean the `temporary files` generated at the end.
    Before:
    ```
    sh dev/test-dependencies.sh
    ```
    <img width="569" alt="image" 
src="https://github.com/apache/spark/assets/15246973/39a56983-774c-4c2d-897d-26a7d0999456";>
    
    After:
    ```
    sh dev/test-dependencies.sh
    ```
    <img width="534" alt="image" 
src="https://github.com/apache/spark/assets/15246973/f7e76e22-63cf-4411-99d0-5e844f8d5a7a";>
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    Manually test.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No.
    
    Closes #46531 from panbingkun/minor_test-dependencies.
    
    Authored-by: panbingkun <panbing...@baidu.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 dev/test-dependencies.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev/test-dependencies.sh b/dev/test-dependencies.sh
index 048c59f4cec9..e645a66165a2 100755
--- a/dev/test-dependencies.sh
+++ b/dev/test-dependencies.sh
@@ -140,4 +140,8 @@ for HADOOP_HIVE_PROFILE in "${HADOOP_HIVE_PROFILES[@]}"; do
   fi
 done
 
+if [[ -d "$FWDIR/dev/pr-deps" ]]; then
+  rm -rf "$FWDIR/dev/pr-deps"
+fi
+
 exit 0


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to