From d970d3e9def537b64baa6e90b09db6e30303e92c Mon Sep 17 00:00:00 2001 From: Trey Ivy Date: Fri, 27 Sep 2024 20:14:36 +0000 Subject: [PATCH] run gazelle --- ent/gen/ent/BUILD.bazel | 206 ++++++++++++++++++ ent/gen/ent/actioncachestatistics/BUILD.bazel | 16 ++ ent/gen/ent/actiondata/BUILD.bazel | 16 ++ ent/gen/ent/actionsummary/BUILD.bazel | 16 ++ ent/gen/ent/artifactmetrics/BUILD.bazel | 16 ++ ent/gen/ent/buildgraphmetrics/BUILD.bazel | 16 ++ ent/gen/ent/cumulativemetrics/BUILD.bazel | 16 ++ .../ent/dynamicexecutionmetrics/BUILD.bazel | 16 ++ ent/gen/ent/evaluationstat/BUILD.bazel | 16 ++ ent/gen/ent/exectioninfo/BUILD.bazel | 16 ++ ent/gen/ent/filesmetric/BUILD.bazel | 16 ++ ent/gen/ent/garbagemetrics/BUILD.bazel | 16 ++ ent/gen/ent/memorymetrics/BUILD.bazel | 16 ++ ent/gen/ent/metrics/BUILD.bazel | 16 ++ ent/gen/ent/missdetail/BUILD.bazel | 16 ++ ent/gen/ent/namedsetoffiles/BUILD.bazel | 16 ++ ent/gen/ent/networkmetrics/BUILD.bazel | 16 ++ ent/gen/ent/outputgroup/BUILD.bazel | 16 ++ ent/gen/ent/packageloadmetrics/BUILD.bazel | 16 ++ ent/gen/ent/packagemetrics/BUILD.bazel | 16 ++ ent/gen/ent/racestatistics/BUILD.bazel | 16 ++ ent/gen/ent/resourceusage/BUILD.bazel | 16 ++ ent/gen/ent/runnercount/BUILD.bazel | 16 ++ ent/gen/ent/systemnetworkstats/BUILD.bazel | 16 ++ ent/gen/ent/targetcomplete/BUILD.bazel | 16 ++ ent/gen/ent/targetconfigured/BUILD.bazel | 16 ++ ent/gen/ent/targetmetrics/BUILD.bazel | 16 ++ ent/gen/ent/targetpair/BUILD.bazel | 16 ++ ent/gen/ent/testcollection/BUILD.bazel | 16 ++ ent/gen/ent/testfile/BUILD.bazel | 16 ++ ent/gen/ent/testresultbes/BUILD.bazel | 16 ++ ent/gen/ent/testsummary/BUILD.bazel | 16 ++ ent/gen/ent/timingbreakdown/BUILD.bazel | 16 ++ ent/gen/ent/timingchild/BUILD.bazel | 16 ++ ent/gen/ent/timingmetrics/BUILD.bazel | 16 ++ ent/schema/BUILD.bazel | 34 +++ go.mod | 2 +- go.sum | 39 ++-- internal/graphql/BUILD.bazel | 7 + pkg/processing/BUILD.bazel | 7 + 40 files changed, 818 insertions(+), 21 deletions(-) create mode 100644 ent/gen/ent/actioncachestatistics/BUILD.bazel create mode 100644 ent/gen/ent/actiondata/BUILD.bazel create mode 100644 ent/gen/ent/actionsummary/BUILD.bazel create mode 100644 ent/gen/ent/artifactmetrics/BUILD.bazel create mode 100644 ent/gen/ent/buildgraphmetrics/BUILD.bazel create mode 100644 ent/gen/ent/cumulativemetrics/BUILD.bazel create mode 100644 ent/gen/ent/dynamicexecutionmetrics/BUILD.bazel create mode 100644 ent/gen/ent/evaluationstat/BUILD.bazel create mode 100644 ent/gen/ent/exectioninfo/BUILD.bazel create mode 100644 ent/gen/ent/filesmetric/BUILD.bazel create mode 100644 ent/gen/ent/garbagemetrics/BUILD.bazel create mode 100644 ent/gen/ent/memorymetrics/BUILD.bazel create mode 100644 ent/gen/ent/metrics/BUILD.bazel create mode 100644 ent/gen/ent/missdetail/BUILD.bazel create mode 100644 ent/gen/ent/namedsetoffiles/BUILD.bazel create mode 100644 ent/gen/ent/networkmetrics/BUILD.bazel create mode 100644 ent/gen/ent/outputgroup/BUILD.bazel create mode 100644 ent/gen/ent/packageloadmetrics/BUILD.bazel create mode 100644 ent/gen/ent/packagemetrics/BUILD.bazel create mode 100644 ent/gen/ent/racestatistics/BUILD.bazel create mode 100644 ent/gen/ent/resourceusage/BUILD.bazel create mode 100644 ent/gen/ent/runnercount/BUILD.bazel create mode 100644 ent/gen/ent/systemnetworkstats/BUILD.bazel create mode 100644 ent/gen/ent/targetcomplete/BUILD.bazel create mode 100644 ent/gen/ent/targetconfigured/BUILD.bazel create mode 100644 ent/gen/ent/targetmetrics/BUILD.bazel create mode 100644 ent/gen/ent/targetpair/BUILD.bazel create mode 100644 ent/gen/ent/testcollection/BUILD.bazel create mode 100644 ent/gen/ent/testfile/BUILD.bazel create mode 100644 ent/gen/ent/testresultbes/BUILD.bazel create mode 100644 ent/gen/ent/testsummary/BUILD.bazel create mode 100644 ent/gen/ent/timingbreakdown/BUILD.bazel create mode 100644 ent/gen/ent/timingchild/BUILD.bazel create mode 100644 ent/gen/ent/timingmetrics/BUILD.bazel diff --git a/ent/gen/ent/BUILD.bazel b/ent/gen/ent/BUILD.bazel index 7470385..6e13666 100644 --- a/ent/gen/ent/BUILD.bazel +++ b/ent/gen/ent/BUILD.bazel @@ -3,6 +3,26 @@ load("@rules_go//go:def.bzl", "go_library") go_library( name = "ent", srcs = [ + "actioncachestatistics.go", + "actioncachestatistics_create.go", + "actioncachestatistics_delete.go", + "actioncachestatistics_query.go", + "actioncachestatistics_update.go", + "actiondata.go", + "actiondata_create.go", + "actiondata_delete.go", + "actiondata_query.go", + "actiondata_update.go", + "actionsummary.go", + "actionsummary_create.go", + "actionsummary_delete.go", + "actionsummary_query.go", + "actionsummary_update.go", + "artifactmetrics.go", + "artifactmetrics_create.go", + "artifactmetrics_delete.go", + "artifactmetrics_query.go", + "artifactmetrics_update.go", "bazelinvocation.go", "bazelinvocation_create.go", "bazelinvocation_delete.go", @@ -23,33 +43,219 @@ go_library( "build_delete.go", "build_query.go", "build_update.go", + "buildgraphmetrics.go", + "buildgraphmetrics_create.go", + "buildgraphmetrics_delete.go", + "buildgraphmetrics_query.go", + "buildgraphmetrics_update.go", "client.go", + "cumulativemetrics.go", + "cumulativemetrics_create.go", + "cumulativemetrics_delete.go", + "cumulativemetrics_query.go", + "cumulativemetrics_update.go", + "dynamicexecutionmetrics.go", + "dynamicexecutionmetrics_create.go", + "dynamicexecutionmetrics_delete.go", + "dynamicexecutionmetrics_query.go", + "dynamicexecutionmetrics_update.go", "ent.go", + "entviz.go", + "evaluationstat.go", + "evaluationstat_create.go", + "evaluationstat_delete.go", + "evaluationstat_query.go", + "evaluationstat_update.go", "eventfile.go", "eventfile_create.go", "eventfile_delete.go", "eventfile_query.go", "eventfile_update.go", + "exectioninfo.go", + "exectioninfo_create.go", + "exectioninfo_delete.go", + "exectioninfo_query.go", + "exectioninfo_update.go", + "filesmetric.go", + "filesmetric_create.go", + "filesmetric_delete.go", + "filesmetric_query.go", + "filesmetric_update.go", + "garbagemetrics.go", + "garbagemetrics_create.go", + "garbagemetrics_delete.go", + "garbagemetrics_query.go", + "garbagemetrics_update.go", "gql_collection.go", "gql_edge.go", "gql_node.go", "gql_pagination.go", "gql_transaction.go", "gql_where_input.go", + "memorymetrics.go", + "memorymetrics_create.go", + "memorymetrics_delete.go", + "memorymetrics_query.go", + "memorymetrics_update.go", + "metrics.go", + "metrics_create.go", + "metrics_delete.go", + "metrics_query.go", + "metrics_update.go", + "missdetail.go", + "missdetail_create.go", + "missdetail_delete.go", + "missdetail_query.go", + "missdetail_update.go", "mutation.go", + "namedsetoffiles.go", + "namedsetoffiles_create.go", + "namedsetoffiles_delete.go", + "namedsetoffiles_query.go", + "namedsetoffiles_update.go", + "networkmetrics.go", + "networkmetrics_create.go", + "networkmetrics_delete.go", + "networkmetrics_query.go", + "networkmetrics_update.go", + "outputgroup.go", + "outputgroup_create.go", + "outputgroup_delete.go", + "outputgroup_query.go", + "outputgroup_update.go", + "packageloadmetrics.go", + "packageloadmetrics_create.go", + "packageloadmetrics_delete.go", + "packageloadmetrics_query.go", + "packageloadmetrics_update.go", + "packagemetrics.go", + "packagemetrics_create.go", + "packagemetrics_delete.go", + "packagemetrics_query.go", + "packagemetrics_update.go", + "racestatistics.go", + "racestatistics_create.go", + "racestatistics_delete.go", + "racestatistics_query.go", + "racestatistics_update.go", + "resourceusage.go", + "resourceusage_create.go", + "resourceusage_delete.go", + "resourceusage_query.go", + "resourceusage_update.go", + "runnercount.go", + "runnercount_create.go", + "runnercount_delete.go", + "runnercount_query.go", + "runnercount_update.go", "runtime.go", + "systemnetworkstats.go", + "systemnetworkstats_create.go", + "systemnetworkstats_delete.go", + "systemnetworkstats_query.go", + "systemnetworkstats_update.go", + "targetcomplete.go", + "targetcomplete_create.go", + "targetcomplete_delete.go", + "targetcomplete_query.go", + "targetcomplete_update.go", + "targetconfigured.go", + "targetconfigured_create.go", + "targetconfigured_delete.go", + "targetconfigured_query.go", + "targetconfigured_update.go", + "targetmetrics.go", + "targetmetrics_create.go", + "targetmetrics_delete.go", + "targetmetrics_query.go", + "targetmetrics_update.go", + "targetpair.go", + "targetpair_create.go", + "targetpair_delete.go", + "targetpair_query.go", + "targetpair_update.go", + "testcollection.go", + "testcollection_create.go", + "testcollection_delete.go", + "testcollection_query.go", + "testcollection_update.go", + "testfile.go", + "testfile_create.go", + "testfile_delete.go", + "testfile_query.go", + "testfile_update.go", + "testresultbes.go", + "testresultbes_create.go", + "testresultbes_delete.go", + "testresultbes_query.go", + "testresultbes_update.go", + "testsummary.go", + "testsummary_create.go", + "testsummary_delete.go", + "testsummary_query.go", + "testsummary_update.go", + "timingbreakdown.go", + "timingbreakdown_create.go", + "timingbreakdown_delete.go", + "timingbreakdown_query.go", + "timingbreakdown_update.go", + "timingchild.go", + "timingchild_create.go", + "timingchild_delete.go", + "timingchild_query.go", + "timingchild_update.go", + "timingmetrics.go", + "timingmetrics_create.go", + "timingmetrics_delete.go", + "timingmetrics_query.go", + "timingmetrics_update.go", "tx.go", ], + embedsrcs = ["schema-viz.html"], importpath = "github.com/buildbarn/bb-portal/ent/gen/ent", visibility = ["//visibility:public"], deps = [ + "//ent/gen/ent/actioncachestatistics", + "//ent/gen/ent/actiondata", + "//ent/gen/ent/actionsummary", + "//ent/gen/ent/artifactmetrics", "//ent/gen/ent/bazelinvocation", "//ent/gen/ent/bazelinvocationproblem", "//ent/gen/ent/blob", "//ent/gen/ent/build", + "//ent/gen/ent/buildgraphmetrics", + "//ent/gen/ent/cumulativemetrics", + "//ent/gen/ent/dynamicexecutionmetrics", + "//ent/gen/ent/evaluationstat", "//ent/gen/ent/eventfile", + "//ent/gen/ent/exectioninfo", + "//ent/gen/ent/filesmetric", + "//ent/gen/ent/garbagemetrics", + "//ent/gen/ent/memorymetrics", + "//ent/gen/ent/metrics", "//ent/gen/ent/migrate", + "//ent/gen/ent/missdetail", + "//ent/gen/ent/namedsetoffiles", + "//ent/gen/ent/networkmetrics", + "//ent/gen/ent/outputgroup", + "//ent/gen/ent/packageloadmetrics", + "//ent/gen/ent/packagemetrics", "//ent/gen/ent/predicate", + "//ent/gen/ent/racestatistics", + "//ent/gen/ent/resourceusage", + "//ent/gen/ent/runnercount", + "//ent/gen/ent/systemnetworkstats", + "//ent/gen/ent/targetcomplete", + "//ent/gen/ent/targetconfigured", + "//ent/gen/ent/targetmetrics", + "//ent/gen/ent/targetpair", + "//ent/gen/ent/testcollection", + "//ent/gen/ent/testfile", + "//ent/gen/ent/testresultbes", + "//ent/gen/ent/testsummary", + "//ent/gen/ent/timingbreakdown", + "//ent/gen/ent/timingchild", + "//ent/gen/ent/timingmetrics", "//ent/schema", "//pkg/summary", "@com_github_99designs_gqlgen//graphql", diff --git a/ent/gen/ent/actioncachestatistics/BUILD.bazel b/ent/gen/ent/actioncachestatistics/BUILD.bazel new file mode 100644 index 0000000..a7c1743 --- /dev/null +++ b/ent/gen/ent/actioncachestatistics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "actioncachestatistics", + srcs = [ + "actioncachestatistics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/actioncachestatistics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/actiondata/BUILD.bazel b/ent/gen/ent/actiondata/BUILD.bazel new file mode 100644 index 0000000..d582ac6 --- /dev/null +++ b/ent/gen/ent/actiondata/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "actiondata", + srcs = [ + "actiondata.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/actiondata", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/actionsummary/BUILD.bazel b/ent/gen/ent/actionsummary/BUILD.bazel new file mode 100644 index 0000000..63af344 --- /dev/null +++ b/ent/gen/ent/actionsummary/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "actionsummary", + srcs = [ + "actionsummary.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/actionsummary", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/artifactmetrics/BUILD.bazel b/ent/gen/ent/artifactmetrics/BUILD.bazel new file mode 100644 index 0000000..f04f1f7 --- /dev/null +++ b/ent/gen/ent/artifactmetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "artifactmetrics", + srcs = [ + "artifactmetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/artifactmetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/buildgraphmetrics/BUILD.bazel b/ent/gen/ent/buildgraphmetrics/BUILD.bazel new file mode 100644 index 0000000..0818d2d --- /dev/null +++ b/ent/gen/ent/buildgraphmetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "buildgraphmetrics", + srcs = [ + "buildgraphmetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/buildgraphmetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/cumulativemetrics/BUILD.bazel b/ent/gen/ent/cumulativemetrics/BUILD.bazel new file mode 100644 index 0000000..7a7df96 --- /dev/null +++ b/ent/gen/ent/cumulativemetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "cumulativemetrics", + srcs = [ + "cumulativemetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/cumulativemetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/dynamicexecutionmetrics/BUILD.bazel b/ent/gen/ent/dynamicexecutionmetrics/BUILD.bazel new file mode 100644 index 0000000..ced57b6 --- /dev/null +++ b/ent/gen/ent/dynamicexecutionmetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "dynamicexecutionmetrics", + srcs = [ + "dynamicexecutionmetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/dynamicexecutionmetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/evaluationstat/BUILD.bazel b/ent/gen/ent/evaluationstat/BUILD.bazel new file mode 100644 index 0000000..b6eb38f --- /dev/null +++ b/ent/gen/ent/evaluationstat/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "evaluationstat", + srcs = [ + "evaluationstat.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/evaluationstat", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/exectioninfo/BUILD.bazel b/ent/gen/ent/exectioninfo/BUILD.bazel new file mode 100644 index 0000000..7ccc3e0 --- /dev/null +++ b/ent/gen/ent/exectioninfo/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "exectioninfo", + srcs = [ + "exectioninfo.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/exectioninfo", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/filesmetric/BUILD.bazel b/ent/gen/ent/filesmetric/BUILD.bazel new file mode 100644 index 0000000..3fe3925 --- /dev/null +++ b/ent/gen/ent/filesmetric/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "filesmetric", + srcs = [ + "filesmetric.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/filesmetric", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/garbagemetrics/BUILD.bazel b/ent/gen/ent/garbagemetrics/BUILD.bazel new file mode 100644 index 0000000..1373d4d --- /dev/null +++ b/ent/gen/ent/garbagemetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "garbagemetrics", + srcs = [ + "garbagemetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/garbagemetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/memorymetrics/BUILD.bazel b/ent/gen/ent/memorymetrics/BUILD.bazel new file mode 100644 index 0000000..e28e4a7 --- /dev/null +++ b/ent/gen/ent/memorymetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "memorymetrics", + srcs = [ + "memorymetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/memorymetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/metrics/BUILD.bazel b/ent/gen/ent/metrics/BUILD.bazel new file mode 100644 index 0000000..f70cdd5 --- /dev/null +++ b/ent/gen/ent/metrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "metrics", + srcs = [ + "metrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/metrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/missdetail/BUILD.bazel b/ent/gen/ent/missdetail/BUILD.bazel new file mode 100644 index 0000000..e8fd77e --- /dev/null +++ b/ent/gen/ent/missdetail/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "missdetail", + srcs = [ + "missdetail.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/missdetail", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/namedsetoffiles/BUILD.bazel b/ent/gen/ent/namedsetoffiles/BUILD.bazel new file mode 100644 index 0000000..2ae4386 --- /dev/null +++ b/ent/gen/ent/namedsetoffiles/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "namedsetoffiles", + srcs = [ + "namedsetoffiles.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/namedsetoffiles", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/networkmetrics/BUILD.bazel b/ent/gen/ent/networkmetrics/BUILD.bazel new file mode 100644 index 0000000..3fd75fe --- /dev/null +++ b/ent/gen/ent/networkmetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "networkmetrics", + srcs = [ + "networkmetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/networkmetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/outputgroup/BUILD.bazel b/ent/gen/ent/outputgroup/BUILD.bazel new file mode 100644 index 0000000..e52a105 --- /dev/null +++ b/ent/gen/ent/outputgroup/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "outputgroup", + srcs = [ + "outputgroup.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/outputgroup", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/packageloadmetrics/BUILD.bazel b/ent/gen/ent/packageloadmetrics/BUILD.bazel new file mode 100644 index 0000000..2add036 --- /dev/null +++ b/ent/gen/ent/packageloadmetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "packageloadmetrics", + srcs = [ + "packageloadmetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/packageloadmetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/packagemetrics/BUILD.bazel b/ent/gen/ent/packagemetrics/BUILD.bazel new file mode 100644 index 0000000..ce90b2a --- /dev/null +++ b/ent/gen/ent/packagemetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "packagemetrics", + srcs = [ + "packagemetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/packagemetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/racestatistics/BUILD.bazel b/ent/gen/ent/racestatistics/BUILD.bazel new file mode 100644 index 0000000..56eeedf --- /dev/null +++ b/ent/gen/ent/racestatistics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "racestatistics", + srcs = [ + "racestatistics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/racestatistics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/resourceusage/BUILD.bazel b/ent/gen/ent/resourceusage/BUILD.bazel new file mode 100644 index 0000000..7176719 --- /dev/null +++ b/ent/gen/ent/resourceusage/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "resourceusage", + srcs = [ + "resourceusage.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/resourceusage", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/runnercount/BUILD.bazel b/ent/gen/ent/runnercount/BUILD.bazel new file mode 100644 index 0000000..a99f47b --- /dev/null +++ b/ent/gen/ent/runnercount/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "runnercount", + srcs = [ + "runnercount.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/runnercount", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/systemnetworkstats/BUILD.bazel b/ent/gen/ent/systemnetworkstats/BUILD.bazel new file mode 100644 index 0000000..1fc9005 --- /dev/null +++ b/ent/gen/ent/systemnetworkstats/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "systemnetworkstats", + srcs = [ + "systemnetworkstats.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/systemnetworkstats", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/targetcomplete/BUILD.bazel b/ent/gen/ent/targetcomplete/BUILD.bazel new file mode 100644 index 0000000..c798e01 --- /dev/null +++ b/ent/gen/ent/targetcomplete/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "targetcomplete", + srcs = [ + "targetcomplete.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/targetcomplete", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/targetconfigured/BUILD.bazel b/ent/gen/ent/targetconfigured/BUILD.bazel new file mode 100644 index 0000000..f015f85 --- /dev/null +++ b/ent/gen/ent/targetconfigured/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "targetconfigured", + srcs = [ + "targetconfigured.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/targetconfigured", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/targetmetrics/BUILD.bazel b/ent/gen/ent/targetmetrics/BUILD.bazel new file mode 100644 index 0000000..aefb96a --- /dev/null +++ b/ent/gen/ent/targetmetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "targetmetrics", + srcs = [ + "targetmetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/targetmetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/targetpair/BUILD.bazel b/ent/gen/ent/targetpair/BUILD.bazel new file mode 100644 index 0000000..cb8f010 --- /dev/null +++ b/ent/gen/ent/targetpair/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "targetpair", + srcs = [ + "targetpair.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/targetpair", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/testcollection/BUILD.bazel b/ent/gen/ent/testcollection/BUILD.bazel new file mode 100644 index 0000000..9d4a842 --- /dev/null +++ b/ent/gen/ent/testcollection/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "testcollection", + srcs = [ + "testcollection.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/testcollection", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/testfile/BUILD.bazel b/ent/gen/ent/testfile/BUILD.bazel new file mode 100644 index 0000000..de5a055 --- /dev/null +++ b/ent/gen/ent/testfile/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "testfile", + srcs = [ + "testfile.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/testfile", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/testresultbes/BUILD.bazel b/ent/gen/ent/testresultbes/BUILD.bazel new file mode 100644 index 0000000..ca40096 --- /dev/null +++ b/ent/gen/ent/testresultbes/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "testresultbes", + srcs = [ + "testresultbes.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/testresultbes", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/testsummary/BUILD.bazel b/ent/gen/ent/testsummary/BUILD.bazel new file mode 100644 index 0000000..307a155 --- /dev/null +++ b/ent/gen/ent/testsummary/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "testsummary", + srcs = [ + "testsummary.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/testsummary", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/timingbreakdown/BUILD.bazel b/ent/gen/ent/timingbreakdown/BUILD.bazel new file mode 100644 index 0000000..d68ad92 --- /dev/null +++ b/ent/gen/ent/timingbreakdown/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "timingbreakdown", + srcs = [ + "timingbreakdown.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/timingbreakdown", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/timingchild/BUILD.bazel b/ent/gen/ent/timingchild/BUILD.bazel new file mode 100644 index 0000000..9abb708 --- /dev/null +++ b/ent/gen/ent/timingchild/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "timingchild", + srcs = [ + "timingchild.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/timingchild", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/gen/ent/timingmetrics/BUILD.bazel b/ent/gen/ent/timingmetrics/BUILD.bazel new file mode 100644 index 0000000..358301a --- /dev/null +++ b/ent/gen/ent/timingmetrics/BUILD.bazel @@ -0,0 +1,16 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "timingmetrics", + srcs = [ + "timingmetrics.go", + "where.go", + ], + importpath = "github.com/buildbarn/bb-portal/ent/gen/ent/timingmetrics", + visibility = ["//visibility:public"], + deps = [ + "//ent/gen/ent/predicate", + "@io_entgo_ent//dialect/sql", + "@io_entgo_ent//dialect/sql/sqlgraph", + ], +) diff --git a/ent/schema/BUILD.bazel b/ent/schema/BUILD.bazel index 79c187f..710a3bc 100644 --- a/ent/schema/BUILD.bazel +++ b/ent/schema/BUILD.bazel @@ -3,11 +3,45 @@ load("@rules_go//go:def.bzl", "go_library") go_library( name = "schema", srcs = [ + "actioncachestatistics.go", + "actiondata.go", + "actionsummary.go", + "artifactmetrics.go", "bazelinvocation.go", "bazelinvocationproblem.go", "blob.go", "build.go", + "buildgraphmetrics.go", + "cumulativemetrics.go", + "dynamicexecutionmetrics.go", + "evaluationstat.go", "eventfile.go", + "executioninfo.go", + "filesmetric.go", + "garbagemetrics.go", + "memorymetrics.go", + "metrics.go", + "missdetail.go", + "namedsetoffiles.go", + "networkmetrics.go", + "outputgroup.go", + "packageloadmetrics.go", + "packagemetrics.go", + "racestatistics.go", + "resourceusage.go", + "runnercount.go", + "systemnetworkstats.go", + "targetcomplete.go", + "targetconfigured.go", + "targetmetrics.go", + "targetpair.go", + "testcollection.go", + "testfile.go", + "testresult.go", + "testsummary.go", + "timingbreakdown.go", + "timingchild.go", + "timingmetrics.go", ], importpath = "github.com/buildbarn/bb-portal/ent/schema", visibility = ["//visibility:public"], diff --git a/go.mod b/go.mod index 7b3d9e0..de0d79f 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ require ( github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.9.0 github.com/vektah/gqlparser/v2 v2.5.11 - golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 + golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 golang.org/x/sync v0.7.0 google.golang.org/api v0.177.0 google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de diff --git a/go.sum b/go.sum index a338212..3086a6d 100644 --- a/go.sum +++ b/go.sum @@ -58,16 +58,16 @@ entgo.io/contrib v0.5.0/go.mod h1:q8dXQCmzqpSlVdT2bWDydjgznGcy3y4zmsYmVFC9V/U= entgo.io/ent v0.10.1/go.mod h1:YPgxeLnoQ/YdpVORRtqjBF+wCy9NX9IR7veTv3Bffus= entgo.io/ent v0.13.1 h1:uD8QwN1h6SNphdCCzmkMN3feSUzNnVvV/WIkHKMbzOE= entgo.io/ent v0.13.1/go.mod h1:qCEmo+biw3ccBn9OyL4ZK5dfpwg++l1Gxwac5B1206A= -github.com/99designs/gqlgen v0.17.49 h1:b3hNGexHd33fBSAd4NDT/c3NCcQzcAVkknhN9ym36YQ= -github.com/99designs/gqlgen v0.17.49/go.mod h1:tC8YFVZMed81x7UJ7ORUwXF4Kn6SXuucFqQBhN8+BU0= +github.com/99designs/gqlgen v0.17.43 h1:I4SYg6ahjowErAQcHFVKy5EcWuwJ3+Xw9z2fLpuFCPo= +github.com/99designs/gqlgen v0.17.43/go.mod h1:lO0Zjy8MkZgBdv4T1U91x09r0e0WFOdhVUutlQs1Rsc= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PuerkitoBio/goquery v1.9.2 h1:4/wZksC3KgkQw7SQgkKotmKljk0M6V8TUvA8Wb4yPeE= -github.com/PuerkitoBio/goquery v1.9.2/go.mod h1:GHPCaP0ODyyxqcNoFGYlAprUFH81NuRPd0GX3Zu2Mvk= +github.com/PuerkitoBio/goquery v1.8.1 h1:uQxhNlArOIdbrH1tr0UXwdVFgDcZDrZVdcpygAcwmWM= +github.com/PuerkitoBio/goquery v1.8.1/go.mod h1:Q8ICL1kNUJ2sXGoAhPGUdYDJvgQgHzJsnnd3H7Ho5jQ= github.com/agext/levenshtein v1.2.1 h1:QmvMAjj2aEICytGiWzmxoE0x2KZvE0fvmqMOfy2tjT8= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agnivade/levenshtein v1.1.1 h1:QY8M92nrzkmr798gCo3kmMyqXFzdQVpxLlGPRBij0P8= @@ -78,8 +78,8 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRF github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= -github.com/andybalholm/cascadia v1.3.2 h1:3Xi6Dw5lHF15JtdcmAHD3i1+T8plmv7BQ/nsViSLyss= -github.com/andybalholm/cascadia v1.3.2/go.mod h1:7gtRlve5FxPPgIgX36uWBX58OdBsSS6lUvCFb+h7KvU= +github.com/andybalholm/cascadia v1.3.1 h1:nhxRkql1kdYCc8Snf7D5/D3spOX+dBgjA6u8x004T2c= +github.com/andybalholm/cascadia v1.3.1/go.mod h1:R4bJ1UQfqADjvDa4P6HZHLh/3OxWWEqc0Sk8XGwHqvA= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= @@ -87,13 +87,13 @@ github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6 github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE= -github.com/bazelbuild/buildtools v0.0.0-20240918101019-be1c24cc9a44 h1:FGzENZi+SX9I7h9xvMtRA3rel8hCEfyzSixteBgn7MU= -github.com/bazelbuild/buildtools v0.0.0-20240918101019-be1c24cc9a44/go.mod h1:PLNUetjLa77TCCziPsz0EI8a6CUxgC+1jgmWv0H25tg= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/bazelbuild/buildtools v0.0.0-20240918101019-be1c24cc9a44 h1:FGzENZi+SX9I7h9xvMtRA3rel8hCEfyzSixteBgn7MU= +github.com/bazelbuild/buildtools v0.0.0-20240918101019-be1c24cc9a44/go.mod h1:PLNUetjLa77TCCziPsz0EI8a6CUxgC+1jgmWv0H25tg= github.com/bazelbuild/remote-apis v0.0.0-20230411132548-35aee1c4a425 h1:Lj8uXWW95oXyYguUSdQDvzywQb4f0jbJWsoLPQWAKTY= github.com/bazelbuild/remote-apis v0.0.0-20230411132548-35aee1c4a425/go.mod h1:ry8Y6CkQqCVcYsjPOlLXDX2iRVjOnjogdNwhvHmRcz8= github.com/bazelbuild/remote-apis-sdks v0.0.0-20240522145720-89b6d6b399ad h1:yyKTjqI0MPCHOBAreY/m7x0u4jxvyGZGeYYW9qBBr/Y= @@ -313,11 +313,10 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxv github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -397,8 +396,6 @@ github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3O github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= -github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= @@ -407,6 +404,8 @@ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsT github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= +github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/sagikazarmark/crypt v0.3.0/go.mod h1:uD/D+6UF4SrIR1uGEv7bBNkNqLGqUr43MRiaGWX1Nig= @@ -443,8 +442,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= -github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0vy5p8= -github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww= +github.com/vektah/gqlparser/v2 v2.5.11 h1:JJxLtXIoN7+3x6MBdtIP59TP1RANnY7pXOaDnADQSf8= +github.com/vektah/gqlparser/v2 v2.5.11/go.mod h1:1rCcfwB2ekJofmluGWXMSEnPMZgbxzwj6FaZ/4OT8Cc= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= github.com/vmihailenco/msgpack/v5 v5.0.0-beta.9 h1:iBRIniTnWOo0kqkg3k3XR8Vn6OCkVlIuZNo0UoBrKx4= @@ -505,7 +504,6 @@ golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTk golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 h1:2M3HP5CCK1Si9FQhwnzYhXdG6DXeebvUHFpre8QvbyI= golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= @@ -513,6 +511,7 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= @@ -913,8 +912,8 @@ google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlba google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= -google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= +google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -939,11 +938,11 @@ honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -mvdan.cc/gofumpt v0.7.0 h1:bg91ttqXmi9y2xawvkuMXyvAA/1ZGJqYAEGjXuP0JXU= -mvdan.cc/gofumpt v0.7.0/go.mod h1:txVFJy/Sc/mvaycET54pV8SW8gWxTlUuGHVEcncmNUo= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +mvdan.cc/gofumpt v0.7.0 h1:bg91ttqXmi9y2xawvkuMXyvAA/1ZGJqYAEGjXuP0JXU= +mvdan.cc/gofumpt v0.7.0/go.mod h1:txVFJy/Sc/mvaycET54pV8SW8gWxTlUuGHVEcncmNUo= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/internal/graphql/BUILD.bazel b/internal/graphql/BUILD.bazel index 0a42bd7..0132795 100644 --- a/internal/graphql/BUILD.bazel +++ b/internal/graphql/BUILD.bazel @@ -22,6 +22,13 @@ go_library( "//ent/gen/ent/blob", "//ent/gen/ent/build", "//ent/gen/ent/eventfile", + "//ent/gen/ent/missdetail", + "//ent/gen/ent/targetcomplete", + "//ent/gen/ent/targetconfigured", + "//ent/gen/ent/targetpair", + "//ent/gen/ent/testcollection", + "//ent/gen/ent/testresultbes", + "//ent/gen/ent/testsummary", "//internal/graphql/helpers", "//internal/graphql/model", "//pkg/uuidgql", diff --git a/pkg/processing/BUILD.bazel b/pkg/processing/BUILD.bazel index c9bc0e9..6dcb4d9 100644 --- a/pkg/processing/BUILD.bazel +++ b/pkg/processing/BUILD.bazel @@ -15,6 +15,13 @@ go_library( "//ent/gen/ent", "//ent/gen/ent/blob", "//ent/gen/ent/build", + "//ent/gen/ent/missdetail", + "//ent/gen/ent/targetcomplete", + "//ent/gen/ent/targetconfigured", + "//ent/gen/ent/targetpair", + "//ent/gen/ent/testcollection", + "//ent/gen/ent/testresultbes", + "//ent/gen/ent/testsummary", "//pkg/summary", "//pkg/summary/detectors", "@com_github_bazelbuild_remote_apis_sdks//go/pkg/digest",