- Notifications
You must be signed in to change notification settings - Fork3
chore: add mutagen gRPC client#111
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ethanndickson commentedMar 13, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
This stack of pull requests is managed byGraphite. Learn more aboutstacking. |
c7e529d
to008f582
Comparemutagen_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. |
ethanndicksonMar 13, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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 ofmake 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
toe8e4004
Compare008f582
tob7a0a77
Compareb7a0a77
to26c3593
CompareThere 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
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
ThomasK33 left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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 runmake 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
to1f5dd2e
Compareethanndickson commentedMar 18, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
0550ad1
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Closescoder/internal#379
Much like incoder/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.