Skip to content
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

Refactory: move api and client-go to standalone repos #366

Merged
merged 11 commits into from
Jul 30, 2023
Merged

Conversation

zhaohuabing
Copy link
Member

@zhaohuabing zhaohuabing commented Jul 29, 2023

Move Aeraki API to https://github.com/aeraki-mesh/api
Move Aeraki API client go lib to https://github.com/aeraki-mesh/client-go
The API and client-go packages inside Aeraki repo will be keep for a while to avoid any breaking changes to projects that depend on Aeraki.

All the Istio dependencies have also been updated to 1.16.5 .

@zhaohuabing zhaohuabing changed the title refactory: Move api and client-go to standalone repos Refactory: move api and client-go to standalone repos Jul 29, 2023
@zhaohuabing zhaohuabing force-pushed the move-out-api branch 2 times, most recently from 5b758d4 to 3a5033d Compare July 29, 2023 10:41
Signed-off-by: huabing zhao <[email protected]>
Signed-off-by: huabing zhao <[email protected]>
Signed-off-by: huabing zhao <[email protected]>
Signed-off-by: huabing zhao <[email protected]>
Signed-off-by: huabing zhao <[email protected]>
Signed-off-by: huabing zhao <[email protected]>
Signed-off-by: huabing zhao <[email protected]>
Signed-off-by: huabing zhao <[email protected]>
Signed-off-by: huabing zhao <[email protected]>
@zhaohuabing zhaohuabing merged commit 8b98106 into master Jul 30, 2023
19 checks passed
dubborulepb "github.com/aeraki-mesh/aeraki/api/dubbo/v1alpha1"
dubboapi "github.com/aeraki-mesh/aeraki/client-go/pkg/apis/dubbo/v1alpha1"
dubboclient "github.com/aeraki-mesh/aeraki/client-go/pkg/clientset/versioned/typed/dubbo/v1alpha1"
dubborulepb "github.com/aeraki-mesh/api/dubbo/v1alpha1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些包的导入顺序建议按照
golang 内置包、第三方依赖、项目依赖包顺序,其他的也同理。

google.golang.org/protobuf v1.30.0
istio.io/api v1.19.0-alpha.1
istio.io/client-go v1.18.1
istio.io/gogo-genproto v0.0.0-20230705213215-8f59b5a7ddde
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我们还使用 istio.io/gogo-genproto 这个包?我看 istio 现在不依赖这个包了。

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used in api, which is deprecated.

golang.org/x/sync v0.3.0
google.golang.org/grpc v1.54.0
google.golang.org/protobuf v1.30.0
istio.io/api v1.19.0-alpha.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

istio.io/api 建议使用 istio 1.16.x 版本,目前 istio 最新的 tag 版本是 1.16.7 .

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review. I'll address these comments in another PR.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This import is generated by go tidy, and has been replaced by 1.16.7

replace istio.io/api => istio.io/api v0.0.0-20230518153929-d0aebaa77ab8

@tanjunchen tanjunchen mentioned this pull request Jul 30, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants