You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by "tuhaihe (via GitHub)" <gi...@apache.org> on 2026/03/16 06:38:36 UTC

[PR] ASF: update files to make ASF compliance [cloudberry-pxf]

tuhaihe opened a new pull request, #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80

   <!--Thank you for contributing! -->
   
   <!--In case of an existing issue or discussions, please reference it-->
   closes: #ISSUE_Number
   <!--Remove this section if no corresponding issue.-->
   
   ---
   
   ## Change logs
   
   > Describe your change clearly, including what problem is being solved or what document is being added or updated.
   
   ## Contributor's checklist
   
   Here are some reminders before you submit your pull request:
   
   * Make sure that your Pull Request has a clear title and commit message. You can take the [Git commit template](https://github.com/apache/cloudberry/blob/main/.gitmessage) as a reference.
   * Learn the [code contribution](https://cloudberry.apache.org/contribute/code) and [doc contribution](https://cloudberry.apache.org/contribute/doc) guides for better collaboration.
   * Make sure that CICD workflow is successful.
   * List your communications in the [GitHub Issues](https://github.com/apache/cloudberry-pxf/issues) or [Discussions](https://github.com/apache/cloudberry/discussions) (if has or needed).
   * Feel free to ask for the [cloudberry committers](https://github.com/orgs/apache/teams/cloudberry-committers) or other people to help review and approve.


-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] ASF: update files to make ASF compliance [cloudberry-pxf]

Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe commented on PR #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80#issuecomment-4072999926

   For removing the gradle-wrapper.jar, will do in #81.


-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] ASF: update files to make ASF compliance [cloudberry-pxf]

Posted by "ostinru (via GitHub)" <gi...@apache.org>.
ostinru commented on code in PR #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80#discussion_r2939438922


##########
ci/docker/pxf-cbdb-dev/ubuntu/script/build_pxf.sh:
##########
@@ -9,7 +9,22 @@ source /usr/local/cloudberry-db/cloudberry-env.sh
 export PATH=$GPHOME/bin:$PATH
 
 sudo apt update
-sudo apt install -y openjdk-11-jdk maven
+sudo apt install -y openjdk-11-jdk maven curl unzip coreutils
+
+# Install Gradle (we do not vendor gradle-wrapper.jar in the source tree)

Review Comment:
   It seems that gradle-wrapper.jar is recommended way to work with gradle. Is there ASF compliance issue with this JAR?
   
   https://docs.gradle.org/current/userguide/gradle_wrapper.html



-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] ASF: update files to make ASF compliance [cloudberry-pxf]

Posted by "ostinru (via GitHub)" <gi...@apache.org>.
ostinru commented on code in PR #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80#discussion_r2939702241


##########
ci/docker/pxf-cbdb-dev/ubuntu/script/build_pxf.sh:
##########
@@ -9,7 +9,22 @@ source /usr/local/cloudberry-db/cloudberry-env.sh
 export PATH=$GPHOME/bin:$PATH
 
 sudo apt update
-sudo apt install -y openjdk-11-jdk maven
+sudo apt install -y openjdk-11-jdk maven curl unzip coreutils
+
+# Install Gradle (we do not vendor gradle-wrapper.jar in the source tree)

Review Comment:
   It's really unusual to use system-wide gradle.
   
   As I can see:
   * apache/kafka keeps `gradlew` in source tree.
   * apache/calcite keeps `gradlew` in source tree and remove from source bundles: https://issues.apache.org/jira/browse/CALCITE-4575



-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] ASF: update files to make ASF compliance [cloudberry-pxf]

Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe commented on code in PR #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80#discussion_r2939741475


##########
ci/docker/pxf-cbdb-dev/ubuntu/script/build_pxf.sh:
##########
@@ -9,7 +9,22 @@ source /usr/local/cloudberry-db/cloudberry-env.sh
 export PATH=$GPHOME/bin:$PATH
 
 sudo apt update
-sudo apt install -y openjdk-11-jdk maven
+sudo apt install -y openjdk-11-jdk maven curl unzip coreutils
+
+# Install Gradle (we do not vendor gradle-wrapper.jar in the source tree)

Review Comment:
   Hi @ostinru would you like to help create a PR to proceed with removing the *.jar from source files? I believe you are good at this from technical engineering more than me. The scope is beyond my ability now. Need your support here. 



-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] ASF: update files to make ASF compliance [cloudberry-pxf]

Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe commented on code in PR #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80#discussion_r2939459092


##########
ci/docker/pxf-cbdb-dev/ubuntu/script/build_pxf.sh:
##########
@@ -9,7 +9,22 @@ source /usr/local/cloudberry-db/cloudberry-env.sh
 export PATH=$GPHOME/bin:$PATH
 
 sudo apt update
