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

sarutak 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 d0eb621  [SPARK-37312][TESTS] Add `.java-version` to `.gitignore` and 
`.rat-excludes`
d0eb621 is described below

commit d0eb62179822c82596c4feaa412f2fdf5b83c02a
Author: Dongjoon Hyun <dongj...@apache.org>
AuthorDate: Sat Nov 13 14:43:52 2021 +0900

    [SPARK-37312][TESTS] Add `.java-version` to `.gitignore` and `.rat-excludes`
    
    ### What changes were proposed in this pull request?
    
    To support Java 8/11/17 test more easily, this PR aims to add 
`.java-version` to `.gitignore` and `.rat-excludes`.
    
    ### Why are the changes needed?
    
    When we use `jenv`, `dev/check-license` and `dev/run-tests` fails.
    
    ```
    ========================================================================
    Running Apache RAT checks
    ========================================================================
    Could not find Apache license headers in the following files:
     !????? /Users/dongjoon/APACHE/spark-merge/.java-version
    [error] running /Users/dongjoon/APACHE/spark-merge/dev/check-license ; 
received return code 1
    ```
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    ```
    $ jenv local 17
    $ dev/check-license
    ```
    
    Closes #34577 from dongjoon-hyun/SPARK-37312.
    
    Authored-by: Dongjoon Hyun <dongj...@apache.org>
    Signed-off-by: Kousuke Saruta <saru...@oss.nttdata.com>
---
 .gitignore        | 1 +
 dev/.rat-excludes | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index 1a7881a..560265e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@
 *.pyo
 *.swp
 *~
+.java-version
 .DS_Store
 .bsp/
 .cache
diff --git a/dev/.rat-excludes b/dev/.rat-excludes
index a35d4ce..7932c5d 100644
--- a/dev/.rat-excludes
+++ b/dev/.rat-excludes
@@ -10,6 +10,7 @@ cache
 .generated-mima-member-excludes
 .rat-excludes
 .*md
+.java-version
 derby.log
 licenses/*
 licenses-binary/*

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

Reply via email to