Mikhail f. Shiryaev
4309236e17
Adjust check-workflows to exit-on-errors
2022-03-22 17:38:46 +01:00
taiyang-li
1b9987ceb1
fix mistake in check-style
2022-03-05 14:22:56 +08:00
Mikhail f. Shiryaev
a7325bbe32
Fix check-workflows in style check, iterate over checks
2022-02-03 18:36:01 +01:00
Azat Khuzhin
7111f411df
check-style: ignore comments for currentDatabase() check
...
Inaccurate, but should OK for check-style scripts.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-25 13:16:45 +03:00
Azat Khuzhin
5c8d02724c
check-style: add a note about find_path/find_library check
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:23 +03:00
Azat Khuzhin
7dcc037296
check-style: add a check that there is no system-wide library in use
2022-01-20 10:02:02 +03:00
alesapin
5257b413d4
Merge pull request #33612 from ClickHouse/workflow-linting
...
Add actionlint configuration and fix all issues
2022-01-14 11:41:48 +03:00
Mikhail f. Shiryaev
49fa1a1cd3
Add linter and checker for workflow files
2022-01-13 21:40:21 +01:00
taiyang-li
1e102bc1b2
merge master
2022-01-01 09:01:06 +08:00
taiyang-li
9036b18c2f
merge master
2021-12-27 15:12:48 +08:00
Azat Khuzhin
6d9d7df9d6
check-style: check for event_time/event_date = today() queries
2021-12-26 16:25:15 +03:00
Azat Khuzhin
78f66c6d72
check-style: remove absolete filters
...
Follow-up for: eaba6a7f59
2021-12-26 16:13:03 +03:00
avogar
602578deab
Update bool serialization/deserialization for Values format
2021-12-24 13:20:58 +03:00
lgbo-ustc
2cebda874d
remove debug modification
2021-12-20 11:50:38 +08:00
taiyang-li
2f4e7e1d4e
merge master
2021-12-02 19:48:21 +08:00
Azat Khuzhin
b59e0c65ea
Fix style-check for ProfileEvents checking
2021-12-01 10:26:00 +03:00
lgbo-ustc
1014ca8c58
make two loops in clearing cached files into one
2021-11-30 17:57:58 +08:00
Alexey Milovidov
ba74a268a4
Forbid files that differ only by character case
2021-11-26 01:27:56 +03:00
Azat Khuzhin
fbe80cd080
Improve style check for ProfileEvents and CurrentMetrics
2021-11-10 21:15:27 +03:00
Azat Khuzhin
e2cdd49dba
check-style: remove Parser/New (antrl had been removed)
2021-11-10 21:15:27 +03:00
Azat Khuzhin
fa50dd885c
Run pylint for ci scripts
2021-10-27 10:03:23 +03:00
alesapin
6d8853698b
Merge branch 'master' into trying_actions
2021-10-19 17:45:37 +03:00
alesapin
1df70af14e
Fix style check one more time:
2021-09-30 16:08:12 +03:00
alesapin
2aa852388f
Fix style check
2021-09-30 15:34:44 +03:00
kssenii
410b17b4a1
Fix
2021-09-30 06:35:35 +00:00
Azat Khuzhin
e709ead11a
Add std::cerr/std::cout style check
2021-09-28 10:28:28 +03:00
Alexey Milovidov
cd7f9d981c
Remove ya.make
2021-09-25 04:22:54 +03:00
alexey-milovidov
2990cdfc6d
Update check-style
2021-08-27 23:59:56 +03:00
kssenii
3f7259f955
Check error codes in style-check, update test
2021-08-27 16:26:26 +03:00
Azat Khuzhin
673f3b4d8d
check-style: refactor database column filter check
2021-08-09 09:50:50 +03:00
Azat Khuzhin
ba97ffb909
Add system.mutations for database filter check
2021-08-09 09:50:50 +03:00
Azat Khuzhin
2bfdf0d5a1
check-style: check system.projection_parts for database filter
2021-08-08 19:31:57 +03:00
Azat Khuzhin
3cda5960ec
check-style: allow currentDatabase() for ReplicatedMergeTree definition too
2021-08-05 10:11:37 +03:00
Azat Khuzhin
09fa82c244
check-style: fix {database} macro pattern
2021-08-05 09:58:21 +03:00
Azat Khuzhin
507eae9aed
check-style: skip *.gen for ReplicatedMergeTree check
2021-08-05 09:51:59 +03:00
Azat Khuzhin
a783b05755
check-style: improve check for ReplicatedMergeTree
2021-08-05 09:50:25 +03:00
Azat Khuzhin
6c61d3731e
check-style: cover *.j2 too
2021-08-05 09:50:09 +03:00
Azat Khuzhin
617cdd5d4d
check-style: add a check for ReplicatedMergeTree in *.sql
2021-08-05 09:49:48 +03:00
Azat Khuzhin
03e28e1cdf
check-style: database filter for system.{tables,parts,parts_columns,columns}
2021-05-22 14:07:21 +03:00
Azat Khuzhin
1ad78a39ed
check-style: improve current_database check
2021-05-22 14:07:21 +03:00
Alexey Milovidov
63a287ebee
Remove garbage from CMakeLists (2)
2021-04-25 02:01:48 +03:00
Alexey Milovidov
4ff812db7f
Maybe better support for paths with whitespaces
2021-04-24 22:47:52 +03:00
Azat Khuzhin
6c2622d451
Add style check for ReplicatedMergeTree path
2021-03-16 07:22:32 +03:00
Azat Khuzhin
b9cb8fdbad
Exclude contrib for yamllint check
2021-02-21 10:45:05 +03:00
Azat Khuzhin
2db3a6af49
Add yamllint into style check
2021-02-20 23:25:21 +03:00
Anton Popov
47c610be14
Merge pull request #19726 from CurtizJ/style-check
...
Allow to run all style checks in one file
2021-02-08 16:24:49 +03:00
Azat Khuzhin
7d9c892e60
check-style: fix "fatal: not a git repository: /place/sandbox-data/tasks/0/2/882869720/ClickHouse/.git/modules/contrib/AMQP-CPP" error
...
check-style uses "git status" to see changed ya.make files.
However it seems that that the sources was cloned some ancient git
version, likely <2.8, since there was a bug, that has been fixed in 2.8
[1]:
" * A partial rewrite of "git submodule" in the 2.7 timeframe changed
the way the gitdir: pointer in the submodules point at the real
repository location to use absolute paths by accident. This has
been corrected."
[1]: cf11a67975/Documentation/RelNotes/2.8.3.txt (L33-L36)
2021-01-30 00:29:21 +03:00
Azat Khuzhin
480c75bacf
check-style: pass path to rc file for pylint
2021-01-29 23:11:53 +03:00
Anton Popov
9c2130cc17
allow to run style check from other directories
2021-01-28 03:13:30 +03:00
Anton Popov
6c7ecc1aa0
allow to run all style checks in one file
2021-01-28 02:47:47 +03:00
Alexander Kuzmenkov
331e8211db
Merge pull request #19675 from azat/tests-query_log-current_database
...
Require current_database filter for tests with query_log/query_thread_log
2021-01-27 18:00:33 +03:00
Azat Khuzhin
9c5d83d6bc
Check that tests with query_log/query_thread_log includes current_database filter
2021-01-27 00:18:32 +03:00
Azat Khuzhin
93d375f67a
Check clickhouse-test with pylint during style check
2021-01-27 00:14:23 +03:00
Alexander Tokmakov
14e842c197
print stderr of failed subprocess
2021-01-22 17:27:23 +03:00
Alexey Milovidov
aa2e89611d
Remove sumburConsistentHash function
2020-12-31 02:22:04 +03:00
Yatsishin Ilya
011d2b4631
disable couple checks for now
2020-12-29 17:57:12 +03:00
Yatsishin Ilya
5869123a86
no empty line for check-duplicate-includes
2020-12-29 17:57:12 +03:00
Yatsishin Ilya
a25fa1996b
fix style checks
2020-12-29 17:57:12 +03:00
Yatsishin Ilya
7e37743c37
run check-typos separately for now
2020-12-29 17:57:12 +03:00
Yatsishin Ilya
f36e8f13c0
more fixes after rebase
2020-12-24 13:48:10 +03:00
Yatsishin Ilya
ce1e2b18a3
Fix codespell warnings. Split style checks. Update style checks docker
2020-12-24 13:17:52 +03:00
Alexey Milovidov
5bdf287910
Check for conflict markers in docs
2020-12-22 00:55:54 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
vdimir
e2fac19686
Remove libbtrie
2020-11-21 21:31:15 +03:00
tavplubix
058aa8f85e
Merge pull request #16824 from ClickHouse/replace_stringstreams_with_buffers
...
Replace std::*stringstreams with DB::*Buffers
2020-11-12 01:11:44 +03:00
Alexander Tokmakov
b94cc5c4e5
remove more stringstreams
2020-11-10 21:22:26 +03:00
Danila Kutenin
811c3e5cd1
Fix submodules
2020-11-10 01:32:50 +03:00
Danila Kutenin
5d138f3475
Fix submodules for fast test
2020-11-10 01:31:24 +03:00
Alexander Tokmakov
5cdfcfb307
remove other stringstreams
2020-11-09 22:12:44 +03:00
Alexander Tokmakov
a06be511df
pcg serialization
2020-11-09 16:07:38 +03:00
Alexey Milovidov
baf55437fa
Better diagnostics in check-style script
2020-10-26 22:17:01 +03:00
Alexey Milovidov
32ed8c9681
Fix trailing whitespace
2020-10-26 22:12:40 +03:00
Alexey Milovidov
942828f4d5
Check style
2020-10-25 00:54:17 +03:00
Alexey Milovidov
85c69aad7f
Add check for BOM
2020-10-24 09:23:54 +03:00
Alexey Milovidov
c23c7e3bba
Check for executable bit on non-executable files
2020-10-11 19:26:11 +03:00
Alexey Milovidov
c214fd97b2
Addition to prev. revision
2020-10-10 23:23:58 +03:00
Alexey Milovidov
269b6383f5
Check for #pragma once in headers
2020-10-10 21:37:02 +03:00
Alexander Kuzmenkov
499e0766e5
Check docker scripts with shellcheck
2020-09-30 20:06:46 +03:00
Alexey Milovidov
425297e9c9
Check that ya.make files are auto-generated
2020-08-19 12:40:28 +03:00
Alexey Milovidov
e43746395e
Merge branch 'master' into codespell-2
2020-08-16 14:57:21 +03:00
alexey-milovidov
966dd287b7
Merge branch 'master' into shellcheck3
2020-08-15 19:49:22 +03:00
Alexey Milovidov
145ad95e2a
Revert check location of Docker compose files @qoega.
2020-08-15 07:23:23 +03:00
Yatsishin Ilya
ede56a7503
Fix
2020-08-14 17:41:03 +03:00
Yatsishin Ilya
ab337b243a
Add docker for style check
2020-08-14 16:09:23 +03:00
Alexey Milovidov
e4d02f6b51
Update for useless script #13599
2020-08-12 06:03:47 +03:00
Alexey Milovidov
b633b49e07
Enable Shellcheck in CI
2020-08-09 02:26:59 +03:00
Alexey Milovidov
726f5b082a
Fix build
2020-08-08 17:10:49 +03:00
Alexey Milovidov
6c4df0f27a
Better tool
2020-08-08 17:10:49 +03:00
Alexey Milovidov
0688e1671f
Run check-typos within check-style
2020-08-08 17:10:49 +03:00
Alexey Milovidov
cacca83839
Added a tool to check for typos; added dictionaries.
2020-08-08 17:10:27 +03:00
Alexey Milovidov
11228a127d
Check for copy-pasted GPL code
2020-08-08 05:08:36 +03:00
Alexey Milovidov
e942104eb5
Add a check
2020-08-06 06:13:02 +03:00
Ivan Blinkov
2c0ff29c48
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-22 10:06:36 +03:00
Alexey Milovidov
dec883e21b
Check for tests with "fail" in their names
2020-06-20 09:28:19 +03:00
Ivan Blinkov
709b4f42c8
Prototype sending crash reports on segfaults
2020-05-27 22:11:04 +03:00
Yatsishin Ilya
8787cde9c5
fix check-ungrouped-includes.sh
2020-04-14 10:15:02 +03:00
Yatsishin Ilya
c7d3417f62
fix check-include
2020-04-14 10:15:02 +03:00
Alexey Milovidov
1526722333
Enforce that there is no machine translation to russian #10191
2020-04-11 18:54:26 +03:00
Alexey Milovidov
110eb599c1
Fix "check style" tool
2020-04-06 02:57:24 +03:00
Alexey Milovidov
646f409b8e
Fix "check style" tool
2020-04-06 02:51:26 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up ( #9974 )
...
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00
Alexey Milovidov
e335926882
Check XML validity
2020-03-07 06:28:03 +03:00
Alexey Milovidov
c24cd0ea20
Ensure the number of empty lines
2020-03-03 05:45:20 +03:00
Alexey Milovidov
8f90c6ec12
Fixed ErrorCodes, part 3
2020-02-25 21:20:08 +03:00
Alexey Milovidov
3602126a1e
Remove unused ErrorCodes
2020-02-25 17:35:37 +03:00
Alexey Milovidov
c76ff369bb
Fix check-style #9161
2020-02-17 22:09:56 +03:00
Ivan Lezhankin
922add6244
Fix check-style util
2020-02-17 19:30:25 +03:00
Alexey Milovidov
b42f85e16b
Added a check for double whitespaces
2019-08-23 21:30:04 +03:00
Alexey Milovidov
5fd649e663
Check for broken symlinks #6625
2019-08-23 18:10:33 +03:00
Alexey Milovidov
f38042f006
Check for namespace comments in "check-style" tool #5561
2019-06-13 13:45:32 +03:00
proller
cc3de4115f
Build fixes ( #5261 )
2019-05-14 12:58:33 +03:00
proller
525726a5e2
Remove pocoext ( #5036 )
2019-04-17 20:36:58 +03:00
proller
cf8001b6a9
Fix includes ( #4673 )
2019-03-13 16:58:04 +03:00
Alexey Milovidov
57e038c754
Added a script to check for ungrouped includes
2019-02-10 20:40:18 +03:00
Alexey Milovidov
fdf69f38c0
Added a script to check for duplicate includes
2019-02-10 20:00:29 +03:00
proller
0939387514
Build fixes ( #4076 )
...
Move copy_headers.sh and formath.sh from root.
Debian: use default build dir (obj-x86_64-linux-gnu)
Debian: add test after build (GLIBC_required_version)
cmake: dont run copy headers if already copied
2019-01-18 18:19:53 +03:00
proller
1a0a879a51
Build fixes
2018-12-27 18:23:37 +03:00
proller
bebaf9d861
Fix includes, Faster compile ( #3898 )
...
* Fix includes
* Faster compile
* WTFix
* Limit compile and linking jobs according to available memory
* Add comment
* fix
* Remove ALL from copy-headers target
* Freebsd fix
* Better
* cmake: split use libcxx
2018-12-23 17:19:11 +03:00
proller
6869771ae4
Fix includes
2018-12-19 20:57:51 +03:00
Alexey Milovidov
7d6fffff48
More style checks [#CLICKHOUSE-3]
2018-11-24 04:48:06 +03:00
Alexey Milovidov
5ec3db20cd
More style checks [#CLICKHOUSE-2]
2018-11-23 21:55:43 +03:00
Alexey Milovidov
dbbacf4f87
Added more style checks [#CLICKHOUSE-3]
2018-11-23 21:52:00 +03:00
proller
5678d1ed98
Build fixes ( #3545 )
...
* StorageSystemContributors clean
* Fix
* ARM fixes
* Fix arm compile
* fix
* Fix macos?
* Fix includes
* fix
* fix
* Try fix apple build part 1
* Fix identation
* Fix static libc++ in clang
* fix arm build
* better
* fix
* fix
* better check-include
2018-11-10 23:09:07 +03:00
proller
0ce1a9c095
Start making code quality tests : cmake .. -DENABLE_CODE_QUALITY=1 && ninja && ctest
2018-08-29 22:43:58 +03:00
Alexey Milovidov
a0cdfaaba1
Addition to prev. revision [#CLICKHOUSE-2]
2018-05-07 05:29:50 +03:00
Alexey Milovidov
711bc0ed7f
Added a tool to fix code style [#CLICKHOUSE-2]
2018-05-07 05:27:11 +03:00