-sudo apt install -y openjdk-11-jdk maven
+sudo apt install -y openjdk-11-jdk maven curl unzip coreutils
+
+# Install Gradle (we do not vendor gradle-wrapper.jar in the source tree)

Review Comment:
   Yes, `gradle-wrapper.jar` is not allowed to be shipped in the release. See: https://lists.apache.org/thread/hrj8wfcyjllygq93qjzgbzmcyfg9h4f4. I'm trying to see how to download it instead of bundling it in the source code.



-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] ASF: update files to make ASF compliance [cloudberry-pxf]

Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe commented on code in PR #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80#discussion_r2939746869


##########
ci/docker/pxf-cbdb-dev/ubuntu/script/build_pxf.sh:
##########
@@ -9,7 +9,22 @@ source /usr/local/cloudberry-db/cloudberry-env.sh
 export PATH=$GPHOME/bin:$PATH
 
 sudo apt update
-sudo apt install -y openjdk-11-jdk maven
+sudo apt install -y openjdk-11-jdk maven curl unzip coreutils
+
+# Install Gradle (we do not vendor gradle-wrapper.jar in the source tree)

Review Comment:
   We actually can take other projects as the reference. 



-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] ASF: update files to make ASF compliance [cloudberry-pxf]

Posted by "ostinru (via GitHub)" <gi...@apache.org>.
ostinru commented on code in PR #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80#discussion_r2941157606


##########
ci/docker/pxf-cbdb-dev/ubuntu/script/build_pxf.sh:
##########
@@ -9,7 +9,22 @@ source /usr/local/cloudberry-db/cloudberry-env.sh
 export PATH=$GPHOME/bin:$PATH
 
 sudo apt update
-sudo apt install -y openjdk-11-jdk maven
+sudo apt install -y openjdk-11-jdk maven curl unzip coreutils
+
+# Install Gradle (we do not vendor gradle-wrapper.jar in the source tree)

Review Comment:
   testing here: https://github.com/ostinru/cloudberry-pxf/pull/30



-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] ASF: update files to make ASF compliance [cloudberry-pxf]

Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe commented on code in PR #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80#discussion_r2944070326


##########
ci/docker/pxf-cbdb-dev/ubuntu/script/build_pxf.sh:
##########
@@ -9,7 +9,22 @@ source /usr/local/cloudberry-db/cloudberry-env.sh
 export PATH=$GPHOME/bin:$PATH
 
 sudo apt update
-sudo apt install -y openjdk-11-jdk maven
+sudo apt install -y openjdk-11-jdk maven curl unzip coreutils
+
+# Install Gradle (we do not vendor gradle-wrapper.jar in the source tree)

Review Comment:
   Cool! Thanks @ostinru !



-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] ASF: update files to make ASF compliance [cloudberry-pxf]

Posted by "ostinru (via GitHub)" <gi...@apache.org>.
ostinru commented on code in PR #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80#discussion_r2940406576


##########
ci/docker/pxf-cbdb-dev/ubuntu/script/build_pxf.sh:
##########
@@ -9,7 +9,22 @@ source /usr/local/cloudberry-db/cloudberry-env.sh
 export PATH=$GPHOME/bin:$PATH
 
 sudo apt update
-sudo apt install -y openjdk-11-jdk maven
+sudo apt install -y openjdk-11-jdk maven curl unzip coreutils
+
+# Install Gradle (we do not vendor gradle-wrapper.jar in the source tree)

Review Comment:
   Will do.



-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] ASF: update files to make ASF compliance [cloudberry-pxf]

Posted by "ostinru (via GitHub)" <gi...@apache.org>.
ostinru commented on code in PR #80:
URL: https://github.com/apache/cloudberry-pxf/pull/80#discussion_r2939706966


##########
ci/docker/pxf-cbdb-dev/ubuntu/script/build_pxf.sh:
##########
@@ -9,7 +9,22 @@ source /usr/local/cloudberry-db/cloudberry-env.sh
 export PATH=$GPHOME/bin:$PATH
 
 sudo apt update
-sudo apt install -y openjdk-11-jdk maven
+sudo apt install -y openjdk-11-jdk maven curl unzip coreutils
+
+# Install Gradle (we do not vendor gradle-wrapper.jar in the source tree)

Review Comment:
   And I would suggest copying `gradle-wrapper-validation.yml`
   https://github.com/apache/calcite/blob/main/.github/workflows/gradle-wrapper-validation.yml



-- 
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 to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org