Skip to content

Commit

Permalink
zetasql: go.lsp.dev is down, use github mirror instead
Browse files Browse the repository at this point in the history
See: google/zetasql#157

Signed-off-by: dann frazier <[email protected]>
  • Loading branch information
dannf committed Jan 23, 2025
1 parent bcced8e commit 8f77e97
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zetasql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pipeline:

- uses: patch
with:
patches: multi-arch-for-linux.patch no-llvm-deps.patch
patches: multi-arch-for-linux.patch no-llvm-deps.patch dev_lsp-to-github.patch

- runs: |
cd zetasql
Expand Down
34 changes: 34 additions & 0 deletions zetasql/dev_lsp-to-github.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
diff --git a/bazel/zetasql_deps_step_2.bzl b/bazel/zetasql_deps_step_2.bzl
index 2b6b01fa..ff8eb93d 100644
--- a/bazel/zetasql_deps_step_2.bzl
+++ b/bazel/zetasql_deps_step_2.bzl
@@ -48,21 +48,29 @@ def textmapper_dependencies():
name = "dev_lsp_go_jsonrpc2",
importpath = "go.lsp.dev/jsonrpc2",
commit = "8c68d4fd37cd4bd06b62b3243f0d2292c681d164",
+ remote = "https://github.com/go-language-server/jsonrpc2",
+ vcs = "git",
)
go_repository(
name = "dev_lsp_go_protocol",
importpath = "go.lsp.dev/protocol",
commit = "da30f9ae0326cc45b76adc5cd8920ac1ffa14a15",
+ remote = "https://github.com/go-language-server/protocol",
+ vcs = "git",
)
go_repository(
name = "dev_lsp_go_uri",
importpath = "go.lsp.dev/uri",
commit = "63eaac75cc850f596be19073ff6d4ec198603779",
+ remote = "https://github.com/go-language-server/uri",
+ vcs = "git",
)
go_repository(
name = "dev_lsp_go_pkg",
importpath = "go.lsp.dev/pkg",
commit = "384b27a52fb2b5d74d78cfe89c7738e9a3e216a5",
+ remote = "https://github.com/go-language-server/pkg",
+ vcs = "git",
)
go_repository(
name = "org_uber_go_zap",

0 comments on commit 8f77e97

Please sign in to comment.