Skip to content

Commit e21899b

Browse files
committed
remove unused scripts
1 parent d0e7a3a commit e21899b

17 files changed

+5
-278
lines changed

ci/jobs/scripts/check_style/check_cpp.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ find $ROOT_PATH/{src,base,programs,utils} -name '*.h' -or -name '*.cpp' |
327327
echo "If an exception has LOGICAL_ERROR code, there is no need to include the text 'Logical error' in the exception message, because then the phrase 'Logical error' will be printed twice."
328328

329329
PATTERN="allow_";
330-
DIFF=$(comm -3 <(grep -o "\b$PATTERN\w*\b" $ROOT_PATH/src/Core/Settings.cpp | sort -u) <(grep -o -h "\b$PATTERN\w*\b" $ROOT_PATH/src/Databases/enableAllExperimentalSettings.cpp $ROOT_PATH/utils/check-style/experimental_settings_ignore.txt | sort -u));
331-
[ -n "$DIFF" ] && echo "$DIFF" && echo "^^ Detected 'allow_*' settings that might need to be included in src/Databases/enableAllExperimentalSettings.cpp" && echo "Alternatively, consider adding an exception to utils/check-style/experimental_settings_ignore.txt"
330+
DIFF=$(comm -3 <(grep -o "\b$PATTERN\w*\b" $ROOT_PATH/src/Core/Settings.cpp | sort -u) <(grep -o -h "\b$PATTERN\w*\b" $ROOT_PATH/src/Databases/enableAllExperimentalSettings.cpp $ROOT_PATH/ci/jobs/scripts/check_style/experimental_settings_ignore.txt | sort -u));
331+
[ -n "$DIFF" ] && echo "$DIFF" && echo "^^ Detected 'allow_*' settings that might need to be included in src/Databases/enableAllExperimentalSettings.cpp" && echo "Alternatively, consider adding an exception to ci/jobs/scripts/check_style/experimental_settings_ignore.txt"
332332

333333
# Don't allow the direct inclusion of magic_enum.hpp and instead point to base/EnumReflection.h
334334
find $ROOT_PATH/{src,base,programs,utils} -name '*.cpp' -or -name '*.h' | xargs grep -l "magic_enum.hpp" | grep -v EnumReflection.h | while read -r line;

ci/jobs/scripts/check_style/check_typos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ROOT_PATH="."
77
#FIXME: check all (or almost all) repo
88
codespell \
99
--skip "*generated*,*gperf*,*.bin,*.mrk*,*.idx,checksums.txt,*.dat,*.pyc,*.kate-swp,*obfuscateQueries.cpp,d3-*.js,*.min.js,*.sum,${ROOT_PATH}/utils/check-style/aspell-ignore" \
10-
--ignore-words "${ROOT_PATH}/utils/check-style/codespell-ignore-words.list" \
11-
--exclude-file "${ROOT_PATH}/utils/check-style/codespell-ignore-lines.list" \
10+
--ignore-words "${ROOT_PATH}/ci/jobs/scripts/check_style/codespell-ignore-words.list" \
11+
--exclude-file "${ROOT_PATH}/ci/jobs/scripts/check_style/codespell-ignore-lines.list" \
1212
--quiet-level 2 \
1313
"$ROOT_PATH"/{src,base,programs,utils} \
1414
$@ | grep -P '.' \

programs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ endif()
224224

225225
if (CHECK_LARGE_OBJECT_SIZES)
226226
add_custom_command(TARGET clickhouse POST_BUILD
227-
COMMAND "${CMAKE_SOURCE_DIR}/utils/check-style/check-large-objects.sh" "${CMAKE_BINARY_DIR}")
227+
COMMAND "${CMAKE_SOURCE_DIR}/utils/check-large-objects.sh" "${CMAKE_BINARY_DIR}")
228228
endif ()
229229

230230
if (SPLIT_DEBUG_SYMBOLS)
File renamed without changes.

utils/check-style/check-black

Lines changed: 0 additions & 36 deletions
This file was deleted.

utils/check-style/check-flake8

Lines changed: 0 additions & 55 deletions
This file was deleted.

utils/check-style/check-include

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)