-
Notifications
You must be signed in to change notification settings - Fork 416
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
[MINOR] refactor: Tweak the build script #6677
base: main
Are you sure you want to change the base?
Conversation
@tengqm There're some build issues about the change, can you please check the CI log and fix it. |
OK. |
2b65d42
to
eab465d
Compare
"--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", | ||
"--add-opens", "java.base/sun.nio.cs=ALL-UNNAMED", | ||
"--add-opens", "java.base/sun.security.action=ALL-UNNAMED", | ||
"--add-opens", "java.base/sun.util.calendar=ALL-UNNAMED", | ||
"--add-opens", "java.security.jgss/sun.security.krb5=ALL-UNNAMED", | ||
"--add-opens", "java.base/java.lang.reflect=ALL-UNNAMED" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To reviwers: This entry was found to be duplicated after sorting the list.
"--add-opens", "java.base/jdk.internal.ref=ALL-UNNAMED", | ||
"--add-opens", "java.base/jdk.internal.reflect=ALL-UNNAMED", | ||
"--add-opens", "java.sql/java.sql=ALL-UNNAMED", | ||
"--add-opens", "java.base/sun.util.calendar=ALL-UNNAMED", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To reviwers: This entry was found to be duplicated after sorting the list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch.
"web/web/src/lib/icons/svg/**/*.svg", | ||
"web/web/src/lib/utils/axios/**/*", | ||
"web/web/src/types/axios.d.ts", | ||
"web/web/yarn.lock" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To reviwers: contents not changed other than sorting the entries
"copySubprojectDependencies", | ||
"copySubprojectLib", | ||
":authorizations:copyLibAndConfig", | ||
":iceberg:iceberg-rest-server:copyLibAndConfigs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To reviwers: by wrapping the long line, the missing leading ':' for iceberg one becomes obvious.
it.parent?.name != "bundles" && it.name != "hadoop-common" | ||
!it.name.startsWith("client") && | ||
!it.name.startsWith("filesystem") && | ||
!it.name.startsWith("flink") && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To reviwers: by wrapping the long line, we found that 'flink' is duplicated.
it.name != "bundled-catalog" && | ||
it.name != "hadoop-common" && | ||
it.name != "hive-metastore-common" && | ||
it.name != "integration-test" && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To reviwers: by wrapping the long line and sorting the entries, duplication of 'integration-test' is obvious.
":catalogs:catalog-kafka:copyLibAndConfig", | ||
":catalogs:catalog-lakehouse-hudi:copyLibAndConfig", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To reviewers: 'catalogs:catalog-lakehouse-hudi:copyLibAndConfig' was missing the leading ':'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
�It's fine, these two ways are both workable for Gradle.
eab465d
to
b87b73c
Compare
@yuqi1129 can you please help to review this PR? |
"--add-opens", "java.base/jdk.internal.ref=ALL-UNNAMED", | ||
"--add-opens", "java.base/jdk.internal.reflect=ALL-UNNAMED", | ||
"--add-opens", "java.sql/java.sql=ALL-UNNAMED", | ||
"--add-opens", "java.base/sun.util.calendar=ALL-UNNAMED", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch.
b87b73c
to
4abc291
Compare
What changes were proposed in this pull request?
This PR tweaks the build script for coding style consistency.
It also fixes a few nits in the scripts:
Why are the changes needed?
See description.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
N/A