Skip to content

Move sonic-dash-api-proto to sonic-dash-api#45

Draft
yue-fred-gao wants to merge 3 commits intosonic-net:masterfrom
yue-fred-gao:add_rust_crate
Draft

Move sonic-dash-api-proto to sonic-dash-api#45
yue-fred-gao wants to merge 3 commits intosonic-net:masterfrom
yue-fred-gao:add_rust_crate

Conversation

@yue-fred-gao
Copy link

why

currently, sonic-dash-ha adds sonic-dash-api as submodule to compile protos into rust structs. At the same time, both are submodules in sonic-buildimage. This creates unnecessary dependency and complexity. The solution is moving sonic-dash-api-proto crate into sonic-dash-api. sonic-dash-ha adds sonic-dash-api-proto as a dependent crate. At build time, it pulls the crate through git and the latter compiles protos on demand. This is similar to swss-common crate to sonic-dash-ha.

what this PR does

Move sonic-dash-api-proto crate to sonic-dash-api repo.
Note: this PR depends on sonic-net/sonic-swss-common#1077

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@KrisNey-MSFT
Copy link

hi @yue-fred-gao - do we need a reviewer for this one, or is it stale? TY!

@yue-fred-gao
Copy link
Author

hi @yue-fred-gao - do we need a reviewer for this one, or is it stale? TY!

It is kind of stale. Qi doesn't agree with PR sonic-net/sonic-swss-common#1077. So we might have it keep it as is

@KrisNey-MSFT
Copy link

hi @yue-fred-gao - do we need a reviewer for this one, or is it stale? TY!

It is kind of stale. Qi doesn't agree with PR sonic-net/sonic-swss-common#1077. So we might have it keep it as is

Thanks! Do you think we should close it, or keep it in Draft for some time?

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.

3 participants