-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore: add mutagen gRPC client #111
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
c7e529d
to
008f582
Compare
mutagen_tag="$1" | ||
|
||
# TODO: Change this to `coder/mutagen` once we add a version tag there | ||
repo="mutagen-io/mutagen" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same deal as on the Windows repo, I'll make a follow-up once we have a tag.
|
||
# This script vendors the Mutagen proto files from a tag on a Mutagen GitHub repo. | ||
# It is very similar to `Update-Proto.ps1` on `coder/coder-desktop-windows`. | ||
# It's very unlikely that we'll use this script regularly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In saying that, we could not commit any part of this SDK to the repo, and just generate them as part of make setup
? I'm not sure which I'd prefer.
The Windows repo commits the .proto
files (but the C# compiler can handle them at compile time), and we already commit .pb.swift
files here for the VPN protocol.
8bc8be7
to
e8e4004
Compare
008f582
to
b7a0a77
Compare
b7a0a77
to
26c3593
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine that you're committing them all to the repo. Your call on what to do though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Vendoring the protos is up to you.
Since one has to run make setup
anyway to get an Xcode project, it's more of a question of personal preference whether you want it to be checked in or not.
31aeac0
to
1f5dd2e
Compare
Closes coder/internal#379
Much like in coder/coder-desktop-windows#48, this PR adds
mutagen-proto.sh
which finds all required files, followingimport
s.Right now, we use this client to stop the daemon over gRPC.