Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 87fb900

Browse files
authored
dev: update ctags in bazel to 6.0.0 (#57889)
1 parent 9e1622f commit 87fb900

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

dev/tool_deps.bzl

+12-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file"
22

33
DOCSITE_VERSION = "1.9.4"
44
SRC_CLI_VERSION = "5.1.0"
5-
CTAGS_VERSION = "5.9.20220403.0"
5+
CTAGS_VERSION = "6.0.0.2783f009"
66

77
SRC_CLI_BUILDFILE = """
88
filegroup(
@@ -57,24 +57,28 @@ def tool_deps():
5757
url = "https://github.com/sourcegraph/src-cli/releases/download/{0}/src-cli_{0}_darwin_arm64.tar.gz".format(SRC_CLI_VERSION),
5858
)
5959

60-
# universal-ctags #
60+
# universal-ctags
61+
#
62+
# Two step process to update these. First land a commit in main updating
63+
# the version in dev/nix/ctags.nix. Then copy the hashes from
64+
# https://github.com/sourcegraph/sourcegraph/actions/workflows/universal-ctags.yml
6165
http_file(
6266
name = "universal-ctags-darwin-amd64",
63-
sha256 = "b69501d497b62021e8438e840e0bea62fdbe91d60cf8375c388f2736cd58a1bf",
64-
url = "https://storage.googleapis.com/universal_ctags/x86_64-darwin/bin/universal-ctags-{0}".format(CTAGS_VERSION),
67+
sha256 = "7aead221c07d8092a0cbfad6e69ae526292e405bbe2f06d38d346969e23a6f68",
68+
url = "https://storage.googleapis.com/universal_ctags/x86_64-darwin/dist/universal-ctags-{0}".format(CTAGS_VERSION),
6569
executable = True,
6670
)
6771

6872
http_file(
6973
name = "universal-ctags-darwin-arm64",
70-
sha256 = "6631f0bbd65cdedc155fcd9e17c8c31102aeffc78e2438799d4fb43297c5d473",
71-
url = "https://storage.googleapis.com/universal_ctags/aarch64-darwin/bin/universal-ctags-{0}".format(CTAGS_VERSION),
74+
sha256 = "ac4a73b69042c60e68f80f8819d5c6b05e233386042ba867205a252046d6471e",
75+
url = "https://storage.googleapis.com/universal_ctags/aarch64-darwin/dist/universal-ctags-{0}".format(CTAGS_VERSION),
7276
executable = True,
7377
)
7478

7579
http_file(
7680
name = "universal-ctags-linux-amd64",
77-
sha256 = "1d349d15736a30c9cc18c1fd9efbfc6081fb59125d799b84cef6b34c735fa28a",
78-
url = "https://storage.googleapis.com/universal_ctags/x86_64-linux/bin/universal-ctags-{0}".format(CTAGS_VERSION),
81+
sha256 = "e99b942754ce9d55c9445513236c010753d26decbb38ed932780bec098ac0809",
82+
url = "https://storage.googleapis.com/universal_ctags/x86_64-linux/dist/universal-ctags-{0}".format(CTAGS_VERSION),
7983
executable = True,
8084
)

0 commit comments

Comments
 (0)