Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-40056][BUILD] Upgrade mvn-scalafmt from 1.0.4 to 1.1.1640084764.9f463a9 #37727

Closed
wants to merge 2 commits into from

Conversation

panbingkun
Copy link
Contributor

@panbingkun panbingkun commented Aug 30, 2022

What changes were proposed in this pull request?

This PR aims to upgrade mvn-scalafmt from 1.0.4 to 1.1.1640084764.9f463a9

PS:

1.Following #37489
2.Fix https://issues.apache.org/jira/browse/SPARK-40221

Why are the changes needed?

The last upgrade occurred 2 year ago.
image
maven repo version: https://mvnrepository.com/artifact/org.antipathy/mvn-scalafmt

The new version specifically update the following issues:

1.SimonJPegg/mvn_scalafmt@6b9e0a4
image

2.mvn_scalafmt_2.11(scala 2.11) be deprecated: SimonJPegg/mvn_scalafmt@9f3d109
image

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass GA & Manual test

1.mvn -Pscala-2.12 scalafmt:format -Dscalafmt.skip=false
2.mvn -Pscala-2.13 scalafmt:format -Dscalafmt.skip=false
3.Download #37661 branch SPARK-40211), and execute ./dev/scalafmt, result:

image

dev/.scalafmt.conf Outdated Show resolved Hide resolved
dev/.scalafmt.conf Outdated Show resolved Hide resolved
@github-actions github-actions bot added the BUILD label Aug 30, 2022
@HyukjinKwon
Copy link
Member

cc @srowen FYI

@HyukjinKwon
Copy link
Member

Merged to master.

dongjoon-hyun pushed a commit that referenced this pull request Mar 12, 2024
…8` & `scalafmt` to `3.8.0`

### What changes were proposed in this pull request?
The pr aims to upgrade `mvn-scalafmt` from `1.1.1640084764.9f463a9` to `1.1.1684076452.9f83818`.

### Why are the changes needed?
- mvn-scalafmt
  The last `mvn-scalafmt` upgrade occurred 1 year ago, #37727
  The latest version of `mvn-scalafmt`  release notes: https://github.com/SimonJPegg/mvn_scalafmt/releases/tag/2.13-1.1.1684076452.9f83818

- scalafmt
  The latest version of `scalafmt`  release notes: https://github.com/scalameta/scalafmt/releases/tag/v3.8.0

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
- Manually test.
```
./build/mvn scalafmt:format -Dscalafmt.skip=false

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.216 s
[INFO] Finished at: 2024-03-10T20:30:11+08:00
[INFO] ------------------------------------------------------------------------

```

```
./dev/scalafmt

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:56 min
[INFO] Finished at: 2024-03-10T20:19:46+08:00
[INFO] ------------------------------------------------------------------------

```
- Pass GA.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes #45452 from panbingkun/SPARK-47335.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
jpcorreia99 pushed a commit to jpcorreia99/spark that referenced this pull request Mar 12, 2024
…8` & `scalafmt` to `3.8.0`

### What changes were proposed in this pull request?
The pr aims to upgrade `mvn-scalafmt` from `1.1.1640084764.9f463a9` to `1.1.1684076452.9f83818`.

### Why are the changes needed?
- mvn-scalafmt
  The last `mvn-scalafmt` upgrade occurred 1 year ago, apache#37727
  The latest version of `mvn-scalafmt`  release notes: https://github.com/SimonJPegg/mvn_scalafmt/releases/tag/2.13-1.1.1684076452.9f83818

- scalafmt
  The latest version of `scalafmt`  release notes: https://github.com/scalameta/scalafmt/releases/tag/v3.8.0

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
- Manually test.
```
./build/mvn scalafmt:format -Dscalafmt.skip=false

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.216 s
[INFO] Finished at: 2024-03-10T20:30:11+08:00
[INFO] ------------------------------------------------------------------------

```

```
./dev/scalafmt

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:56 min
[INFO] Finished at: 2024-03-10T20:19:46+08:00
[INFO] ------------------------------------------------------------------------

```
- Pass GA.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#45452 from panbingkun/SPARK-47335.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
sweisdb pushed a commit to sweisdb/spark that referenced this pull request Apr 1, 2024
…8` & `scalafmt` to `3.8.0`

### What changes were proposed in this pull request?
The pr aims to upgrade `mvn-scalafmt` from `1.1.1640084764.9f463a9` to `1.1.1684076452.9f83818`.

### Why are the changes needed?
- mvn-scalafmt
  The last `mvn-scalafmt` upgrade occurred 1 year ago, apache#37727
  The latest version of `mvn-scalafmt`  release notes: https://github.com/SimonJPegg/mvn_scalafmt/releases/tag/2.13-1.1.1684076452.9f83818

- scalafmt
  The latest version of `scalafmt`  release notes: https://github.com/scalameta/scalafmt/releases/tag/v3.8.0

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
- Manually test.
```
./build/mvn scalafmt:format -Dscalafmt.skip=false

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.216 s
[INFO] Finished at: 2024-03-10T20:30:11+08:00
[INFO] ------------------------------------------------------------------------

```

```
./dev/scalafmt

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:56 min
[INFO] Finished at: 2024-03-10T20:19:46+08:00
[INFO] ------------------------------------------------------------------------

```
- Pass GA.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#45452 from panbingkun/SPARK-47335.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants