Re: [PR] [SPARK-47929] Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
dongjoon-hyun closed pull request #6: [SPARK-47929] Setup Static Analysis for Operator URL: https://github.com/apache/spark-kubernetes-operator/pull/6 -- 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

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
jiangzho commented on code in PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#discussion_r1575438072 ## config/checkstyle/checkstyle.xml: ## @@ -0,0 +1,195 @@ + + +https://checkstyle.org/dtds/configuration_1_3.dtd;> + + + + Review Comment: Yes, this

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
jiangzho commented on PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#issuecomment-2071080506 Thanks @dongjoon-hyun for the review! yes, we target latest versions as possible [Checkstyle](https://checkstyle.sourceforge.io/) latest 10.15.0

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
dongjoon-hyun commented on code in PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#discussion_r1575230305 ## config/lombok/lombok.config: ## @@ -0,0 +1,4 @@ +config.stopBubbling = true +lombok.addLombokGeneratedAnnotation = true

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
dongjoon-hyun commented on code in PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#discussion_r1575226996 ## build.gradle: ## @@ -6,7 +20,71 @@ subprojects { targetCompatibility = 17 repositories { - mavenCentral() - jcenter() +

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
dongjoon-hyun commented on code in PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#discussion_r1575224070 ## config/pmd/ruleset.xml: ## @@ -0,0 +1,33 @@ + + + + + Review Comment: ditto. Please use `2-space` indentation. -- This is an

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
dongjoon-hyun commented on code in PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#discussion_r1575223691 ## gradle.properties: ## @@ -0,0 +1,23 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
dongjoon-hyun commented on code in PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#discussion_r1575221017 ## gradle.properties: ## @@ -0,0 +1,23 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
dongjoon-hyun commented on code in PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#discussion_r1575219192 ## config/checkstyle/checkstyle.xml: ## @@ -0,0 +1,195 @@ + + +https://checkstyle.org/dtds/configuration_1_3.dtd;> + + + + + Review Comment:

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
dongjoon-hyun commented on code in PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#discussion_r1575218204 ## config/checkstyle/checkstyle.xml: ## @@ -0,0 +1,195 @@ + + +https://checkstyle.org/dtds/configuration_1_3.dtd;> + + + + Review Comment: This

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
dongjoon-hyun commented on code in PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#discussion_r1575216351 ## build.gradle: ## @@ -6,7 +20,71 @@ subprojects { targetCompatibility = 17 repositories { - mavenCentral() - jcenter() +

Re: [PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-22 Thread via GitHub
dongjoon-hyun commented on code in PR #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6#discussion_r1575215880 ## build.gradle: ## @@ -1,3 +1,17 @@ +buildscript { + repositories { +maven { + url = uri("https://plugins.gradle.org/m2/;) +} + } +

[PR] [SPARK-47929]Setup Static Analysis for Operator [spark-kubernetes-operator]

2024-04-21 Thread via GitHub
jiangzho opened a new pull request, #6: URL: https://github.com/apache/spark-kubernetes-operator/pull/6 ### What changes were proposed in this pull request? This is a breakdown PR from #2 - setting up common build tasks and required plugins. Checkstyle xml is