aboutsummaryrefslogtreecommitdiffstats
path: root/build/rules/go
diff options
context:
space:
mode:
authorsidh <sidh@yandex-team.ru>2022-02-10 16:51:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:51:12 +0300
commitba9fd5b4f91f51e0d8cfc5e4a7b7038f33ebe3d4 (patch)
treeb4dc4e0a39f65d8398921912d0db2cff8cb1357e /build/rules/go
parentd62c3df554c1507a9cdb4eff97d2af23b2cc985a (diff)
downloadydb-ba9fd5b4f91f51e0d8cfc5e4a7b7038f33ebe3d4.tar.gz
Restoring authorship annotation for <sidh@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/rules/go')
-rw-r--r--build/rules/go/.devexp.json36
-rw-r--r--build/rules/go/README.md18
-rw-r--r--build/rules/go/migrations.yaml88
-rw-r--r--build/rules/go/vendor.policy172
4 files changed, 157 insertions, 157 deletions
diff --git a/build/rules/go/.devexp.json b/build/rules/go/.devexp.json
index 3a49601806..360e2d326d 100644
--- a/build/rules/go/.devexp.json
+++ b/build/rules/go/.devexp.json
@@ -1,18 +1,18 @@
-{
- "auto_start": true,
- "notification": "telegram",
- "approve_count": 1,
- "total_reviewers": 4,
- "static_members": [
- "buglloc",
- "gzuykov",
- "prime",
- "sidh"
- ],
- "strict": true,
- "reset_after_publish": true,
- "update_status": true,
- "update_reviewers": false,
- "update_assignees": false,
- "update_labels": true
-}
+{
+ "auto_start": true,
+ "notification": "telegram",
+ "approve_count": 1,
+ "total_reviewers": 4,
+ "static_members": [
+ "buglloc",
+ "gzuykov",
+ "prime",
+ "sidh"
+ ],
+ "strict": true,
+ "reset_after_publish": true,
+ "update_status": true,
+ "update_reviewers": false,
+ "update_assignees": false,
+ "update_labels": true
+}
diff --git a/build/rules/go/README.md b/build/rules/go/README.md
index 82b1b50b97..d51c79fb9a 100644
--- a/build/rules/go/README.md
+++ b/build/rules/go/README.md
@@ -1,9 +1,9 @@
-# PEERDIR policy for Go
-
-## IMPORTANT
-None of files in this directory can be moved or split into multiple files without explicit OK from go-com@yandex-team.ru
-Doing otherwise will break vendoring tooling.
-
- * `contrib.policy` - special exceptions for patched contribs
- * `migrations.yaml` - exceptions for linters (no additions allowed except when implementing new linters or updating old ones)
- * `vendor.policy` - general PEERDIR policy for contribs
+# PEERDIR policy for Go
+
+## IMPORTANT
+None of files in this directory can be moved or split into multiple files without explicit OK from go-com@yandex-team.ru
+Doing otherwise will break vendoring tooling.
+
+ * `contrib.policy` - special exceptions for patched contribs
+ * `migrations.yaml` - exceptions for linters (no additions allowed except when implementing new linters or updating old ones)
+ * `vendor.policy` - general PEERDIR policy for contribs
diff --git a/build/rules/go/migrations.yaml b/build/rules/go/migrations.yaml
index c041d0fbb2..092434d00d 100644
--- a/build/rules/go/migrations.yaml
+++ b/build/rules/go/migrations.yaml
@@ -1,50 +1,50 @@
-migrations:
- stylecheck:
- checks:
- - ST1001
- - ST1003
- - ST1005
- - ST1006
- - ST1008
- - ST1011
- - ST1012
- - ST1013
- - ST1015
- - ST1016
- - ST1017
- - ST1018
- packages:
- - a.yandex-team.ru/cloud/blockstore/public/sdk/go/client
- - a.yandex-team.ru/cloud/blockstore/public/sdk/go/client/ut
- - a.yandex-team.ru/cloud/netinfra/tflow/sflow
- - a.yandex-team.ru/cloud/serverless/triggers/internal/queue-processor
- - a.yandex-team.ru/cloud/serverless/triggers/metrics
- - a.yandex-team.ru/cloud/serverless/triggers/pkg/ymq
+migrations:
+ stylecheck:
+ checks:
+ - ST1001
+ - ST1003
+ - ST1005
+ - ST1006
+ - ST1008
+ - ST1011
+ - ST1012
+ - ST1013
+ - ST1015
+ - ST1016
+ - ST1017
+ - ST1018
+ packages:
+ - a.yandex-team.ru/cloud/blockstore/public/sdk/go/client
+ - a.yandex-team.ru/cloud/blockstore/public/sdk/go/client/ut
+ - a.yandex-team.ru/cloud/netinfra/tflow/sflow
+ - a.yandex-team.ru/cloud/serverless/triggers/internal/queue-processor
+ - a.yandex-team.ru/cloud/serverless/triggers/metrics
+ - a.yandex-team.ru/cloud/serverless/triggers/pkg/ymq
- a.yandex-team.ru/infra/rtc/instance_resolver/pkg/clients/iss3 # autogenerated
- - a.yandex-team.ru/locdoc/doc/daas-farm/pkg/directory
- - a.yandex-team.ru/locdoc/doc/daas-farm/pkg/linkresolver
- - a.yandex-team.ru/locdoc/doc/daas-farm/pkg/linkresolver/tests
- - a.yandex-team.ru/locdoc/doc/daas-farm/pkg/menugen
- - a.yandex-team.ru/mail/imap-fuzzer
- - a.yandex-team.ru/mail/imap-fuzzer/fuzz
- - a.yandex-team.ru/mail/imap-fuzzer/fuzz/logic
- - a.yandex-team.ru/mail/imap-fuzzer/fuzz/naughty
- - a.yandex-team.ru/mail/imap-fuzzer/fuzz/operations
- - a.yandex-team.ru/mail/imap-fuzzer/fuzz/types
- - a.yandex-team.ru/mail/imap-fuzzer/imap
+ - a.yandex-team.ru/locdoc/doc/daas-farm/pkg/directory
+ - a.yandex-team.ru/locdoc/doc/daas-farm/pkg/linkresolver
+ - a.yandex-team.ru/locdoc/doc/daas-farm/pkg/linkresolver/tests
+ - a.yandex-team.ru/locdoc/doc/daas-farm/pkg/menugen
+ - a.yandex-team.ru/mail/imap-fuzzer
+ - a.yandex-team.ru/mail/imap-fuzzer/fuzz
+ - a.yandex-team.ru/mail/imap-fuzzer/fuzz/logic
+ - a.yandex-team.ru/mail/imap-fuzzer/fuzz/naughty
+ - a.yandex-team.ru/mail/imap-fuzzer/fuzz/operations
+ - a.yandex-team.ru/mail/imap-fuzzer/fuzz/types
+ - a.yandex-team.ru/mail/imap-fuzzer/imap
- a.yandex-team.ru/mail/payments-sdk-backend/backend/cmd/server
- a.yandex-team.ru/mail/payments-sdk-backend/backend/cmd/server_test
- - a.yandex-team.ru/quasar/gackend
- - a.yandex-team.ru/quasar/gackend/db
- - a.yandex-team.ru/quasar/gackend_test
- - a.yandex-team.ru/quasar/gackend/model
- - a.yandex-team.ru/quasar/go/middleware
- - a.yandex-team.ru/quasar/go/retryablehttp
- - a.yandex-team.ru/quasar/go/zaplogger
- - a.yandex-team.ru/quasar/tsup/db
- - a.yandex-team.ru/quasar/tsup/server
- - a.yandex-team.ru/cloud/iam/accessservice/client/go/cloudauth
- - a.yandex-team.ru/cloud/iam/accessservice/client/go/cloudauth_test
+ - a.yandex-team.ru/quasar/gackend
+ - a.yandex-team.ru/quasar/gackend/db
+ - a.yandex-team.ru/quasar/gackend_test
+ - a.yandex-team.ru/quasar/gackend/model
+ - a.yandex-team.ru/quasar/go/middleware
+ - a.yandex-team.ru/quasar/go/retryablehttp
+ - a.yandex-team.ru/quasar/go/zaplogger
+ - a.yandex-team.ru/quasar/tsup/db
+ - a.yandex-team.ru/quasar/tsup/server
+ - a.yandex-team.ru/cloud/iam/accessservice/client/go/cloudauth
+ - a.yandex-team.ru/cloud/iam/accessservice/client/go/cloudauth_test
protonaming:
packages:
- a.yandex-team.ru/extsearch/video/content_id/proto
diff --git a/build/rules/go/vendor.policy b/build/rules/go/vendor.policy
index 3e9c0acada..041cca339b 100644
--- a/build/rules/go/vendor.policy
+++ b/build/rules/go/vendor.policy
@@ -1,7 +1,7 @@
-# IMPORTANT
-# This file cannot be moved or split into multiple files without explicit OK from go-com@yandex-team.ru
-# Doing otherwise will break vendoring tooling.
-
+# IMPORTANT
+# This file cannot be moved or split into multiple files without explicit OK from go-com@yandex-team.ru
+# Doing otherwise will break vendoring tooling.
+
ALLOW vendor/ -> .*
# CONTRIB-2451
@@ -119,9 +119,9 @@ ALLOW .* -> vendor/cuelang.org/go
# driver for write to and read from XLSX files
ALLOW .* -> vendor/github.com/360EntSecGroup-Skylar/excelize/v2
-# in-process redis server for tests
-ALLOW .* -> vendor/github.com/alicebob/miniredis/v2
-
+# in-process redis server for tests
+ALLOW .* -> vendor/github.com/alicebob/miniredis/v2
+
# AMQP client with RabbitMQ extensions
ALLOW .* -> vendor/github.com/streadway/amqp
@@ -169,45 +169,45 @@ ALLOW .* -> vendor/github.com/coreos/go-systemd/v22/journal
# systemd dbus
ALLOW .* -> vendor/github.com/coreos/go-systemd/v22/dbus
-# mocking for database/sql
+# mocking for database/sql
ALLOW .* -> vendor/github.com/DATA-DOG/go-sqlmock
-
-# Cucumber-like BDD for Go
-## New location
-ALLOW .* -> vendor/github.com/cucumber/godog
-## Old location (deprecated)
-ALLOW .* -> vendor/github.com/DATA-DOG/godog
-
+
+# Cucumber-like BDD for Go
+## New location
+ALLOW .* -> vendor/github.com/cucumber/godog
+## Old location (deprecated)
+ALLOW .* -> vendor/github.com/DATA-DOG/godog
+
# pretty printer for GO
ALLOW .* -> vendor/github.com/davecgh/go-spew/spew
# CONTRIB-425 implementation of JSON Web Tokens (JWT)
ALLOW .* -> vendor/github.com/golang-jwt/jwt
-# Docker API client
+# Docker API client
# docker tests depends on broken package: gotest.tools
DENY .* -> vendor/github.com/docker/docker;test
DENY .* -> vendor/github.com/docker/docker/api/server
DENY .* -> vendor/github.com/docker/docker/api/types/backend
-ALLOW .* -> vendor/github.com/docker/docker/client
-ALLOW .* -> vendor/github.com/docker/docker/api
+ALLOW .* -> vendor/github.com/docker/docker/client
+ALLOW .* -> vendor/github.com/docker/docker/api
ALLOW .* -> vendor/github.com/docker/go-connections
-
+
# cross-platform file system notifications
ALLOW .* -> vendor/github.com/fsnotify/fsnotify
# lightweight, idiomatic and composable router
ALLOW .* -> vendor/github.com/go-chi/chi/v5
-# a pure Go MySQL driver
-ALLOW .* -> vendor/github.com/go-sql-driver/mysql
-
+# a pure Go MySQL driver
+ALLOW .* -> vendor/github.com/go-sql-driver/mysql
+
# a Go MSSQL driver
ALLOW .* -> vendor/github.com/denisenkom/go-mssqldb
-# thread-safe file locking library
-ALLOW .* -> vendor/github.com/gofrs/flock
-
+# thread-safe file locking library
+ALLOW .* -> vendor/github.com/gofrs/flock
+
# a pure Go implementation of Universally Unique Identifiers
ALLOW .* -> vendor/github.com/gofrs/uuid
@@ -242,16 +242,16 @@ DENY .* -> vendor/github.com/rs/cors/wrapper/gin
ALLOW .* -> vendor/github.com/getsentry/sentry-go
ALLOW .* -> vendor/github.com/getsentry/raven-go
-# configuration library
-ALLOW .* -> vendor/github.com/heetch/confita
-
+# configuration library
+ALLOW .* -> vendor/github.com/heetch/confita
+
# string case conversion library
ALLOW .* -> vendor/github.com/iancoleman/strcase
# PostgreSQL driver and toolkit for Go
-ALLOW .* -> vendor/github.com/jackc/pgx/v4
-ALLOW .* -> vendor/github.com/jackc/pgconn
-ALLOW .* -> vendor/github.com/jackc/pgtype
+ALLOW .* -> vendor/github.com/jackc/pgx/v4
+ALLOW .* -> vendor/github.com/jackc/pgconn
+ALLOW .* -> vendor/github.com/jackc/pgtype
ALLOW .* -> vendor/github.com/jackc/pgerrcode
ALLOW .* -> vendor/github.com/jackc/pgproto3/v2
ALLOW .* -> vendor/github.com/jackc/pgio
@@ -276,7 +276,7 @@ ALLOW .* -> vendor/github.com/karlseguin/ccache/v2
ALLOW .* -> vendor/github.com/kentik/patricia
# driver for ClickHouse column-oriented database management system
-ALLOW .* -> vendor/github.com/ClickHouse/clickhouse-go
+ALLOW .* -> vendor/github.com/ClickHouse/clickhouse-go
# High performance, minimalist web framework
ALLOW .* -> vendor/github.com/labstack/echo/v4
@@ -308,11 +308,11 @@ ALLOW .* -> vendor/github.com/montanaflynn/stats
# runtime dependencies of go-swagger
ALLOW .* -> vendor/github.com/go-openapi
-# CONTRIB-469: swagger code generator for both client and server
-ALLOW .* -> vendor/github.com/go-swagger/go-swagger/cmd/swagger
-
+# CONTRIB-469: swagger code generator for both client and server
+ALLOW .* -> vendor/github.com/go-swagger/go-swagger/cmd/swagger
+
# redis client
-ALLOW .* -> vendor/github.com/go-redis/redis/v8
+ALLOW .* -> vendor/github.com/go-redis/redis/v8
# library for accessing the GitHub API v3
ALLOW .* -> vendor/github.com/google/go-github/v35/github
@@ -328,12 +328,12 @@ ALLOW .* -> vendor/github.com/PuerkitoBio/goquery
# prometheus client
ALLOW .* -> vendor/github.com/prometheus/client_golang
-ALLOW .* -> vendor/github.com/prometheus/client_model
-ALLOW .* -> vendor/github.com/prometheus/common
+ALLOW .* -> vendor/github.com/prometheus/client_model
+ALLOW .* -> vendor/github.com/prometheus/common
-# ZooKeeper client
+# ZooKeeper client
ALLOW .* -> vendor/github.com/go-zookeeper/zk
-
+
# Consistent hashring implementation (using the same algorithm as libketama)
ALLOW .* -> vendor/github.com/serialx/hashring
@@ -421,17 +421,17 @@ ALLOW .* -> vendor/gopkg.in/yaml.v2
# INI file format
ALLOW .* -> vendor/gopkg.in/ini.v1
-# JSONPath
-ALLOW .* -> vendor/github.com/PaesslerAG/jsonpath
-
-# Protocol buffers
-ALLOW .* -> vendor/github.com/golang/protobuf
-ALLOW .* -> vendor/google.golang.org/protobuf
+# JSONPath
+ALLOW .* -> vendor/github.com/PaesslerAG/jsonpath
+
+# Protocol buffers
+ALLOW .* -> vendor/github.com/golang/protobuf
+ALLOW .* -> vendor/google.golang.org/protobuf
# Google RPC
ALLOW .* -> vendor/google.golang.org/grpc
-# Go generated proto packages
+# Go generated proto packages
ALLOW .* -> vendor/google.golang.org/genproto/protobuf
ALLOW .* -> vendor/google.golang.org/genproto/googleapis/api
ALLOW .* -> vendor/google.golang.org/genproto/googleapis/api
@@ -439,19 +439,19 @@ ALLOW .* -> vendor/google.golang.org/genproto/googleapis/rpc
ALLOW .* -> vendor/google.golang.org/genproto/googleapis/iam
ALLOW .* -> vendor/google.golang.org/genproto/googleapis/logging
ALLOW .* -> vendor/google.golang.org/genproto/googleapis/type
-
+
# Usefull GRPC interceptors
ALLOW .* -> vendor/github.com/grpc-ecosystem/go-grpc-middleware
# GRPC Intercaptors for Prometheus monitoring
ALLOW .* -> vendor/github.com/grpc-ecosystem/go-grpc-prometheus
-# Protobuf and gRPC reflection
-ALLOW .* -> vendor/github.com/jhump/protoreflect
-
-# gRPC opentracing
-ALLOW .* -> vendor/github.com/opentracing-contrib/go-grpc
-
+# Protobuf and gRPC reflection
+ALLOW .* -> vendor/github.com/jhump/protoreflect
+
+# gRPC opentracing
+ALLOW .* -> vendor/github.com/opentracing-contrib/go-grpc
+
# Job Scheduling Package
ALLOW .* -> vendor/github.com/jasonlvhit/gocron
@@ -497,13 +497,13 @@ ALLOW .* -> vendor/github.com/NVIDIA/gpu-monitoring-tools/bindings/go
# Opentracing interface and implementation.
ALLOW .* -> vendor/github.com/uber/jaeger-client-go
-ALLOW .* -> vendor/github.com/uber/jaeger-lib/metrics
+ALLOW .* -> vendor/github.com/uber/jaeger-lib/metrics
ALLOW .* -> vendor/github.com/opentracing/opentracing-go
-# Opentracing contribs
-# CONTRIB-1778
-ALLOW .* -> vendor/github.com/opentracing-contrib/go-stdlib
-
+# Opentracing contribs
+# CONTRIB-1778
+ALLOW .* -> vendor/github.com/opentracing-contrib/go-stdlib
+
# CONTRIB-1299. Date parser. resposible: tserakhau@
ALLOW .* -> vendor/github.com/araddon/dateparse
@@ -557,9 +557,9 @@ ALLOW .* -> vendor/github.com/cenkalti/backoff/v4
# CONTRIB-1491 A parser library for Go
ALLOW .* -> vendor/github.com/alecthomas/participle
-# CONTRIB-1539 staticcheck
-ALLOW library/go/yolint -> vendor/honnef.co/go/tools
-
+# CONTRIB-1539 staticcheck
+ALLOW library/go/yolint -> vendor/honnef.co/go/tools
+
# CONTRIB-1542 Simple netlink library for go.
ALLOW .* -> vendor/github.com/vishvananda/netlink
@@ -616,9 +616,9 @@ ALLOW .* -> vendor/github.com/beevik/etree
# CONTRIB-1703 telebot client for telegram. responsible: alittleprince@
ALLOW .* -> vendor/gopkg.in/tucnak/telebot.v2
-# CONTRIB-1726 helpers for working with protobuf field masks
-ALLOW .* -> vendor/github.com/mennanov/fieldmask-utils
-
+# CONTRIB-1726 helpers for working with protobuf field masks
+ALLOW .* -> vendor/github.com/mennanov/fieldmask-utils
+
# CONTRIB-1810 Fast directory traversal for Golang
ALLOW .* -> vendor/github.com/karrick/godirwalk
@@ -643,9 +643,9 @@ ALLOW .* -> vendor/github.com/awalterschulze/gographviz
# CONTRIB-1923 memcache client
ALLOW .* -> vendor/github.com/bradfitz/gomemcache
-# Yandex' hasql
-ALLOW .* -> vendor/golang.yandex/hasql
-
+# Yandex' hasql
+ALLOW .* -> vendor/golang.yandex/hasql
+
# CONTRIB-1974 Optimized Sha256
ALLOW .* -> vendor/github.com/minio/sha256-simd
@@ -861,20 +861,20 @@ ALLOW .* -> vendor/github.com/pkg/xattr
ALLOW .* -> vendor/github.com/scim2/filter-parser/v2
#
-# Tools
-#
-
-# Native Go debugger
-ALLOW vendor -> vendor/github.com/go-delve/delve/cmd/dlv
-
+# Tools
+#
+
+# Native Go debugger
+ALLOW vendor -> vendor/github.com/go-delve/delve/cmd/dlv
+
# Profile visualization
ALLOW .* -> vendor/github.com/google/pprof
-# gRPCurl
-ALLOW vendor -> vendor/github.com/fullstorydev/grpcurl/cmd/grpcurl
-
-
-#
+# gRPCurl
+ALLOW vendor -> vendor/github.com/fullstorydev/grpcurl/cmd/grpcurl
+
+
+#
# Temporary exceptions.
#
@@ -890,9 +890,9 @@ ALLOW transfer_manager/go/pkg/source/mysql/canal -> vendor/github.com/siddontang
ALLOW transfer_manager/go/pkg/source/mysql/canal -> vendor/github.com/siddontang/go-mysql/client
ALLOW transfer_manager/go/pkg/source/mysql/canal -> vendor/github.com/siddontang/go-mysql/schema
-# CONTRIB-1244. resposible: frystile@
-ALLOW cloud/compute/gokikimr/client -> vendor/github.com/rcrowley/go-metrics
-ALLOW cloud/compute/snapshot/snapshot/lib/misc -> vendor/github.com/rcrowley/go-metrics
+# CONTRIB-1244. resposible: frystile@
+ALLOW cloud/compute/gokikimr/client -> vendor/github.com/rcrowley/go-metrics
+ALLOW cloud/compute/snapshot/snapshot/lib/misc -> vendor/github.com/rcrowley/go-metrics
# IGNIETFERRO-1287
ALLOW cloud/compute/snapshot/snapshot/config -> vendor/github.com/pkg/errors
@@ -928,7 +928,7 @@ ALLOW edadeal/backend/go/gluon/internal/app/bootstrap -> vendor/github.com/jackc
ALLOW edadeal/backend/go/nachalnik/internal/app/bootstrap -> vendor/github.com/jackc/pgx
ALLOW edadeal/backend/go/nachalnik/internal/pkg/store -> vendor/github.com/jackc/pgx
ALLOW extsearch/video/robot/rt_transcoder/video-manager/db -> vendor/github.com/jackc/pgx
-ALLOW games/backend/internal/dbutils -> vendor/github.com/jackc/pgx
+ALLOW games/backend/internal/dbutils -> vendor/github.com/jackc/pgx
ALLOW games/backend/pkg/database -> vendor/github.com/jackc/pgx
ALLOW mail/calendar/load/bbmock -> vendor/github.com/jackc/pgx
ALLOW mail/collectors/tests-load/pandora -> vendor/github.com/jackc/pgx
@@ -972,9 +972,9 @@ ALLOW alice/iot/adapters/tuya_adapter/server -> vendor/github.com/sirupsen/logru
# SUBBOTNIK-90
ALLOW infra/rtc/instance_resolver/pkg/clients/iss3 -> vendor/git.apache.org/thrift.git/lib/go
-# Benchmarks using github.com/pkg/errors
-ALLOW library/go/core/xerrors -> vendor/github.com/pkg/errors
-
+# Benchmarks using github.com/pkg/errors
+ALLOW library/go/core/xerrors -> vendor/github.com/pkg/errors
+
## LOAD-1046: Pandora perftool. responsible: load@
# CONTRIB-2040