-
Notifications
You must be signed in to change notification settings - Fork 10
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
Language plugins #2785
Language plugins #2785
Conversation
# Conflicts: # Justfile # frontend/cli/cmd_box.go # frontend/cli/cmd_box_run.go # frontend/cli/cmd_build.go # frontend/cli/cmd_deploy.go # frontend/cli/cmd_dev.go # frontend/cli/cmd_serve.go # go-runtime/compile/build.go # internal/bind/bind_allocator.go # internal/buildengine/build.go # internal/buildengine/build_go.go # internal/buildengine/engine.go
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.
Maybe separate the PosFromProto change from everything else? It touches a lot of files.
shopt -s extglob | ||
|
||
if [ "${FTL_DEBUG:-}" = "true" ]; then | ||
go build -o "{{RELEASE}}/ftl-language-go" -tags release -gcflags=all="-N -l" -ldflags "-X github.com/TBD54566975/ftl.Version={{VERSION}} -X github.com/TBD54566975/ftl.Timestamp={{TIMESTAMP}}" "./go-runtime/plugin" |
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.
Let's name go-runtime/plugin
-> go-runtime/cmd/ftl-language-go
so it's more idiomatic.
message Pair { | ||
string key = 1; | ||
string value = 2; | ||
} | ||
// Universal metadata | ||
string name = 1; | ||
|
||
// Language metadata contains any metadata specific to a specific language. | ||
repeated Pair LanguageMetadata = 2; |
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'm not sure what's going into this or where it's ending up, but we should probably be using google.protobuf.Any instead of a bag of values.
👍 will do. I think this PR will need to be split up more regardless... it's pretty hairy atm |
Very early (and messy) WIP...