You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2022/11/21 16:14:11 UTC

[GitHub] [zeppelin] jongyoul opened a new pull request, #4512: [MINOR] Polish maven plugins for root pom

jongyoul opened a new pull request, #4512:
URL: https://github.com/apache/zeppelin/pull/4512

   ### What is this PR for?
   * Deactivate apache-rat by default and change some CI settings
   * Move git-commit-id-plugin under `zeppelin-interpreter`
   
   
   ### What type of PR is it?
   Improvement
   
   ### Todos
   * [x] - Polish pom.xml
   
   ### What is the Jira issue?
   N/A
   
   ### How should this be tested?
   CI passed
   
   ### Screenshots (if appropriate)
   We cannot see two plugins anymore in root pom
   <img width="596" alt="image" src="https://user-images.githubusercontent.com/3612566/203104192-79eb3a36-2dc3-4c01-acdf-fef64a999fa5.png">
   
   ### Questions:
   * Does the licenses files need to update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   


-- 
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: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] Reamer commented on pull request #4512: [MINOR] Polish maven plugins for root pom

Posted by GitBox <gi...@apache.org>.
Reamer commented on PR #4512:
URL: https://github.com/apache/zeppelin/pull/4512#issuecomment-1324873754

   > I think we already have a version number in our jars.
   
   Currently I see for zeppelin-common only the following information inside `MANIFEST.MF`. Is this information sufficient?
   ```
   Specification-Title: Zeppelin: Common
   Specification-Version: 0.11
   Specification-Vendor: The Apache Software Foundation
   Implementation-Title: Zeppelin: Common
   Implementation-Version: 0.11.0-SNAPSHOT
   Implementation-Vendor: The Apache Software Foundation
   ```
   versus git.properties
   
   ```
   #Generated by Git-Commit-Id-Plugin
   #Wed Nov 23 11:44:29 CET 2022
   git.branch=master
   git.build.host=l-pdallig-moa
   git.build.time=2022-11-23 11\:44\:29
   git.build.user.email=philipp.dallig@gmail.com
   git.build.user.name=Philipp Dallig
   git.build.version=0.11.0-SNAPSHOT
   git.closest.tag.commit.count=
   git.closest.tag.name=
   git.commit.id=bc810c324aadf472049d1e3ce95b3b1ee53edf5f
   git.commit.id.abbrev=bc810c3
   git.commit.id.describe=bc810c3-dirty
   git.commit.id.describe-short=bc810c3-dirty
   git.commit.message.full=[ZEPPELIN-5849] MIGRATE JDBC MODULE TO JUNIT 5 (\#4511)
   git.commit.message.short=[ZEPPELIN-5849] MIGRATE JDBC MODULE TO JUNIT 5 (\#4511)
   git.commit.time=2022-11-22 13\:43\:33
   git.commit.user.email=guanhua_li@foxmail.com
   git.commit.user.name=Guanhua Li
   git.dirty=true
   git.local.branch.ahead=0
   git.local.branch.behind=0
   git.remote.origin.url=Unknown
   git.tags=
   git.total.commit.count=5187
   ```
   
   
   > Do you still think we'd better include those information in all jars?
   
   In general, I don't need the git information. But for others this could be useful.
   
   > And I thought the git.properties is being only in some API only.
   
   I have not seen the use of the file for the API yet. I'll have a look right now to see if I can find the post.


-- 
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: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] Reamer commented on pull request #4512: [MINOR] Polish maven plugins for root pom

Posted by GitBox <gi...@apache.org>.
Reamer commented on PR #4512:
URL: https://github.com/apache/zeppelin/pull/4512#issuecomment-1323628934

   I find the change regarding rat very good. Why the change with the git plugin? It can be useful that the Git information is in each artifact of Zeppelin.


-- 
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: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] jongyoul commented on pull request #4512: [MINOR] Polish maven plugins for root pom

Posted by GitBox <gi...@apache.org>.
jongyoul commented on PR #4512:
URL: https://github.com/apache/zeppelin/pull/4512#issuecomment-1322320800

   We already have the `apache-rat:check` job with the proper profile option. https://github.com/apache/zeppelin/actions/runs/3516132806/jobs/5892289394


-- 
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: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] jongyoul commented on pull request #4512: [MINOR] Polish maven plugins for root pom

Posted by GitBox <gi...@apache.org>.
jongyoul commented on PR #4512:
URL: https://github.com/apache/zeppelin/pull/4512#issuecomment-1324983609

   > Currently I see for zeppelin-common only the following information inside MANIFEST.MF. Is this information sufficient?
   
   I meant the name of jars like `zeppelin-server-0.11.0-SNAPSHOT.jar`. :-) I thought general users would use the pre-built version like `0.10.x`. In the case of developers like us, we will know our branch so I don't think that we need them. 


-- 
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: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] jongyoul merged pull request #4512: [MINOR] Polish maven plugins for root pom

Posted by GitBox <gi...@apache.org>.
jongyoul merged PR #4512:
URL: https://github.com/apache/zeppelin/pull/4512


-- 
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: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] jongyoul commented on pull request #4512: [MINOR] Polish maven plugins for root pom

Posted by GitBox <gi...@apache.org>.
jongyoul commented on PR #4512:
URL: https://github.com/apache/zeppelin/pull/4512#issuecomment-1323780292

   > Why the change with the git plugin?
   
   Basically, I would like not to create `target` directory of the root directory. And I thought the `git.properties` is being only in some API only. Concerning the information, I think we already have a version number in our jars. Do you still think we'd better include those information in all jars?


-- 
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: dev-unsubscribe@zeppelin.apache.org

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


[GitHub] [zeppelin] jongyoul commented on pull request #4512: [MINOR] Polish maven plugins for root pom

Posted by GitBox <gi...@apache.org>.
jongyoul commented on PR #4512:
URL: https://github.com/apache/zeppelin/pull/4512#issuecomment-1324978426

   >I have not seen the use of the file for the API yet. I'll have a look right now to see if I can find the post.
   
   Here is the code. https://github.com/apache/zeppelin/blob/85ed8e2e51e1ea10df38d4710216343efe218d60/zeppelin-server/src/main/java/org/apache/zeppelin/rest/ZeppelinRestApi.java#L63-L64
   
   The PR related to `git-commit-id-plugin` are https://issues.apache.org/jira/browse/ZEPPELIN-2622 and https://github.com/apache/zeppelin/pull/2398. I couldn't find motivations for keeping build information for all jars in the PR. So I think the contributor wanted to make a new API including versions. I, however, think we could keep the information for debugging purposes. 


-- 
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: dev-unsubscribe@zeppelin.apache.org

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