mirror of https://gerrit.hackerspace.pl/hscloud
third_party/go: move some repositories from WORKSPACE
Change-Id: Icc23c741512d148c9b3dfb19c52b205d4c0150bdchanges/12/1012/1
parent
139bf5e5bf
commit
50e987cb68
30
WORKSPACE
30
WORKSPACE
|
@ -20,6 +20,7 @@ protobuf_deps()
|
|||
|
||||
# Force rules_python at a bleeding edge version (for setuptools >44).
|
||||
rules_python_version = "929d5a13d4eb1b930086d9353fc6f2d6ad306e43"
|
||||
|
||||
http_archive(
|
||||
name = "rules_python",
|
||||
strip_prefix = "rules_python-{}".format(rules_python_version),
|
||||
|
@ -49,15 +50,19 @@ http_archive(
|
|||
# Python rules
|
||||
# Important: rules_python must be loaded before protobuf (and grpc) because they load an older version otherwise
|
||||
load("@rules_python//python:pip.bzl", "pip_parse")
|
||||
|
||||
pip_parse(
|
||||
name = "pydeps",
|
||||
requirements_lock = "//third_party/py:requirements.txt",
|
||||
)
|
||||
|
||||
load("@pydeps//:requirements.bzl", "install_deps")
|
||||
|
||||
install_deps()
|
||||
|
||||
# Setup Go toolchain.
|
||||
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains")
|
||||
|
||||
go_register_toolchains()
|
||||
|
||||
# IMPORTANT: match protobuf version above with the one loaded by grpc
|
||||
|
@ -155,6 +160,7 @@ load("@com_googlesource_gerrit_bazlets//:gerrit_api.bzl", "gerrit_api")
|
|||
gerrit_api()
|
||||
|
||||
load("//devtools/gerrit/gerrit-oauth-provider:external_plugin_deps.bzl", gerrit_oauth_deps = "external_plugin_deps")
|
||||
|
||||
gerrit_oauth_deps(omit_commons_codec = False)
|
||||
|
||||
# Gerrit 3.3.2 built by q3k, backported with fix for 'empty reviewers column' bug.
|
||||
|
@ -238,7 +244,9 @@ git_repository(
|
|||
commit = "17817c9e319073c03513f9d5177b6142b8fd567b",
|
||||
shallow_since = "1593642470 +0200",
|
||||
)
|
||||
|
||||
load("@com_googlesource_gerrit_plugin_owners//:external_plugin_deps_standalone.bzl", gerrit_owners_deps = "external_plugin_deps_standalone")
|
||||
|
||||
gerrit_owners_deps()
|
||||
|
||||
# Go image repos for Docker
|
||||
|
@ -290,22 +298,8 @@ filegroup(
|
|||
)
|
||||
|
||||
go_repository(
|
||||
name = "com_github_gorilla_sessions",
|
||||
importpath = "github.com/gorilla/sessions",
|
||||
sum = "h1:DHd3rPN5lE3Ts3D8rKkQ8x/0kqfeNmBAaiSi+o7FsgI=",
|
||||
version = "v1.2.1",
|
||||
)
|
||||
|
||||
go_repository(
|
||||
name = "com_github_boltdb_bolt",
|
||||
importpath = "github.com/boltdb/bolt",
|
||||
sum = "h1:JQmyP4ZBrce+ZQu0dY660FMfatumYDLun9hBCUVIkF4=",
|
||||
version = "v1.3.1",
|
||||
)
|
||||
|
||||
go_repository(
|
||||
name = "com_github_gorilla_securecookie",
|
||||
importpath = "github.com/gorilla/securecookie",
|
||||
sum = "h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ=",
|
||||
version = "v1.1.1",
|
||||
name = "com_github_arran4_golang_ical",
|
||||
importpath = "github.com/arran4/golang-ical",
|
||||
sum = "h1:oOgavmDMGCnNtwZwNoXuK3jCcpF3I96Do9/5qPeSCr8=",
|
||||
version = "v0.0.0-20210601225245-48fd351b08e7",
|
||||
)
|
||||
|
|
|
@ -1826,3 +1826,21 @@ def go_repositories():
|
|||
sum = "h1:mhH9Nq+C1fY2l1XIpgxIiUOfNpRBYH1kKcr+qfKgjRc=",
|
||||
version = "v1.2.1",
|
||||
)
|
||||
go_repository(
|
||||
name = "com_github_gorilla_sessions",
|
||||
importpath = "github.com/gorilla/sessions",
|
||||
sum = "h1:DHd3rPN5lE3Ts3D8rKkQ8x/0kqfeNmBAaiSi+o7FsgI=",
|
||||
version = "v1.2.1",
|
||||
)
|
||||
go_repository(
|
||||
name = "com_github_boltdb_bolt",
|
||||
importpath = "github.com/boltdb/bolt",
|
||||
sum = "h1:JQmyP4ZBrce+ZQu0dY660FMfatumYDLun9hBCUVIkF4=",
|
||||
version = "v1.3.1",
|
||||
)
|
||||
go_repository(
|
||||
name = "com_github_gorilla_securecookie",
|
||||
importpath = "github.com/gorilla/securecookie",
|
||||
sum = "h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ=",
|
||||
version = "v1.1.1",
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue