aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-13 22:31:18 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-13 22:31:18 +0300
commit0d21c9d5c7fda1d0fdeddad8beccc0338cb33c41 (patch)
tree5895d3bc79b846adf02cfb836c9f2039db0cc6ef
parent642a79321672b18325904452fa97fa708767a0c4 (diff)
downloadydb-0d21c9d5c7fda1d0fdeddad8beccc0338cb33c41.tar.gz
intermediate changes
ref:195ee9a494ddf56c6c8a87e6e37b8184023002f3
-rw-r--r--build/config/tests/clang_tidy/maps.yaml3
-rw-r--r--build/rules/autocheck.blacklist39
-rw-r--r--build/ya.conf.json134
-rw-r--r--contrib/python/jedi/.yandex_meta/yamaker.yaml3
-rw-r--r--contrib/python/jedi/AUTHORS.txt55
-rw-r--r--contrib/python/jedi/patches/01-arcadia.patch46
6 files changed, 145 insertions, 135 deletions
diff --git a/build/config/tests/clang_tidy/maps.yaml b/build/config/tests/clang_tidy/maps.yaml
index 38201eca5f..7373dee89a 100644
--- a/build/config/tests/clang_tidy/maps.yaml
+++ b/build/config/tests/clang_tidy/maps.yaml
@@ -1,8 +1,9 @@
Checks: >
-*,
+ arcadia-typeid-name-restriction,
bugprone-use-after-move,
performance-implicit-conversion-in-loop,
- readability-identifier-naming
+ readability-identifier-naming,
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
diff --git a/build/rules/autocheck.blacklist b/build/rules/autocheck.blacklist
index d4aa19be86..ea3f70e646 100644
--- a/build/rules/autocheck.blacklist
+++ b/build/rules/autocheck.blacklist
@@ -1138,3 +1138,42 @@ kinopoisk/sre/config-monrun-media-recalc
data-ui/snapter
data-ui/cloud-org
kinopoisk/sre/yasm-mdb-pg-alerts
+admins/yandex-media-mongo-dumper
+admins/yandex-media-cassandra-repair-tool
+admins/yandex-graphite-checks-nginx-errlog-rate
+admins/yandex-tv-xscript-watchdog
+admins/yandex-media-common-lxd-setip
+haas/bot/vintage/hwr
+admins/generate-awacs-config
+taxi/infra/strongbox-conf-testing
+tv/sre/yandex-tv-xscript-watchdog
+strm/admins/ubic-simple-daemon-with-check
+admins/yandex-media-check-route
+admins/switter2grafana
+admins/yandex-media-common-sslcert-check
+admins/yandex-media-dolivka
+admins/yandex-conf-repo-media-common
+kinopoisk/sre/udp2sentry
+strm/channel-data-collector
+kinopoisk/sre/yandex-media-common-youtube-dl-updater
+admins/yandex-media-py-log-processor
+admins/yandex-media-jumbo-check
+admins/corba-mongo-backup
+admins/yandex-media-teamcity-monitoring
+admins/yandex-media-mongo-slow-queries
+admins/admins-pylint
+admins/yandex-graphite-checks-phpfpm
+admins/yandex-solomon-phpfpm-stat-daemon
+admins/sphinx-monitoring
+admins/pymonmongo
+admins/elasticsearch-index-cleaner
+admins/yandex-nginx-stub-to-solomon
+admins/yandex-media-common-hbf-agent-lxctl-plugin
+admins/media-ipset-ban
+admins/yandex-media-nginx-errorlog-check
+admins/yandex-media-common-lxd-cloud-agent
+admins/yandex-media-common-selfdns-plugin
+admins/yandex-media-iptables-c-group
+admins/mongodb-consistent-backup
+admins/yabs-graphite-sender-config-corba
+admins/mysql-configurator-js
diff --git a/build/ya.conf.json b/build/ya.conf.json
index 695035744b..9f881a0d61 100644
--- a/build/ya.conf.json
+++ b/build/ya.conf.json
@@ -2146,100 +2146,6 @@
"gcc_version": "13.1"
}
},
- "xcode_12_1": {
- "tools": {
- "c++": {
- "bottle": "xcode_12_1",
- "executable": "c++"
- },
- "cc": {
- "bottle": "xcode_12_1",
- "executable": "cc"
- },
- "llvm-cov": {
- "bottle": "xcode_12_1",
- "executable": "llvm-cov"
- },
- "llvm-profdata": {
- "bottle": "xcode_12_1",
- "executable": "llvm-profdata"
- },
- "nm": {
- "bottle": "xcode_12_1",
- "executable": "llvm-nm"
- },
- "strip": {
- "bottle": "xcode_12_1",
- "executable": "strip"
- }
- },
- "platforms": [
- {
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "os": "DARWIN",
- "arch": "x86_64"
- },
- "default": false
- },
- {
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "os": "IOS",
- "arch": "i386"
- },
- "default": false
- },
- {
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "os": "IOS",
- "arch": "x86_64"
- },
- "default": false
- },
- {
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "os": "IOS",
- "arch": "armv7"
- },
- "default": false
- },
- {
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "os": "IOS",
- "arch": "arm64"
- },
- "default": false
- }
- ],
- "params": {
- "type": "xcode",
- "match_root": "CLANG",
- "werror_mode": "all",
- "c_compiler": "$(CLANG)/usr/bin/clang",
- "cxx_compiler": "$(CLANG)/usr/bin/clang++",
- "cxx_std": "c++17",
- "ar": "$(CLANG)/usr/bin/libtool",
- "inplace_tools": true,
- "gcc_version": "8.0",
- "dwarf_tool": {
- "DARWIN": "$(CLANG)/usr/bin/dsymutil -flat"
- }
- }
- },
"xcode_12_5": {
"tools": {
"c++": {
@@ -6442,46 +6348,6 @@
]
}
},
- "xcode_12_1": {
- "formula": {
- "sandbox_id": [
- 816448826
- ],
- "match": "toolchain"
- },
- "executable": {
- "c++": [
- "usr",
- "bin",
- "clang++"
- ],
- "cc": [
- "usr",
- "bin",
- "clang"
- ],
- "llvm-cov": [
- "usr",
- "bin",
- "llvm-cov"
- ],
- "llvm-profdata": [
- "usr",
- "bin",
- "llvm-profdata"
- ],
- "llvm-nm": [
- "usr",
- "bin",
- "llvm-nm"
- ],
- "strip": [
- "usr",
- "bin",
- "strip"
- ]
- }
- },
"xcode_12_5": {
"formula": {
"sandbox_id": [
diff --git a/contrib/python/jedi/.yandex_meta/yamaker.yaml b/contrib/python/jedi/.yandex_meta/yamaker.yaml
new file mode 100644
index 0000000000..9f790bfdd7
--- /dev/null
+++ b/contrib/python/jedi/.yandex_meta/yamaker.yaml
@@ -0,0 +1,3 @@
+additional_requirements:
+- setuptools
+
diff --git a/contrib/python/jedi/AUTHORS.txt b/contrib/python/jedi/AUTHORS.txt
new file mode 100644
index 0000000000..0d4ac10e92
--- /dev/null
+++ b/contrib/python/jedi/AUTHORS.txt
@@ -0,0 +1,55 @@
+Main Authors
+============
+
+David Halter (@davidhalter) <davidhalter88@gmail.com>
+Takafumi Arakaki (@tkf) <aka.tkf@gmail.com>
+
+Code Contributors
+=================
+
+Danilo Bargen (@dbrgn) <mail@dbrgn.ch>
+Laurens Van Houtven (@lvh) <_@lvh.cc>
+Aldo Stracquadanio (@Astrac) <aldo.strac@gmail.com>
+Jean-Louis Fuchs (@ganwell) <ganwell@fangorn.ch>
+tek (@tek)
+Yasha Borevich (@jjay) <j.borevich@gmail.com>
+Aaron Griffin <aaronmgriffin@gmail.com>
+andviro (@andviro)
+Mike Gilbert (@floppym) <floppym@gentoo.org>
+Aaron Meurer (@asmeurer) <asmeurer@gmail.com>
+Lubos Trilety <ltrilety@redhat.com>
+Akinori Hattori (@hattya) <hattya@gmail.com>
+srusskih (@srusskih)
+Steven Silvester (@blink1073)
+Colin Duquesnoy (@ColinDuquesnoy) <colin.duquesnoy@gmail.com>
+Jorgen Schaefer (@jorgenschaefer) <contact@jorgenschaefer.de>
+Fredrik Bergroth (@fbergroth)
+Mathias Fußenegger (@mfussenegger)
+Syohei Yoshida (@syohex) <syohex@gmail.com>
+ppalucky (@ppalucky)
+immerrr (@immerrr) immerrr@gmail.com
+Albertas Agejevas (@alga)
+Savor d'Isavano (@KenetJervet) <newelevenken@163.com>
+Phillip Berndt (@phillipberndt) <phillip.berndt@gmail.com>
+Ian Lee (@IanLee1521) <IanLee1521@gmail.com>
+Farkhad Khatamov (@hatamov) <comsgn@gmail.com>
+Kevin Kelley (@kelleyk) <kelleyk@kelleyk.net>
+Sid Shanker (@squidarth) <sid.p.shanker@gmail.com>
+Reinoud Elhorst (@reinhrst)
+Guido van Rossum (@gvanrossum) <guido@python.org>
+Dmytro Sadovnychyi (@sadovnychyi) <jedi@dmit.ro>
+Cristi Burcă (@scribu)
+bstaint (@bstaint)
+Mathias Rav (@Mortal) <rav@cs.au.dk>
+Daniel Fiterman (@dfit99) <fitermandaniel2@gmail.com>
+Simon Ruggier (@sruggier)
+Élie Gouzien (@ElieGouzien)
+Robin Roth (@robinro)
+Malte Plath (@langsamer)
+Anton Zub (@zabulazza)
+Maksim Novikov (@m-novikov) <mnovikov.work@gmail.com>
+Tobias Rzepka (@TobiasRzepka)
+micbou (@micbou)
+Dima Gerasimov (@karlicoss) <karlicoss@gmail.com>
+
+Note: (@user) means a github user name.
diff --git a/contrib/python/jedi/patches/01-arcadia.patch b/contrib/python/jedi/patches/01-arcadia.patch
new file mode 100644
index 0000000000..d1e2311fd9
--- /dev/null
+++ b/contrib/python/jedi/patches/01-arcadia.patch
@@ -0,0 +1,46 @@
+--- contrib/python/jedi/jedi/evaluate/compiled/fake.py (index)
++++ contrib/python/jedi/jedi/evaluate/compiled/fake.py (working tree)
+@@ -3,22 +3,26 @@ Loads functions that are mixed in to the standard library. E.g. builtins are
+ written in C (binaries), but my autocompletion only understands Python code. By
+ mixing in Python code, the autocompletion should work much better for builtins.
+ """
+-
++import sys
+ import os
+ from itertools import chain
+
++import __res
++
+ from jedi._compatibility import unicode
+
+ fake_modules = {}
+
+
+ def _get_path_dict():
+- path = os.path.dirname(os.path.abspath(__file__))
++ path = os.path.dirname(__file__)
+ base_path = os.path.join(path, 'fake')
+ dct = {}
+- for file_name in os.listdir(base_path):
+- if file_name.endswith('.pym'):
+- dct[file_name[:-4]] = os.path.join(base_path, file_name)
++ for file_name in __res.resfs_files():
++ if sys.version_info[0] == 3:
++ file_name = str(file_name, 'ascii')
++ if file_name.startswith(base_path) and file_name.endswith('.pym'):
++ dct[file_name[len(base_path) + 1:-4]] = file_name
+ return dct
+
+
+@@ -45,8 +49,9 @@ def _load_faked_module(evaluator, module_name):
+ fake_modules[module_name] = None
+ return
+
+- with open(path) as f:
+- source = f.read()
++ if sys.version_info[0] == 3:
++ path = bytes(path, 'ascii')
++ source = __res.resfs_read(path)
+
+ fake_modules[module_name] = m = evaluator.latest_grammar.parse(unicode(source))
+