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

WIP: update starlink-grpc-go protos, fix build. #3

Closed
wants to merge 1 commit into from

Conversation

cpu
Copy link

@cpu cpu commented Jan 18, 2022

The project fails to build with the current go.mod/go.sum version for the starlink-grpc-go dependency (see #1). This can be side-stepped by pointing at the right commit of starlink-community/starlink-grpc-go, however it introduces a new challenge:

Running a router w/ 2022.01.0.mr8624-prod and a dish w/ 992cafb5-61c7-46a3-9ef7-5907c8cf90fd.uterm.release the starlink-community/starlink-grpc-go generated protobuf types result in incomplete output with "unknown bytes".

This PR fixes the build and the incomplete information by temporarily using a fork of starlink-grpc-go with updated generated protos. Once the upstream project has merged the updated protos (see starlink-community/starlink-grpc-go#1) the replace directive to use the fork can be removed and this PR merged.

In the meantime with this branch and its replace directive in place I was able to fetch complete information for the software versions on my dish/router with the CLI tool.

The project also fails to build with the current `go.mod`/`go.sum`
version for this dependency (see the associated issue[0]). This can be
side-stepped by pointing at the right commit of
`starlink-community/starlink-grpc-go`, however it introduces a new
challenge:

Running a router w/ `2022.01.0.mr8624-prod` and a dish w/
`992cafb5-61c7-46a3-9ef7-5907c8cf90fd.uterm.release` the
`starlink-community/starlink-grpc-go` generated protobuf types result in
incomplete output with "unknown bytes".

This PR fixes the build and the incomplete information by temporarily
using a fork of `starlink-grpc-go` with updated generated protos. Once
the upstream project has merged the updated protos the `replace`
directive to use the fork can be removed.

With this branch in place I was able to fetch complete information for
the software versions on my dish/router.

[0]: starlink-community#1
mgrouch added a commit to bareboat-necessities/starlink-cli that referenced this pull request Sep 12, 2022
@cpu cpu closed this Aug 16, 2023
stepga pushed a commit to stepga/starlink-cli that referenced this pull request Nov 5, 2024
After picking the pull request [0], go mod tidy has been applied

[0] starlink-community#3
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.

1 participant