Browse Source

Restoring authorship annotation for <prime@yandex-team.ru>. Commit 1 of 2.

prime 3 years ago
parent
commit
3695a7cd42

+ 34 - 34
build/plugins/gobuild.py

@@ -78,8 +78,8 @@ def go_package_name(unit):
         else:
             name = unit.get('REALPRJNAME')
     return name
-
-
+ 
+ 
 def need_lint(path):
     return not path.startswith('$S/vendor/') and not path.startswith('$S/contrib/')
 
@@ -265,7 +265,7 @@ def on_go_process_srcs(unit):
                 unit.onsrc([f[:-2] + 'cgo2.c'] + cgo_cflags + cgo2_cflags)
             else:
                 ymake.report_configure_error('file {} should not be listed in CGO_SRCS() macros'.format(f))
-        args = [go_package_name(unit)] + cgo_files
+        args = [go_package_name(unit)] + cgo_files 
         if len(c_files) > 0:
             args += ['C_FILES'] + c_files
         if len(s_files) > 0:
@@ -273,37 +273,37 @@ def on_go_process_srcs(unit):
         if len(syso_files) > 0:
             args += ['OBJ_FILES'] + syso_files
         unit.on_go_compile_cgo2(args)
-
-
-def on_go_resource(unit, *args):
-    args = list(args)
-    files = args[::2]
-    keys = args[1::2]
+ 
+ 
+def on_go_resource(unit, *args): 
+    args = list(args) 
+    files = args[::2] 
+    keys = args[1::2] 
     suffix_md5 = md5.new('@'.join(args)).hexdigest()
     resource_go = os.path.join("resource.{}.res.go".format(suffix_md5))
-
-    unit.onpeerdir(["library/go/core/resource"])
-
-    if len(files) != len(keys):
-        ymake.report_configure_error("last file {} is missing resource key".format(files[-1]))
-
-    for i, (key, filename) in enumerate(zip(keys, files)):
-        if not key:
-            ymake.report_configure_error("file key must be non empty")
-            return
-
-        if filename == "-" and "=" not in key:
-            ymake.report_configure_error("key \"{}\" must contain = sign".format(key))
-            return
-
-        # quote key, to avoid automatic substitution of filename by absolute
-        # path in RUN_PROGRAM
-        args[2*i+1] = "notafile" + args[2*i+1]
-
+ 
+    unit.onpeerdir(["library/go/core/resource"]) 
+ 
+    if len(files) != len(keys): 
+        ymake.report_configure_error("last file {} is missing resource key".format(files[-1])) 
+ 
+    for i, (key, filename) in enumerate(zip(keys, files)): 
+        if not key: 
+            ymake.report_configure_error("file key must be non empty") 
+            return 
+ 
+        if filename == "-" and "=" not in key: 
+            ymake.report_configure_error("key \"{}\" must contain = sign".format(key)) 
+            return 
+ 
+        # quote key, to avoid automatic substitution of filename by absolute 
+        # path in RUN_PROGRAM 
+        args[2*i+1] = "notafile" + args[2*i+1] 
+ 
     files = [file for file in files if file != "-"]
-    unit.onrun_program([
-        "library/go/core/resource/cc",
-        "-package", go_package_name(unit),
-        "-o", resource_go] + list(args) + [
-        "IN"] + files + [
-        "OUT", resource_go])
+    unit.onrun_program([ 
+        "library/go/core/resource/cc", 
+        "-package", go_package_name(unit), 
+        "-o", resource_go] + list(args) + [ 
+        "IN"] + files + [ 
+        "OUT", resource_go]) 

+ 5 - 5
build/rules/catboost.policy

@@ -1,5 +1,5 @@
-ALLOW catboost -> catboost
-
-DENY .* -> catboost/private
-
-DENY .* -> catboost/yandex_specific/private
+ALLOW catboost -> catboost 
+ 
+DENY .* -> catboost/private 
+ 
+DENY .* -> catboost/yandex_specific/private 

+ 3 - 3
build/rules/contrib_restricted.policy

@@ -176,9 +176,9 @@ ALLOW mds -> contrib/restricted/googletest
 # See IGNIETFERRO-1827 for details.
 ALLOW library/cpp/testing/gmock -> contrib/restricted/googletest/googlemock
 
-# allow usage of MIT part
-ALLOW .* -> contrib/restricted/librseq/headeronly
-
+# allow usage of MIT part 
+ALLOW .* -> contrib/restricted/librseq/headeronly 
+ 
 # we use nfs-ganesha for Network File Store gateway
 ALLOW cloud/filestore/gateway/nfs -> contrib/restricted/nfs_ganesha
 

+ 17 - 17
build/rules/go/migrations.yaml

@@ -45,23 +45,23 @@ migrations:
       - 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
-      - a.yandex-team.ru/extsearch/video/robot/rt_transcoder/ad/proto
-      - a.yandex-team.ru/extsearch/video/robot/rt_transcoder/ng/proto
-      - a.yandex-team.ru/extsearch/video/robot/rt_transcoder/proto
-      - a.yandex-team.ru/extsearch/video/robot/rt_transcoder/qproxy/proto
-      - a.yandex-team.ru/infra/diskmanager/proto
-      - a.yandex-team.ru/infra/maxwell/go/proto
-      - a.yandex-team.ru/infra/nanny2/proto
-      - a.yandex-team.ru/infra/ya_salt/proto
-      - a.yandex-team.ru/mds/valve/proto
-      - a.yandex-team.ru/transfer_manager/go/cmd/yql_server/proto
-      - a.yandex-team.ru/transfer_manager/go/proto
-      - a.yandex-team.ru/yabs/proto
-      - a.yandex-team.ru/yweb/video/faas/proto
-      - a.yandex-team.ru/zen/integration/proto
+  protonaming: 
+    packages: 
+      - a.yandex-team.ru/extsearch/video/content_id/proto 
+      - a.yandex-team.ru/extsearch/video/robot/rt_transcoder/ad/proto 
+      - a.yandex-team.ru/extsearch/video/robot/rt_transcoder/ng/proto 
+      - a.yandex-team.ru/extsearch/video/robot/rt_transcoder/proto 
+      - a.yandex-team.ru/extsearch/video/robot/rt_transcoder/qproxy/proto 
+      - a.yandex-team.ru/infra/diskmanager/proto 
+      - a.yandex-team.ru/infra/maxwell/go/proto 
+      - a.yandex-team.ru/infra/nanny2/proto 
+      - a.yandex-team.ru/infra/ya_salt/proto 
+      - a.yandex-team.ru/mds/valve/proto 
+      - a.yandex-team.ru/transfer_manager/go/cmd/yql_server/proto 
+      - a.yandex-team.ru/transfer_manager/go/proto 
+      - a.yandex-team.ru/yabs/proto 
+      - a.yandex-team.ru/yweb/video/faas/proto 
+      - a.yandex-team.ru/zen/integration/proto 
   unusedwrite:
     packages:
       - a.yandex-team.ru/alice/gamma/sdk/golang

+ 256 - 256
build/rules/go/vendor.policy

@@ -2,20 +2,20 @@
 # 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/ -> .*
-
+ALLOW vendor/ -> .* 
+ 
 # CONTRIB-2451
 ALLOW .* -> vendor/github.com/deepmap/oapi-codegen
 
 # CONTRIB-2311 gossip discovery protocol implementation
 ALLOW .* -> vendor/github.com/hashicorp/memberlist
 
-# CONTRIB-2177 testing helpers for terraform
-ALLOW .* -> vendor/github.com/gruntwork-io/terratest/modules/terraform
-
-# CONTRIB-2078 provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
-ALLOW .* -> vendor/github.com/prometheus/procfs
-
+# CONTRIB-2177 testing helpers for terraform 
+ALLOW .* -> vendor/github.com/gruntwork-io/terratest/modules/terraform 
+ 
+# CONTRIB-2078 provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc. 
+ALLOW .* -> vendor/github.com/prometheus/procfs 
+ 
 # CONTRIB-2166
 ALLOW .* -> vendor/github.com/openconfig/gnmi
 
@@ -67,14 +67,14 @@ ALLOW .* -> vendor/k8s.io/apimachinery/pkg/api/resource
 ALLOW .* -> vendor/sigs.k8s.io/controller-runtime
 ALLOW .* -> vendor/github.com/go-logr/logr
 
-# CONTRIB-2195
-ALLOW .* -> vendor/github.com/timakin/bodyclose
+# CONTRIB-2195 
+ALLOW .* -> vendor/github.com/timakin/bodyclose 
 # github.com/gostaticanalysis/comment tests depends on the unlicensed package https://github.com/tenntenn/text
 DENY .* -> vendor/github.com/gostaticanalysis/comment;test
-
-# CONTRIB-2196
-ALLOW .* -> vendor/github.com/jingyugao/rowserrcheck
-
+ 
+# CONTRIB-2196 
+ALLOW .* -> vendor/github.com/jingyugao/rowserrcheck 
+ 
 # CONTRIB-2163
 ALLOW .* -> vendor/go.temporal.io/sdk
 ALLOW .* -> vendor/go.temporal.io/api
@@ -89,9 +89,9 @@ ALLOW infra/temporal/swat/server -> vendor/github.com/urfave/cli
 ALLOW infra/temporal/swat/tctl -> vendor/github.com/urfave/cli
 ALLOW infra/temporal -> vendor/github.com/uber-go/tally
 
-# CONTRIB-2116
-ALLOW .* -> vendor/github.com/google/licensecheck
-
+# CONTRIB-2116 
+ALLOW .* -> vendor/github.com/google/licensecheck 
+ 
 # CONTRIB-2087
 ALLOW .* -> vendor/github.com/armon/go-radix
 
@@ -113,9 +113,9 @@ ALLOW .* -> vendor/github.com/phin1x/go-ipp
 # CONTRIB-2113 gobreaker
 ALLOW .* -> vendor/github.com/sony/gobreaker
 
-# Validate and define text-based and dynamic configuration
-ALLOW .* -> vendor/cuelang.org/go
-
+# Validate and define text-based and dynamic configuration 
+ALLOW .* -> vendor/cuelang.org/go 
+ 
 # driver for write to and read from XLSX files
 ALLOW .* -> vendor/github.com/360EntSecGroup-Skylar/excelize/v2
 
@@ -125,30 +125,30 @@ ALLOW .* -> vendor/github.com/alicebob/miniredis/v2
 # AMQP client with RabbitMQ extensions
 ALLOW .* -> vendor/github.com/streadway/amqp
 
-# AWS client libraries
-ALLOW .* -> vendor/github.com/aws/aws-sdk-go/aws
-ALLOW .* -> vendor/github.com/aws/aws-sdk-go/service/s3
-ALLOW .* -> vendor/github.com/aws/aws-sdk-go/service/sqs
+# AWS client libraries 
+ALLOW .* -> vendor/github.com/aws/aws-sdk-go/aws 
+ALLOW .* -> vendor/github.com/aws/aws-sdk-go/service/s3 
+ALLOW .* -> vendor/github.com/aws/aws-sdk-go/service/sqs 
 ALLOW .* -> vendor/github.com/aws/aws-sdk-go/service/kms
 ALLOW .* -> vendor/github.com/aws/aws-sdk-go/service/ec2
 ALLOW .* -> vendor/github.com/aws/aws-sdk-go/service/route53
 ALLOW .* -> vendor/github.com/aws/aws-sdk-go/service/kinesis
 ALLOW .* -> vendor/github.com/aws/aws-sdk-go/service/sts
-
+ 
 # TOML parser/encoder with reflection
 ALLOW .* -> vendor/github.com/BurntSushi/toml
 
-# helpers for data sizes (kilobytes, petabytes), human readable sizes, parsing
+# helpers for data sizes (kilobytes, petabytes), human readable sizes, parsing 
 ALLOW .* -> vendor/github.com/c2h5oh/datasize
-
-# Disable tests because testdata won't fit into arcadia commit.
-DENY .* -> vendor/github.com/go-git/go-git/v5/storage/test
-DENY .* -> vendor/github.com/go-git/go-git/v5/plumbing/transport/test
-DENY .* -> vendor/github.com/go-git/go-git/v5;test
-ALLOW .* -> vendor/github.com/go-git/go-git/v5
+ 
+# Disable tests because testdata won't fit into arcadia commit. 
+DENY .* -> vendor/github.com/go-git/go-git/v5/storage/test 
+DENY .* -> vendor/github.com/go-git/go-git/v5/plumbing/transport/test 
+DENY .* -> vendor/github.com/go-git/go-git/v5;test 
+ALLOW .* -> vendor/github.com/go-git/go-git/v5 
 ALLOW .* -> vendor/github.com/go-git/go-billy/v5
-
-# etcd client
+ 
+# etcd client 
 DENY .* -> vendor/go.etcd.io/etcd/clientv3/naming
 ALLOW .* -> vendor/go.etcd.io/etcd/mvcc
 ALLOW .* -> vendor/go.etcd.io/etcd/etcdserver/api
@@ -178,12 +178,12 @@ ALLOW .* -> vendor/github.com/cucumber/godog
 ## Old location (deprecated)
 ALLOW .* -> vendor/github.com/DATA-DOG/godog
 
-# pretty printer for GO
+# 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 tests depends on broken package: gotest.tools
 DENY .* -> vendor/github.com/docker/docker;test
@@ -193,12 +193,12 @@ 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
+# cross-platform file system notifications 
 ALLOW .* -> vendor/github.com/fsnotify/fsnotify
-
-# lightweight, idiomatic and composable router
+ 
+# 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
 
@@ -208,12 +208,12 @@ ALLOW .* -> vendor/github.com/denisenkom/go-mssqldb
 # thread-safe file locking library
 ALLOW .* -> vendor/github.com/gofrs/flock
 
-# a pure Go implementation of Universally Unique Identifiers
+# a pure Go implementation of Universally Unique Identifiers 
 ALLOW .* -> vendor/github.com/gofrs/uuid
-
-# websocket protocol
+ 
+# websocket protocol 
 ALLOW .* -> vendor/github.com/gorilla/websocket
-
+ 
 # http sessions with cookie and filesystem session storage
 ALLOW .* -> vendor/github.com/gorilla/sessions
 
