You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by "lengyuexuexuan (via GitHub)" <gi...@apache.org> on 2024/02/22 07:11:58 UTC

[PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

lengyuexuexuan opened a new pull request, #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917

   ### What problem does this PR solve? <!--add issue link with summary if exists-->
   #1881
   
   ### What is changed and how does it work?
   
   By uploading generation thrift files, the go client can be used directly by users through "go get" without the need to compile it locally.
   
   ##### Tests <!-- At least one of them must be included. -->
   
   - Manual test (add detailed scripts or steps below)
   


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "acelyc111 (via GitHub)" <gi...@apache.org>.
acelyc111 commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-1965686907

   @lengyuexuexuan Please check the failed CIs, for `Check License`, you need to add the new files to `.licenserc.yaml`.


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "acelyc111 (via GitHub)" <gi...@apache.org>.
acelyc111 commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-2135583310

   @lengyuexuexuan Do you have some time to improve the PR ? I'm pleased to give you some help if needed.


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "lengyuexuexuan (via GitHub)" <gi...@apache.org>.
lengyuexuexuan commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-2175482505

   > @lengyuexuexuan please check this issue as well
   > 
   > https://github.com/apache/incubator-pegasus/actions/runs/9285106961/job/25848921042?pr=1917#step:6:4621
   
   done.


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "acelyc111 (via GitHub)" <gi...@apache.org>.
acelyc111 closed pull request #1917: chore(go-client): add generation thrift files of go-client
URL: https://github.com/apache/incubator-pegasus/pull/1917


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "lengyuexuexuan (via GitHub)" <gi...@apache.org>.
lengyuexuexuan commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-2137196866

   @acelyc111 
   Now I have uploaded the latest version of the thrift file, and remove go-client/idl/* in .gitignored file. 
   I tested it and now users can directly pull the latest version of go client and use it directly. 
   It needs another committer to aprrove this pr and  #1916.


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "acelyc111 (via GitHub)" <gi...@apache.org>.
acelyc111 commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-1965692469

   Now that the go files have been pre-generated, the generate steps in https://github.com/apache/incubator-pegasus/blob/master/go-client/Makefile#L19 can be removed, right? Then you need to add the manual generate steps in `go-client/README.md`.
   
   And more, you need to add steps in .github/workflows/lint_and_test_go-client.yml to check that the pre-generated go files are the same to the ones generated manually.


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "acelyc111 (via GitHub)" <gi...@apache.org>.
acelyc111 commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-2150383738

   @lengyuexuexuan please check this issue as well
   
   https://github.com/apache/incubator-pegasus/actions/runs/9285106961/job/25848921042?pr=1917#step:6:4621


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "acelyc111 (via GitHub)" <gi...@apache.org>.
acelyc111 commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-2044069438

   > > Now that the go files have been pre-generated, the generate steps in https://github.com/apache/incubator-pegasus/blob/master/go-client/Makefile#L19 can be removed, right? Then you need to add the manual generate steps in `go-client/README.md`.
   > > And more, you need to add steps in .github/workflows/lint_and_test_go-client.yml to check that the pre-generated go files are the same to the ones generated manually.
   > 
   > Is it possible to remove the thrift file directly in the .gitignore file, so that if the thrift file is modified, it can be uploaded directly?
   
   Of course, feel free to do that.


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "acelyc111 (via GitHub)" <gi...@apache.org>.
acelyc111 commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-2150372582

   according to the error, you need to add these file names [1] to `.licenserc.yaml` (add them in property place to keep in dictionary order).
   
   1. https://github.com/apache/incubator-pegasus/actions/runs/9285106967/job/25548898496?pr=1917#step:3:141


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "lengyuexuexuan (via GitHub)" <gi...@apache.org>.
lengyuexuexuan commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-2002843993

   > Now that the go files have been pre-generated, the generate steps in https://github.com/apache/incubator-pegasus/blob/master/go-client/Makefile#L19 can be removed, right? Then you need to add the manual generate steps in `go-client/README.md`.
   > 
   > And more, you need to add steps in .github/workflows/lint_and_test_go-client.yml to check that the pre-generated go files are the same to the ones generated manually.
   
   
   Is it possible to remove the thrift file directly in the .gitignore file, so that if the thrift file is modified, it can be uploaded directly?


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "lengyuexuexuan (via GitHub)" <gi...@apache.org>.
lengyuexuexuan commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-2136398288

   
   > @lengyuexuexuan Do you have some time to improve the PR ? I'm pleased to give you some help if needed.
   
   thanks. Today or Tomorrow I will improve this pr.


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] chore(go-client): add generation thrift files of go-client [incubator-pegasus]

Posted by "lengyuexuexuan (via GitHub)" <gi...@apache.org>.
lengyuexuexuan commented on PR #1917:
URL: https://github.com/apache/incubator-pegasus/pull/1917#issuecomment-2136398517

   > @lengyuexuexuan Do you have some time to improve the PR ? I'm pleased to give you some help if needed.
   
   thanks. Today or Tomorrow I will improve this pr.


-- 
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@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org