Skip to content

Commit

Permalink
Regression bug: Fixed incorrect file search
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanKuchin committed Dec 31, 2021
1 parent 331f982 commit 03427b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 87 deletions.
92 changes: 7 additions & 85 deletions supplemental/cron/health_srcdiff.conf.in
Original file line number Diff line number Diff line change
@@ -1,75 +1,6 @@
nodiff_files_src => [
"account.cpp",
"avataruploader.cpp",
"c_archive.cpp",
"c_cache_obj.cpp",
"c_config.cpp",
"c_date_spelling.cpp",
"c_float.cpp",
"c_price_spelling.cpp",
"c_smsc.cpp",
"cactivator.cpp",
"ccgi.cpp",
"ccookie.cpp",
"cexception.cpp",
"cfiles.cpp",
"chtml.cpp",
"cmail.cpp",
"cmysql.cpp",
"crequest.cpp",
"csession.cpp",
"cstatistics.cpp",
"ctemplate.cpp",
"cuser.cpp",
"cvars.cpp",
"cvideoconverter.cpp",
"generalimageuploader.cpp",
"helpdesk.cpp",
"imageuploader.cpp",
"noauth.cpp",
"utilities1.cpp",
"utilities2.cpp",
"utilities_common.cpp",

"tests/auto/autotest_c_price_spelling.cpp",

"account.h",
"avataruploader.h",
"c_archive.h",
"c_cache_obj.h",
"c_config.h",
"c_date_spelling.h",
"c_float.h",
"c_price_spelling.h",
"c_smsc.h",
"cactivator.h",
"ccgi.h",
"ccookie.h",
"cexception.h",
"cfiles.h",
"clog.h",
"chtml.h",
"cmail.h",
"cmysql.h",
"crequest.h",
"csession.h",
"cstatistics.h",
"ctemplate.h",
"cuser.h",
"cvars.h",
"cvideoconverter.h",
"generalimageuploader.h",
"helpdesk.h",
"imageuploader.h",
"noauth.h",
"utilities_common.h",
"utilities.h",
"localy.h.in",

"cron_minute_pi.cpp",
"cron_daily_pi.cpp",
"cron_minute_pi.h",
"cron_daily_pi.h",
"system.cpp",

"git_commit.pl",
Expand Down Expand Up @@ -98,16 +29,15 @@ nodiff_files_src => [

"supplemental/config/CMakeLists.txt",


".github/actions/linters/.eslintrc.yaml",
".github/actions/release-drafter/release-drafter.yml",
".github/actions/spelling/only.txt",
".github/workflows/qa.yml",
".github/workflows/sast.yml",
".github/workflows/release-deploymnet.yml",
".github/workflows/release-drafter.yml",
".github/workflows/sast.yml",
".github/workflows/spell_check.yml",
".github/workflows/super_linter.yml",
".github/actions/release-drafter/release-drafter.yaml",
".github/actions/spell_check/only.txt",
".github/actions/spell_check/excludes.txt",
".github/actions/linters/.eslintrc.yaml",
],


Expand All @@ -117,9 +47,9 @@ nodiff_files_html => [
"helpdesk.css",
"login.css",
"admin/common.css",
"ru/pages/common.css",
"html/css/pages/common.css",

"faq.js",
"pi/faq.js",
"session.js",
"login.js",
"email_change.js",
Expand Down Expand Up @@ -170,14 +100,6 @@ nodiff_files_html => [
"admin_header.htmlt",
"admin_chat_get_cnx_list.htmlt",
"admin_chat_get_presence_cache.htmlt",

".github/workflows/release-drafter.yml",
".github/workflows/spell_check.yml",
".github/workflows/super_linter.yml",
".github/actions/release-drafter/release-drafter.yaml",
".github/actions/spell_check/only.txt",
".github/actions/spell_check/excludes.txt",
".github/actions/linters/.eslintrc.yaml",
],

exclude_domains => [
Expand Down
4 changes: 2 additions & 2 deletions supplemental/cron/health_srcdiff.pl
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ sub DiffFile
}
else
{
PrintError("found ".($#files + 1)." x ".$curr_file." in ".$root_dir.", must be ".($#domains + 1)) if($DEBUG);
PrintError("found ".($#files + 1)." x ".$curr_file." in ".$root_dir.", must be ".($#domains + 1));
}
}

Expand Down Expand Up @@ -213,7 +213,7 @@ sub __find_sub
{
# --- skip build folder
}
elsif($F =~ m/\/pi\//)
elsif($F =~ m/\/src\/pi\//)
{
# --- skip pi folder
}
Expand Down

0 comments on commit 03427b1

Please sign in to comment.