@@ -223,9 +223,9 @@ ALLOW .* -> vendor/github.com/gorilla/schema
 # S2 geometry
 ALLOW .* -> vendor/github.com/golang/geo
 
-# snappy compression
+# snappy compression 
 ALLOW .* -> vendor/github.com/golang/snappy
-
+ 
 # CONTRIB-632, CONTRIB-1992 API for sentry
 DENY .* -> vendor/github.com/AndreasBriese/bbloom;test
 DENY .* -> vendor/github.com/getsentry/sentry-go;test
@@ -241,14 +241,14 @@ 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
 
 # string case conversion library
 ALLOW .* -> vendor/github.com/iancoleman/strcase
 
-# PostgreSQL driver and toolkit for Go
+# 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
@@ -256,81 +256,81 @@ ALLOW .* -> vendor/github.com/jackc/pgerrcode
 ALLOW .* -> vendor/github.com/jackc/pgproto3/v2
 ALLOW .* -> vendor/github.com/jackc/pgio
 ALLOW .* -> vendor/github.com/jackc/pglogrepl
-
-# database/sql wrapper with a lot of helper functions
-ALLOW .* -> vendor/github.com/jmoiron/sqlx
-
+ 
+# database/sql wrapper with a lot of helper functions 
+ALLOW .* -> vendor/github.com/jmoiron/sqlx 
+ 
 # gorm and drivers
 ALLOW .* -> vendor/gorm.io/gorm
 ALLOW .* -> vendor/gorm.io/driver/sqlite
 ALLOW .* -> vendor/gorm.io/driver/postgres
 ALLOW .* -> vendor/gorm.io/plugin/dbresolver
 
-# clock mock for tests
-ALLOW .* -> vendor/github.com/jonboulle/clockwork
-
-# LRU Cache with TTL
+# clock mock for tests 
+ALLOW .* -> vendor/github.com/jonboulle/clockwork 
+ 
+# LRU Cache with TTL 
 ALLOW .* -> vendor/github.com/karlseguin/ccache/v2
-
+ 
 # Garbage collector-sensitive patricia tree for IP/CIDR tagging
 ALLOW .* -> vendor/github.com/kentik/patricia
 
-# driver for ClickHouse column-oriented database management system
+# driver for ClickHouse column-oriented database management system 
 ALLOW .* -> vendor/github.com/ClickHouse/clickhouse-go
-
-# High performance, minimalist web framework
+ 
+# High performance, minimalist web framework 
 ALLOW .* -> vendor/github.com/labstack/echo/v4
-
-# fluent SQL builder
+ 
+# fluent SQL builder 
 ALLOW .* -> vendor/github.com/Masterminds/squirrel
-
-# isatty for golang
+ 
+# isatty for golang 
 ALLOW .* -> vendor/github.com/mattn/go-isatty
-
+ 
 # go-sqlite3 for golang
 ALLOW .* -> vendor/github.com/mattn/go-sqlite3
 
-# complete and usable DNS library
+# complete and usable DNS library 
 ALLOW .* -> vendor/github.com/miekg/dns
-
-# deep copying values
+ 
+# deep copying values 
 ALLOW .* -> vendor/github.com/mitchellh/copystructure
-
-# decoding generic map values to structures and vice versa
+ 
+# decoding generic map values to structures and vice versa 
 ALLOW .* -> vendor/github.com/mitchellh/mapstructure
-
+ 
 # library for detecting and expanding the user's home directory without cgo
 ALLOW .* -> vendor/github.com/mitchellh/go-homedir
 
 # A well tested and comprehensive Golang statistics library package with no dependencies
 ALLOW .* -> vendor/github.com/montanaflynn/stats
 
-# runtime dependencies of go-swagger
+# 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
 
-# redis client
+# redis client 
 ALLOW .* -> vendor/github.com/go-redis/redis/v8
-
+ 
 # library for accessing the GitHub API v3
 ALLOW .* -> vendor/github.com/google/go-github/v35/github
 
-# fast JSON serializer for golang. relies on code generation.
+# fast JSON serializer for golang. relies on code generation. 
 ALLOW .* -> vendor/github.com/mailru/easyjson
 
-# lz4 compression codec
+# lz4 compression codec 
 ALLOW .* -> vendor/github.com/pierrec/lz4
-
-# library for HTML DOM manipulations and searching nodes by CSS selectors
+ 
+# library for HTML DOM manipulations and searching nodes by CSS selectors 
 ALLOW .* -> vendor/github.com/PuerkitoBio/goquery
-
-# prometheus client
-ALLOW .* -> vendor/github.com/prometheus/client_golang
+ 
+# prometheus client 
+ALLOW .* -> vendor/github.com/prometheus/client_golang 
 ALLOW .* -> vendor/github.com/prometheus/client_model
 ALLOW .* -> vendor/github.com/prometheus/common
-
+ 
 # ZooKeeper client
 ALLOW .* -> vendor/github.com/go-zookeeper/zk
 
@@ -340,87 +340,87 @@ ALLOW .* -> vendor/github.com/serialx/hashring
 # Slack API in Go
 ALLOW .* -> vendor/github.com/slack-go/slack
 
-# Text diffing.
-ALLOW .* -> vendor/github.com/pmezard/go-difflib
-
-# statsd client library
+# Text diffing. 
+ALLOW .* -> vendor/github.com/pmezard/go-difflib 
+ 
+# statsd client library 
 ALLOW .* -> vendor/github.com/smira/go-statsd
-
+ 
 # ICMP Ping library
 ALLOW .* -> vendor/github.com/sparrc/go-ping
 
-# safe and easy casting from one type to another
+# safe and easy casting from one type to another 
 ALLOW .* -> vendor/github.com/spf13/cast
-
-# library for creating CLI applications
+ 
+# library for creating CLI applications 
 ALLOW .* -> vendor/github.com/spf13/cobra
-
-# drop-in replacement for stdlib flag module
+ 
+# drop-in replacement for stdlib flag module 
 ALLOW .* -> vendor/github.com/spf13/pflag
-
-# a toolkit with common test assertions and mocks
+ 
+# a toolkit with common test assertions and mocks 
 ALLOW .* -> vendor/github.com/stretchr/testify
-
-# very fast json parser and encoder.
-# uses dynamic message structure, suitable for cases where json structure is not known in advance.
+ 
+# very fast json parser and encoder. 
+# uses dynamic message structure, suitable for cases where json structure is not known in advance. 
 ALLOW .* -> vendor/github.com/valyala/fastjson
 
-# xxhash32 and xxhash64 hash functions
-ALLOW .* -> vendor/github.com/OneOfOne/xxhash
-
-# default logging library. See also: library/go/core/log.
+# xxhash32 and xxhash64 hash functions 
+ALLOW .* -> vendor/github.com/OneOfOne/xxhash 
+ 
+# default logging library. See also: library/go/core/log. 
 ALLOW .* -> vendor/go.uber.org/zap
-
+ 
 # package for writing logs to rolling files.
 ALLOW .* -> vendor/gopkg.in/natefinch/lumberjack.v2
 
