m/c/metroctl: add skeleton and dependencies
This adds the skeleton for the Metropolis control command line,
metroctl. It currently consists of a single root command doing nothing
and the dependency updates for viper, the library providing command
line parsing and completion support.
Actual functionality will be in subsequent CLs.
Change-Id: I73d0e2956d9550902a80295928e94cb32bb12cfc
Reviewed-on: https://review.monogon.dev/c/monogon/+/337
Reviewed-by: Sergiusz Bazanski <serge@monogon.tech>
diff --git a/third_party/go/repositories.bzl b/third_party/go/repositories.bzl
index 5778b9c..c134586 100644
--- a/third_party/go/repositories.bzl
+++ b/third_party/go/repositories.bzl
@@ -1928,8 +1928,8 @@
go_repository(
name = "com_github_spf13_cobra",
importpath = "github.com/spf13/cobra",
- version = "v1.0.0",
- sum = "h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8=",
+ version = "v1.2.1",
+ sum = "h1:+KmjbUw1hriSNMF55oPrkZcb27aECyrj8V2ytv7kWDw=",
build_extra_args = [
"-go_naming_convention=go_default_library",
"-go_naming_convention_external=go_default_library",
@@ -1958,8 +1958,8 @@
go_repository(
name = "com_github_spf13_viper",
importpath = "github.com/spf13/viper",
- version = "v1.4.0",
- sum = "h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU=",
+ version = "v1.9.0",
+ sum = "h1:yR6EXjTp0y0cLN8OZg1CRZmOBdI88UcGkhgyJhu6nZk=",
build_extra_args = [
"-go_naming_convention=go_default_library",
"-go_naming_convention_external=go_default_library",
@@ -1976,6 +1976,16 @@
],
)
go_repository(
+ name = "com_github_subosito_gotenv",
+ importpath = "github.com/subosito/gotenv",
+ version = "v1.2.0",
+ sum = "h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=",
+ build_extra_args = [
+ "-go_naming_convention=go_default_library",
+ "-go_naming_convention_external=go_default_library",
+ ],
+ )
+ go_repository(
name = "com_github_syndtr_gocapability",
importpath = "github.com/syndtr/gocapability",
version = "v0.0.0-20180916011248-d98352740cb2",
@@ -2330,6 +2340,16 @@
],
)
go_repository(
+ name = "in_gopkg_ini_v1",
+ importpath = "gopkg.in/ini.v1",
+ version = "v1.63.2",
+ sum = "h1:tGK/CyBg7SMzb60vP1M03vNZ3VDu3wGQJwn7Sxi9r3c=",
+ build_extra_args = [
+ "-go_naming_convention=go_default_library",
+ "-go_naming_convention_external=go_default_library",
+ ],
+ )
+ go_repository(
name = "in_gopkg_natefinch_lumberjack_v2",
importpath = "gopkg.in/natefinch/lumberjack.v2",
version = "v2.0.0",