Skip to content

Commit 5a7434b

Browse files
danzh2010phlax
authored andcommitted
googleurl: change repo (#42185)
switch to https://github.com/google/gurl from https://quiche.googlesource.com/googleurl. the old .tar host https://storage.googleapis.com/quiche-envoy-integration/ will be turned down very soon. Signed-off-by: Dan Zhang <danzh@google.com> Signed-off-by: Faseela K <faseela.k@est.tech>
1 parent 809213a commit 5a7434b

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

bazel/external/quiche.BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4731,7 +4731,7 @@ envoy_quiche_platform_impl_cc_library(
47314731
"quiche/common/platform/default/quiche_platform_impl/quiche_googleurl_impl.h",
47324732
],
47334733
deps = [
4734-
"@com_googlesource_googleurl//url",
4734+
"@googleurl//url",
47354735
],
47364736
)
47374737

bazel/repositories.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def envoy_dependencies(skip_targets = []):
194194
_simdutf()
195195
_intel_ittapi()
196196
_com_github_google_quiche()
197-
_com_googlesource_googleurl()
197+
_googleurl()
198198
_io_hyperscan()
199199
_io_vectorscan()
200200
_io_opentelemetry_api_cpp()
@@ -804,9 +804,9 @@ def _com_github_google_quiche():
804804
build_file = "@envoy//bazel/external:quiche.BUILD",
805805
)
806806

807-
def _com_googlesource_googleurl():
807+
def _googleurl():
808808
external_http_archive(
809-
name = "com_googlesource_googleurl",
809+
name = "googleurl",
810810
patches = ["@envoy//bazel/external:googleurl.patch"],
811811
patch_args = ["-p1"],
812812
)

bazel/repository_locations.bzl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,20 +1287,20 @@ REPOSITORY_LOCATIONS_SPEC = dict(
12871287
license = "BSD-3-Clause",
12881288
license_url = "https://github.com/google/quiche/blob/{version}/LICENSE",
12891289
),
1290-
com_googlesource_googleurl = dict(
1290+
googleurl = dict(
12911291
project_name = "Chrome URL parsing library",
12921292
project_desc = "Chrome URL parsing library",
1293-
project_url = "https://quiche.googlesource.com/googleurl",
1293+
project_url = "https://github.com/google/gurl",
12941294
version = "dd4080fec0b443296c0ed0036e1e776df8813aa7",
1295-
sha256 = "fc694942e8a7491dcc1dde1bddf48a31370a1f46fef862bc17acf07c34dc6325",
1296-
# Static snapshot of https://quiche.googlesource.com/googleurl/+archive/dd4080fec0b443296c0ed0036e1e776df8813aa7.tar.gz
1297-
urls = ["https://storage.googleapis.com/quiche-envoy-integration/{version}.tar.gz"],
1295+
sha256 = "4ffa45a827646692e7b26e2a8c0dcbc1b1763a26def2fbbd82362970962a2fcf",
1296+
urls = ["https://github.com/google/gurl/archive/{version}.tar.gz"],
1297+
strip_prefix = "gurl-{version}",
12981298
use_category = ["controlplane", "dataplane_core"],
12991299
extensions = [],
13001300
release_date = "2022-11-03",
13011301
cpe = "N/A",
1302-
license = "googleurl",
1303-
license_url = "https://quiche.googlesource.com/googleurl/+/{version}/LICENSE",
1302+
license = "BSD-3-Clause",
1303+
license_url = "https://github.com/google/gurl/blob/{version}/LICENSE",
13041304
),
13051305
com_google_cel_spec = dict(
13061306
project_name = "Common Expression Language (CEL) spec",

source/common/http/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ envoy_cc_library(
599599
"//source/common/common:logger_lib",
600600
"//source/common/runtime:runtime_features_lib",
601601
"@com_google_absl//absl/types:optional",
602-
"@com_googlesource_googleurl//url",
602+
"@googleurl//url",
603603
],
604604
)
605605

0 commit comments

Comments
 (0)