-# Find goroutine leaks in tests.
-ALLOW .* -> vendor/go.uber.org/goleak
-
-# golang.org/x/net
-ALLOW .* -> vendor/golang.org/x/net
-
-# golang.org/x/oauth2
-ALLOW .* -> vendor/golang.org/x/oauth2
-
-# golang.org/x/crypto
-ALLOW .* -> vendor/golang.org/x/crypto
-
-# golang.org/x/tools
-ALLOW .* -> vendor/golang.org/x/tools
-
-# golang.org/x/sync
-ALLOW .* -> vendor/golang.org/x/sync
-
-# golang.org/x/text
-ALLOW .* -> vendor/golang.org/x/text
-
+# Find goroutine leaks in tests. 
+ALLOW .* -> vendor/go.uber.org/goleak 
+ 
+# golang.org/x/net 
+ALLOW .* -> vendor/golang.org/x/net 
+ 
+# golang.org/x/oauth2 
+ALLOW .* -> vendor/golang.org/x/oauth2 
+ 
+# golang.org/x/crypto 
+ALLOW .* -> vendor/golang.org/x/crypto 
+ 
+# golang.org/x/tools 
+ALLOW .* -> vendor/golang.org/x/tools 
+ 
+# golang.org/x/sync 
+ALLOW .* -> vendor/golang.org/x/sync 
+ 
+# golang.org/x/text 
+ALLOW .* -> vendor/golang.org/x/text 
+ 
 # golang.org/x/time
 ALLOW .* -> vendor/golang.org/x/time
 
 # golang.org/x/image/webp
 ALLOW .* -> vendor/golang.org/x/image/webp
 
-# less experimental implementation of Go error inspection
+# less experimental implementation of Go error inspection 
 ALLOW .* -> vendor/golang.org/x/xerrors
-
+ 
 # golang.org/x/sys required for SO_REUSEPORT, for example
 ALLOW .* -> vendor/golang.org/x/sys
 
-ALLOW .* -> vendor/golang.org/x/mod
-
-# basic LDAP v3 functionality for the GO programming language
+ALLOW .* -> vendor/golang.org/x/mod 
+ 
+# basic LDAP v3 functionality for the GO programming language 
 ALLOW .* -> vendor/gopkg.in/ldap.v3
-
-# simple HTTP and REST client library
+ 
+# simple HTTP and REST client library 
 ALLOW .* -> vendor/github.com/go-resty/resty/v2
-
-# YAML support for Go
-ALLOW .* -> vendor/gopkg.in/yaml.v2
-
-# INI file format
-ALLOW .* -> vendor/gopkg.in/ini.v1
-
+ 
+# YAML support for Go 
+ALLOW .* -> vendor/gopkg.in/yaml.v2 
+ 
+# INI file format 
+ALLOW .* -> vendor/gopkg.in/ini.v1 
+ 
 # JSONPath
 ALLOW .* -> vendor/github.com/PaesslerAG/jsonpath
 
@@ -428,21 +428,21 @@ ALLOW .* -> vendor/github.com/PaesslerAG/jsonpath
 ALLOW .* -> vendor/github.com/golang/protobuf
 ALLOW .* -> vendor/google.golang.org/protobuf
 
-# Google RPC
-ALLOW .* -> vendor/google.golang.org/grpc
-
+# Google RPC 
+ALLOW .* -> vendor/google.golang.org/grpc 
+ 
 # 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
-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
-
+ALLOW .* -> vendor/google.golang.org/genproto/protobuf 
+ALLOW .* -> vendor/google.golang.org/genproto/googleapis/api 
+ALLOW .* -> vendor/google.golang.org/genproto/googleapis/api 
+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
 
@@ -452,9 +452,9 @@ ALLOW .* -> vendor/github.com/jhump/protoreflect
 # gRPC opentracing
 ALLOW .* -> vendor/github.com/opentracing-contrib/go-grpc
 
-# Job Scheduling Package
+# Job Scheduling Package 
 ALLOW .* -> vendor/github.com/jasonlvhit/gocron
-
+ 
 # The MongoDB supported driver for Go
 ALLOW .* -> vendor/go.mongodb.org/mongo-driver
 
@@ -495,11 +495,11 @@ ALLOW .* -> vendor/github.com/go-cmd/cmd
 # NVIDIA Management Library (NVML) is a C-based API for monitoring and managing NVIDIA GPU devices (for Linux only)
 ALLOW .* -> vendor/github.com/NVIDIA/gpu-monitoring-tools/bindings/go
 
-# Opentracing interface and implementation.
-ALLOW .* -> vendor/github.com/uber/jaeger-client-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/opentracing/opentracing-go
-
+ALLOW .* -> vendor/github.com/opentracing/opentracing-go 
+ 
 # Opentracing contribs
 # CONTRIB-1778
 ALLOW .* -> vendor/github.com/opentracing-contrib/go-stdlib
@@ -516,18 +516,18 @@ ALLOW .* -> vendor/github.com/dchest/siphash
 # CONTRIB-1415. Atomic.
 ALLOW .* -> vendor/go.uber.org/atomic
 
-# CONTRIB-1302. Godbus goes to Arcadia
+# CONTRIB-1302. Godbus goes to Arcadia 
 ALLOW .* -> vendor/github.com/godbus/dbus/v5
-
-# CONTRIB-1300. Osquery SDK goes to Arcadia
-ALLOW .* -> vendor/github.com/kolide/osquery-go
-
-# CONTRIB-1383. Groupcache is a caching and cache-filling library
-ALLOW .* -> vendor/github.com/golang/groupcache
-
-# Mocking framework for go.
-ALLOW .* -> vendor/github.com/golang/mock
-
+ 
+# CONTRIB-1300. Osquery SDK goes to Arcadia 
+ALLOW .* -> vendor/github.com/kolide/osquery-go 
+ 
+# CONTRIB-1383. Groupcache is a caching and cache-filling library 
+ALLOW .* -> vendor/github.com/golang/groupcache 
+ 
+# Mocking framework for go. 
+ALLOW .* -> vendor/github.com/golang/mock 
+ 
 # Go load generator. Can be used as library for custom load tools. CONTRIB-1420
 ALLOW .* -> vendor/github.com/yandex/pandora
 
@@ -658,50 +658,50 @@ ALLOW .* -> vendor/github.com/strongswan/govici/vici
 # CONTRIB-2002 A Go implementation of RTP
 ALLOW .* -> vendor/github.com/pion/rtp
 
-# CONTRIB-1959 Добавить casbin
-ALLOW .* -> vendor/github.com/casbin/casbin/v2
-
+# CONTRIB-1959 Добавить casbin 
+ALLOW .* -> vendor/github.com/casbin/casbin/v2 
+ 
 # CONTRIB-2027 caddy
 ALLOW infra/rsm/dnsmanager/internal/libcoredns -> vendor/github.com/coredns/caddy
 
