Closed lengyuexuexuan closed 5 months ago
@lengyuexuexuan Please check the failed CIs, for Check License
, you need to add the new files to .licenserc.yaml
.
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.
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?
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.
@lengyuexuexuan Do you have some time to improve the PR ? I'm pleased to give you some help if needed.
@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.
@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.
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).
@lengyuexuexuan please check this issue as well
@lengyuexuexuan please check this issue as well
done.
What problem does this PR solve?
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