-# CONTRIB-1931 coredns
-ALLOW .* -> vendor/github.com/coredns/coredns/request
-ALLOW .* -> vendor/github.com/coredns/coredns/core/dnsserver
-ALLOW .* -> vendor/github.com/coredns/coredns/coremain
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/bind
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/cache
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/chaos
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/forward
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/file
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/health
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/log
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/metrics
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/pkg
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/reload
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/rewrite
-ALLOW .* -> vendor/github.com/coredns/coredns/plugin/ready
+# CONTRIB-1931 coredns 
+ALLOW .* -> vendor/github.com/coredns/coredns/request 
+ALLOW .* -> vendor/github.com/coredns/coredns/core/dnsserver 
+ALLOW .* -> vendor/github.com/coredns/coredns/coremain 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/bind 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/cache 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/chaos 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/forward 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/file 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/health 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/log 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/metrics 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/pkg 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/reload 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/rewrite 
+ALLOW .* -> vendor/github.com/coredns/coredns/plugin/ready 
 ALLOW .* -> vendor/github.com/coredns/coredns/plugin/root
 ALLOW .* -> vendor/github.com/coredns/coredns/plugin/loadbalance
-
-# CONTRIB-2021
-ALLOW .* -> vendor/github.com/shopspring/decimal
-
+ 
+# CONTRIB-2021 
+ALLOW .* -> vendor/github.com/shopspring/decimal 
+ 
 # CONTRIB-2050
 ALLOW .* -> vendor/github.com/brianvoe/gofakeit/v6
 
 # CONTRIB-2051
 ALLOW .* -> vendor/github.com/envoyproxy/go-control-plane
 
-# CONTRIB-2043
-ALLOW .* -> vendor/github.com/xitongsys/parquet-go
-ALLOW vendor -> vendor/github.com/slon/thrift
-
+# CONTRIB-2043 
+ALLOW .* -> vendor/github.com/xitongsys/parquet-go 
+ALLOW vendor -> vendor/github.com/slon/thrift 
+ 
 # CONTRIB-2063 flatbuffers support
 ALLOW .* -> vendor/github.com/google/flatbuffers/go
 
-# CONTRIB-2073
-ALLOW .* -> vendor/github.com/andybalholm/brotli
-
+# CONTRIB-2073 
+ALLOW .* -> vendor/github.com/andybalholm/brotli 
+ 
 # CONTRIB-2081 BTree implementation for Go
 ALLOW .* -> vendor/github.com/google/btree
 
@@ -817,46 +817,46 @@ ALLOW .* -> vendor/github.com/ydb-platform/ydb-go-yc-metadata
 # CONTRIB-2099
 ALLOW .* -> vendor/github.com/haivision/srtgo
 
-# CONTRIB-2307
-ALLOW .* -> vendor/github.com/airbusgeo/godal
-ALLOW .* -> vendor/github.com/airbusgeo/osio
-
-# CONTRIB-2167
-ALLOW .* -> vendor/github.com/jarcoal/httpmock
-
-# CONTRIB-2423
-ALLOW .* -> vendor/github.com/godror/godror
-
-# CONTRIB-2439
-ALLOW .* -> vendor/github.com/elimity-com/scim
-
-# CONTRIB-2363 JSON Schema
-ALLOW .* -> vendor/github.com/santhosh-tekuri/jsonschema
-
-# CONTRIB-2356 Django-syntax like template-engine
-ALLOW .* -> vendor/github.com/flosch/pongo2/v4
-
-# CONTRIB-2355 Minifiers for web formats
-DENY .* -> vendor/github.com/tdewolff/minify/v2/cmd
-ALLOW .* -> vendor/github.com/tdewolff/minify/v2
-
-# CONTRIB-2354 Simple image processing package
-ALLOW .* -> vendor/github.com/disintegration/imaging
-
-# CONTRIB-2376 HAProxy Native Golang Client
-ALLOW .* -> vendor/github.com/haproxytech/client-native/v2
-ALLOW .* -> vendor/github.com/haproxytech/config-parser/v4
-ALLOW .* -> vendor/github.com/haproxytech/go-logger
-
-# CONTRIB-2416 Bit Reader/Writer
-ALLOW .* -> vendor/github.com/icza/bitio
-
-# CONTRIB-2420 Syslog server/parser
-ALLOW .* -> vendor/gopkg.in/mcuadros/go-syslog.v2
-
-# CONTRIB-2448 filesystem xattr support
-ALLOW .* -> vendor/github.com/pkg/xattr
-
+# CONTRIB-2307 
+ALLOW .* -> vendor/github.com/airbusgeo/godal 
+ALLOW .* -> vendor/github.com/airbusgeo/osio 
+ 
+# CONTRIB-2167 
+ALLOW .* -> vendor/github.com/jarcoal/httpmock 
+ 
+# CONTRIB-2423 
+ALLOW .* -> vendor/github.com/godror/godror 
+ 
+# CONTRIB-2439 
+ALLOW .* -> vendor/github.com/elimity-com/scim 
+ 
+# CONTRIB-2363 JSON Schema 
+ALLOW .* -> vendor/github.com/santhosh-tekuri/jsonschema 
+ 
+# CONTRIB-2356 Django-syntax like template-engine 
+ALLOW .* -> vendor/github.com/flosch/pongo2/v4 
+ 
+# CONTRIB-2355 Minifiers for web formats 
+DENY .* -> vendor/github.com/tdewolff/minify/v2/cmd 
+ALLOW .* -> vendor/github.com/tdewolff/minify/v2 
+ 
+# CONTRIB-2354 Simple image processing package 
+ALLOW .* -> vendor/github.com/disintegration/imaging 
+ 
+# CONTRIB-2376 HAProxy Native Golang Client 
+ALLOW .* -> vendor/github.com/haproxytech/client-native/v2 
+ALLOW .* -> vendor/github.com/haproxytech/config-parser/v4 
+ALLOW .* -> vendor/github.com/haproxytech/go-logger 
+ 
+# CONTRIB-2416 Bit Reader/Writer 
+ALLOW .* -> vendor/github.com/icza/bitio 
+ 
+# CONTRIB-2420 Syslog server/parser 
+ALLOW .* -> vendor/gopkg.in/mcuadros/go-syslog.v2 
+ 
+# CONTRIB-2448 filesystem xattr support 
+ALLOW .* -> vendor/github.com/pkg/xattr 
+ 
 # CONTRIB-2452
 ALLOW .* -> vendor/github.com/scim2/filter-parser/v2
 
@@ -867,9 +867,9 @@ ALLOW .* -> vendor/github.com/scim2/filter-parser/v2
 # Native Go debugger
 ALLOW vendor -> vendor/github.com/go-delve/delve/cmd/dlv
 
-# Profile visualization
-ALLOW .* -> vendor/github.com/google/pprof
-
+# Profile visualization 
+ALLOW .* -> vendor/github.com/google/pprof 
+ 
 # gRPCurl
 ALLOW vendor -> vendor/github.com/fullstorydev/grpcurl/cmd/grpcurl
 
@@ -954,16 +954,16 @@ ALLOW yabs/vh/cms-pgaas/transcoded -> vendor/github.com/jackc/pgx
 # Permanent exceptions.
 #
 
-# Docker is not vendored property. Docker dependency must be pulled-in explicitly.
-ALLOW vendor/ -> vendor/github.com/opencontainers/go-digest
-
+# Docker is not vendored property. Docker dependency must be pulled-in explicitly. 
+ALLOW vendor/ -> vendor/github.com/opencontainers/go-digest 
+ 
 # CONTRIB-865. Jaeger YT plugin. responsible: prime@
-ALLOW yt/jaeger/plugin -> vendor/github.com/jaegertracing/jaeger/plugin/storage/grpc
-ALLOW yt/jaeger/plugin -> vendor/github.com/jaegertracing/jaeger/storage/spanstore
-ALLOW yt/jaeger/plugin -> vendor/github.com/jaegertracing/jaeger/storage/dependencystore
-ALLOW yt/jaeger/plugin -> vendor/github.com/jaegertracing/jaeger/model
-ALLOW yt/jaeger/plugin -> vendor/github.com/gogo/protobuf
-ALLOW yt/jaeger/plugin -> vendor/github.com/hashicorp/go-plugin
+ALLOW yt/jaeger/plugin -> vendor/github.com/jaegertracing/jaeger/plugin/storage/grpc 
+ALLOW yt/jaeger/plugin -> vendor/github.com/jaegertracing/jaeger/storage/spanstore 
+ALLOW yt/jaeger/plugin -> vendor/github.com/jaegertracing/jaeger/storage/dependencystore 
+ALLOW yt/jaeger/plugin -> vendor/github.com/jaegertracing/jaeger/model 
+ALLOW yt/jaeger/plugin -> vendor/github.com/gogo/protobuf 
+ALLOW yt/jaeger/plugin -> vendor/github.com/hashicorp/go-plugin 
 
 # CONTRIB-1518 client for monkey-patched Apache Pulsar by TuyaInc. responsible: jock@
 ALLOW alice/iot/adapters/tuya_adapter -> vendor/github.com/TuyaInc/tuya_pulsar_sdk_go
@@ -1035,8 +1035,8 @@ ALLOW psp -> vendor/github.com/zimmski/go-mutesting
 # CONTRIB-2460
 ALLOW .* -> vendor/github.com/dgraph-io/ristretto
 
-#
-# This section is for EXCEPTIONS. Add new rule above, not here.
-#
+# 
+# This section is for EXCEPTIONS. Add new rule above, not here. 
+# 
 
-DENY .* -> vendor/
+DENY .* -> vendor/ 

+ 1 - 1
build/rules/go/ya.make

@@ -1 +1 @@
-OWNER(g:go-library)
+OWNER(g:go-library) 

+ 9 - 9
build/scripts/c_templates/svn_interface.c

@@ -74,15 +74,15 @@ int GetProgramSvnRevision() {
 #endif
 }
 
-const char* GetVCSDirty()
-{
-#if defined(DIRTY)
-    return DIRTY;
-#else
-    return 0;
-#endif
-}
-
+const char* GetVCSDirty() 
+{ 
+#if defined(DIRTY) 
+    return DIRTY; 
+#else 
+    return 0; 
+#endif 
+} 
+ 
 const char* GetProgramHash() {
 #if defined(ARCADIA_SOURCE_HG_HASH)
     return ARCADIA_SOURCE_HG_HASH;

+ 1 - 1
build/scripts/c_templates/svnversion.h

@@ -21,7 +21,7 @@ const char* GetArcadiaLastChange() Y_HIDDEN; // "2902074"
 int GetArcadiaLastChangeNum() Y_HIDDEN; // 2902074
 const char* GetArcadiaLastAuthor() Y_HIDDEN; // "dieash"
 int   GetProgramSvnRevision() Y_HIDDEN;     // 2902074
-const char* GetVCSDirty() Y_HIDDEN;
+const char* GetVCSDirty() Y_HIDDEN; 
 const char* GetProgramHash() Y_HIDDEN;
 const char* GetProgramCommitId() Y_HIDDEN;
 void PrintSvnVersionAndExit(int argc, char* argv[]) Y_HIDDEN;

+ 77 - 77
build/ya.conf.json

@@ -21,9 +21,9 @@
         "cling": {
             "description": "Run cling"
         },
-        "cue": {
-            "description": "Validate and define text-based and dynamic configuration"
-        },
+        "cue": { 
+            "description": "Validate and define text-based and dynamic configuration" 
+        }, 
         "dctl": {
             "description": "Run Yandex.Deploy CLI"
         },
@@ -68,9 +68,9 @@
         "ninja": {
             "description": "Run ninja"
         },
-        "pprof": {
-            "description": "Run pprof"
-        },
+        "pprof": { 
+            "description": "Run pprof" 
+        }, 
         "ytexec": {
             "description": "Run ytexec"
         },
@@ -1250,28 +1250,28 @@
                 }
             ]
         },
-        "cue": {
-            "tools": {
-                "cue": {
-                    "bottle": "cue",
-                    "executable": "cue"
-                }
-            },
-            "platforms": [
-                {
-                    "host": {
-                        "os": "LINUX"
-                    },
-                    "default": true
-                },
-                {
-                    "host": {
-                        "os": "DARWIN"
-                    },
-                    "default": true
-                }
-            ]
-        },
+        "cue": { 
+            "tools": { 
+                "cue": { 
+                    "bottle": "cue", 
+                    "executable": "cue" 
+                } 
+            }, 
+            "platforms": [ 
+                { 
+                    "host": { 
+                        "os": "LINUX" 
+                    }, 
+                    "default": true 
+                }, 
+                { 
+                    "host": { 
+                        "os": "DARWIN" 
+                    }, 
+                    "default": true 
+                } 
+            ] 
+        }, 
         "yoimports": {
             "tools": {
                 "yoimports": {
@@ -2668,28 +2668,28 @@
                 }
             ]
         },
-        "pprof": {
-            "tools": {
-                "pprof": {
-                    "bottle": "pprof",
-                    "executable": "pprof"
-                }
-            },
-            "platforms": [
-                {
-                    "host": {
-                        "os": "LINUX"
-                    },
-                    "default": true
-                },
-                {
-                    "host": {
-                        "os": "DARWIN"
-                    },
-                    "default": true
-                }
-            ]
-        },
+        "pprof": { 
+            "tools": { 
+                "pprof": { 
+                    "bottle": "pprof", 
+                    "executable": "pprof" 
+                } 
+            }, 
+            "platforms": [ 
+                { 
+                    "host": { 
+                        "os": "LINUX" 
+                    }, 
+                    "default": true 
+                }, 
+                { 
+                    "host": { 
+                        "os": "DARWIN" 
+                    }, 
+                    "default": true 
+                } 
+            ] 
+        }, 
         "ytexec": {
             "tools": {
                 "ytexec": {
@@ -5821,7 +5821,7 @@
         },
         "yo": {
             "formula": {
-                "sandbox_id": 1183539336,
+                "sandbox_id": 1183539336, 
                 "match": "yo"
             },
             "executable": {
@@ -5871,20 +5871,20 @@
                 ]
             }
         },
-        "cue": {
-            "formula": {
-                "sandbox_id": [
-                    631593996,
-                    631593924
-                ],
-                "match": "cue"
-            },
-            "executable": {
-                "cue": [
-                    "cue"
-                ]
-            }
-        },
+        "cue": { 
+            "formula": { 
+                "sandbox_id": [ 
+                    631593996, 
+                    631593924 
+                ], 
+                "match": "cue" 
+            }, 
+            "executable": { 
+                "cue": [ 
+                    "cue" 
+                ] 
+            } 
+        }, 
         "yoimports": {
             "formula": {
                 "sandbox_id": 1113620552,
@@ -6745,20 +6745,20 @@
                 ]
             }
         },
-        "pprof": {
-            "formula": {
-                "sandbox_id": 1115456319,
-                "match": "pprof"
-            },
-            "executable": {
-                "pprof": [
-                    "pprof"
-                ]
-            }
-        },
+        "pprof": { 
+            "formula": { 
+                "sandbox_id": 1115456319, 
+                "match": "pprof" 
+            }, 
+            "executable": { 
+                "pprof": [ 
+                    "pprof" 
+                ] 
+            } 
+        }, 
         "ytexec": {
             "formula": {
-                "sandbox_id": 1101655914,
+                "sandbox_id": 1101655914, 
                 "match": "ytexec"
             },
             "executable": {

+ 70 - 70
build/ymake.core.conf

@@ -768,17 +768,17 @@ GO_PROTO_OPTS=$_GO_PROTOC_PLUGIN_ARGS_BASE(go $GO_PROTO_GEN_TOOL MAP $GO_PROTO_P
 GO_PROTO_OUTS=
 
 # tag:go-specific tag:proto
-GO_PROTOBUF_IMPORTS=\
-    ${GOSTD}/sync \
-    ${GOSTD}/reflect \
-    ${GOSTD}/fmt \
-    ${GOSTD}/math \
-    vendor/github.com/golang/protobuf/proto \
+GO_PROTOBUF_IMPORTS=\ 
+    ${GOSTD}/sync \ 
+    ${GOSTD}/reflect \ 
+    ${GOSTD}/fmt \ 
+    ${GOSTD}/math \ 
+    vendor/github.com/golang/protobuf/proto \ 
     vendor/google.golang.org/protobuf/types/descriptorpb \
-    vendor/google.golang.org/protobuf/runtime/protoimpl \
-    vendor/google.golang.org/protobuf/runtime/protoiface \
-    vendor/google.golang.org/protobuf/reflect/protoreflect
-
+    vendor/google.golang.org/protobuf/runtime/protoimpl \ 
+    vendor/google.golang.org/protobuf/runtime/protoiface \ 
+    vendor/google.golang.org/protobuf/reflect/protoreflect 
+ 
 # tag:go-specific tag:proto
 GO_PROTOBUF_WELLKNOWN_TYPES=\
     vendor/google.golang.org/protobuf/types/known/anypb \
@@ -824,7 +824,7 @@ GO_PROTO_CMDLINE=${cwd;rootdir;input:File} $YMAKE_PYTHON ${input:"build/scripts/
 # tag:go-specific tag:proto
 macro _GO_PROTO_CMD_IMPL(File, OPTS[], OUTS[]) {
     .CMD=$GO_PROTO_CMDLINE $OPTS $OUTS ${kv;hide:"p PB"} ${kv;hide:"pc yellow"}
-    .PEERDIR=${GO_PROTOBUF_IMPORTS} ${GO_PROTOBUF_WELLKNOWN_TYPES}
+    .PEERDIR=${GO_PROTOBUF_IMPORTS} ${GO_PROTOBUF_WELLKNOWN_TYPES} 
     .ADDINCL=FOR proto contrib/libs/protobuf/src
 }
 
@@ -1420,7 +1420,7 @@ when ($COMMON_LINK_SETTINGS == "yes") {
     }
 
     when (($MUSL != "yes" && $WITH_VALGRIND == "yes") || $SANITIZER_DEFINED == "yes") {
-        when ($ALLOCATOR in [ "TCMALLOC", "TCMALLOC_SMALL_BUT_SLOW", "TCMALLOC_NUMA_256K", "TCMALLOC_NUMA_LARGE_PAGES", "TCMALLOC_256K", "GOOGLE", "J", "LF", "LF_YT", "LF_DBG", "B", "BM", "C", "LOCKLESS", "YT", "MIM", "HU" ]) {
+        when ($ALLOCATOR in [ "TCMALLOC", "TCMALLOC_SMALL_BUT_SLOW", "TCMALLOC_NUMA_256K", "TCMALLOC_NUMA_LARGE_PAGES", "TCMALLOC_256K", "GOOGLE", "J", "LF", "LF_YT", "LF_DBG", "B", "BM", "C", "LOCKLESS", "YT", "MIM", "HU" ]) { 
             PEERDIR+=library/cpp/malloc/system
         }
     }
@@ -1432,26 +1432,26 @@ when ($COMMON_LINK_SETTINGS == "yes") {
             "HU" ? {
                 PEERDIR+=library/cpp/malloc/hu
             }
-            "TCMALLOC_256K" ? {
-                PEERDIR+=library/cpp/malloc/tcmalloc
-                PEERDIR+=contrib/libs/tcmalloc
-            }
-            "TCMALLOC_SMALL_BUT_SLOW" ? {
-                PEERDIR+=library/cpp/malloc/tcmalloc
-                PEERDIR+=contrib/libs/tcmalloc/small_but_slow
-            }
-            "TCMALLOC_NUMA_256K" ? {
-                PEERDIR+=library/cpp/malloc/tcmalloc
-                PEERDIR+=contrib/libs/tcmalloc/numa_256k
-            }
-            "TCMALLOC_NUMA_LARGE_PAGES" ? {
-                PEERDIR+=library/cpp/malloc/tcmalloc
-                PEERDIR+=contrib/libs/tcmalloc/numa_large_pages
-            }
-            "TCMALLOC" ? {
+            "TCMALLOC_256K" ? { 
                 PEERDIR+=library/cpp/malloc/tcmalloc
-                PEERDIR+=contrib/libs/tcmalloc/default
+                PEERDIR+=contrib/libs/tcmalloc 
             }
+            "TCMALLOC_SMALL_BUT_SLOW" ? { 
+                PEERDIR+=library/cpp/malloc/tcmalloc 
+                PEERDIR+=contrib/libs/tcmalloc/small_but_slow 
+            } 
+            "TCMALLOC_NUMA_256K" ? { 
+                PEERDIR+=library/cpp/malloc/tcmalloc 
+                PEERDIR+=contrib/libs/tcmalloc/numa_256k 
+            } 
+            "TCMALLOC_NUMA_LARGE_PAGES" ? { 
+                PEERDIR+=library/cpp/malloc/tcmalloc 
+                PEERDIR+=contrib/libs/tcmalloc/numa_large_pages 
+            } 
+            "TCMALLOC" ? { 
+                PEERDIR+=library/cpp/malloc/tcmalloc 
+                PEERDIR+=contrib/libs/tcmalloc/default 
+            } 
             "GOOGLE" ? {
                 PEERDIR+=library/cpp/malloc/galloc
             }
@@ -5280,7 +5280,7 @@ macro ADD_PERL_MODULE(Dir, Module) {
 macro ALLOCATOR(Alloc) {
     SET(ALLOCATOR $Alloc)
 
-    when ($ALLOCATOR in [ "LF", "LF_YT", "LF_DBG", "YT", "J", "B", "BM", "C", "TCMALLOC", "TCMALLOC_SMALL_BUT_SLOW", "TCMALLOC_NUMA_256K", "TCMALLOC_NUMA_LARGE_PAGES", "TCMALLOC_256K", "GOOGLE", "LOCKLESS", "SYSTEM", "FAKE", "MIM", "HU" ]) {
+    when ($ALLOCATOR in [ "LF", "LF_YT", "LF_DBG", "YT", "J", "B", "BM", "C", "TCMALLOC", "TCMALLOC_SMALL_BUT_SLOW", "TCMALLOC_NUMA_256K", "TCMALLOC_NUMA_LARGE_PAGES", "TCMALLOC_256K", "GOOGLE", "LOCKLESS", "SYSTEM", "FAKE", "MIM", "HU" ]) { 
     }
     otherwise {
         PEERDIR+=___configure_error___unknown_allocator_type___$ALLOCATOR
@@ -6440,7 +6440,7 @@ macro ARCHIVE_BY_KEYS(NAME="", KEYS="", DONTCOMPRESS?"-p":"", REQUIREMENTS[], Fi
 #special commands
 BUILDVERSION_SCRIPT=build/scripts/build_info_gen.py
 SVNVERSION_JAVA_MARKER=output-java-class
-SVNVERSION_GO_MARKER=output-go
+SVNVERSION_GO_MARKER=output-go 
 VCS_C_OBJ=$BINDIR/__vcs_version__.c$OBJECT_SUF
 VCS_C_OBJ_RR=$MODDIR/__vcs_version__.c$OBJECT_SUF
 VCS_C=$BINDIR/__vcs_version__.c
@@ -7934,7 +7934,7 @@ _GO_COMPILE_SYMABIS_TRIMPATH__NO_UID__=
 _GO_IMPORT_PATH=${MODDIR}
 
 # tag:go-specific
-GO_VET=yolint
+GO_VET=yolint 
 GO_VET_TOOL=
 GO_VET_FLAGS=
 GO_VET_EXTRA_FLAGS=
@@ -8090,11 +8090,11 @@ GO_LINK_TEST=$GENERATE_VCS_C_INFO_NODEP && $GENERATE_VCS_GO_INFO_NODEP && $_GO_L
 GO_LINK_DLL=$GO_LINK_EXE && $COPY_CMD $BINDIR/_cgo_export.h ${output;pre=${MODULE_PREFIX};suf=.h:REALPRJNAME}
 
 # tag:go-specific
-CGO_ENABLED=yes
+CGO_ENABLED=yes 
 when ($OS_WINDOWS == "yes" || $SANITIZER_TYPE && $SANITIZER_TYPE != "no") {
-    CGO_ENABLED=no
-}
-
+    CGO_ENABLED=no 
+} 
+ 
 # tag:go-specific
 GO_PACKAGE_VALUE=
 ### @usage: GO_PACKAGE_NAME(Name)
@@ -8430,12 +8430,12 @@ module _GO_BASE_UNIT: _BASE_UNIT {
             _GO_VET=yes
             PEERDIR+=build/external_resources/yolint
             _GO_VET_TOOL=${YOLINT_NEXT_RESOURCE_GLOBAL}/yolint
-            _GO_VET_FLAGS=-copyproto=false
-        }
-        "local" ? {
-            _GO_VET=yes
-            _GO_VET_FLAGS=
+            _GO_VET_FLAGS=-copyproto=false 
         }
+        "local" ? { 
+            _GO_VET=yes 
+            _GO_VET_FLAGS= 
+        } 
         default ? {
             _GO_VET=no
             _GO_VET_FLAGS=
@@ -8670,38 +8670,38 @@ module GO_TEST: GO_PROGRAM {
 }
 
 # tag:go-specific
-macro GO_MOCKGEN_FROM(Path) {
-    SET(MOCKGEN_FROM ${Path})
-}
-
+macro GO_MOCKGEN_FROM(Path) { 
+    SET(MOCKGEN_FROM ${Path}) 
+} 
+ 
 # tag:go-specific
-macro GO_MOCKGEN_TYPES(First, Rest...) {
-     SET(MOCKGEN_FIRST $First)
-     SET(MOCKGEN_REST $Rest)
-}
+macro GO_MOCKGEN_TYPES(First, Rest...) { 
+     SET(MOCKGEN_FIRST $First) 
+     SET(MOCKGEN_REST $Rest) 
+} 
 
 # tag:go-specific
-macro GO_MOCKGEN_REFLECT() {
-    PEERDIR(${GOSTD}/encoding/gob)
-    PEERDIR(${GOSTD}/flag)
-    PEERDIR(${GOSTD}/fmt)
-    PEERDIR(${GOSTD}/os)
-    PEERDIR(${GOSTD}/path)
-    PEERDIR(${GOSTD}/reflect)
-    PEERDIR(vendor/github.com/golang/mock/mockgen/model)
-    PEERDIR(${MOCKGEN_FROM})
-
-    RUN_PROGRAM(vendor/github.com/golang/mock/mockgen -prog_only a.yandex-team.ru/${MOCKGEN_FROM} $MOCKGEN_FIRST${pre=$__COMMA__:MOCKGEN_REST} STDOUT main.go)
-}
-
+macro GO_MOCKGEN_REFLECT() { 
+    PEERDIR(${GOSTD}/encoding/gob) 
+    PEERDIR(${GOSTD}/flag) 
+    PEERDIR(${GOSTD}/fmt) 
+    PEERDIR(${GOSTD}/os) 
+    PEERDIR(${GOSTD}/path) 
+    PEERDIR(${GOSTD}/reflect) 
+    PEERDIR(vendor/github.com/golang/mock/mockgen/model) 
+    PEERDIR(${MOCKGEN_FROM}) 
+ 
+    RUN_PROGRAM(vendor/github.com/golang/mock/mockgen -prog_only a.yandex-team.ru/${MOCKGEN_FROM} $MOCKGEN_FIRST${pre=$__COMMA__:MOCKGEN_REST} STDOUT main.go) 
+} 
+ 
 # tag:go-specific
-macro GO_MOCKGEN_MOCKS() {
-    PEERDIR(${GOSTD}/reflect)
-    PEERDIR(vendor/github.com/golang/mock/gomock)
-
-    RUN_PROGRAM(vendor/github.com/golang/mock/mockgen -package mocks -exec_only ${BINDIR}/gen/gen a.yandex-team.ru/${MOCKGEN_FROM} $MOCKGEN_FIRST${pre=$__COMMA__:MOCKGEN_REST} TOOL ${MODDIR}/gen STDOUT mocks.go)
-}
-
+macro GO_MOCKGEN_MOCKS() { 
+    PEERDIR(${GOSTD}/reflect) 
+    PEERDIR(vendor/github.com/golang/mock/gomock) 
+ 
+    RUN_PROGRAM(vendor/github.com/golang/mock/mockgen -package mocks -exec_only ${BINDIR}/gen/gen a.yandex-team.ru/${MOCKGEN_FROM} $MOCKGEN_FIRST${pre=$__COMMA__:MOCKGEN_REST} TOOL ${MODDIR}/gen STDOUT mocks.go) 
+} 
+ 
 # tag:java-specific
 JAVA_IGNORE_CLASSPATH_CLASH_VALUE=
 ### @usage: JAVA_IGNORE_CLASSPATH_CLASH_FOR([classes])

Some files were not shown because too many files changed in this diff