From 8e805194eb322c8de614eba33fe8ee99a17db01d Mon Sep 17 00:00:00 2001 From: lindot11 Date: Sat, 25 Nov 2023 11:58:30 +0100 Subject: [PATCH] removed logs and test from repo --- githook_run_log.txt | 25 ----------------- githook_test.sh | 64 -------------------------------------------- githook_test_log.txt | 64 -------------------------------------------- 3 files changed, 153 deletions(-) delete mode 100644 githook_run_log.txt delete mode 100755 githook_test.sh delete mode 100644 githook_test_log.txt diff --git a/githook_run_log.txt b/githook_run_log.txt deleted file mode 100644 index 5aab59828..000000000 --- a/githook_run_log.txt +++ /dev/null @@ -1,25 +0,0 @@ -yarn install client......................................................Passed -yarn install runner......................................................Passed -yarn install lib.........................................................Passed -prettier.................................................................Passed -eslint...................................................................Passed -markdownlint.............................................................Failed -- hook id: markdownlint -- exit code: 1 - -servers/lib/API.md:168:81 MD013/line-length Line length [Expected: 80; Actual: 382] -servers/lib/API.md:182:81 MD013/line-length Line length [Expected: 80; Actual: 305] -servers/lib/API.md:198:81 MD013/line-length Line length [Expected: 80; Actual: 211] -servers/lib/API.md:210:81 MD013/line-length Line length [Expected: 80; Actual: 133] -client/public/static/font/README.md:1:81 MD013/line-length Line length [Expected: 80; Actual: 104] -client/public/static/font/README.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "The recommended way to use the..."] -servers/execution/runner/README.md:25:81 MD013/line-length Line length [Expected: 80; Actual: 96] -servers/execution/runner/README.md:27:81 MD013/line-length Line length [Expected: 80; Actual: 105] -servers/execution/runner/README.md:57:81 MD013/line-length Line length [Expected: 80; Actual: 92] -servers/execution/runner/README.md:58:81 MD013/line-length Line length [Expected: 80; Actual: 90] -servers/lib/DEVELOPER.md:12:81 MD013/line-length Line length [Expected: 80; Actual: 96] -servers/lib/DEVELOPER.md:14:81 MD013/line-length Line length [Expected: 80; Actual: 96] -servers/lib/DEVELOPER.md:46:81 MD013/line-length Line length [Expected: 80; Actual: 92] -servers/lib/DEVELOPER.md:47:81 MD013/line-length Line length [Expected: 80; Actual: 90] -servers/lib/README.md:118:81 MD013/line-length Line length [Expected: 80; Actual: 137] -servers/lib/test/data/user2/tools/README.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "content123"] \ No newline at end of file diff --git a/githook_test.sh b/githook_test.sh deleted file mode 100755 index 7fe0543cd..000000000 --- a/githook_test.sh +++ /dev/null @@ -1,64 +0,0 @@ -###### 1. Test all hooks pass - -# printf "Testing all hooks pass...\n\n" - -# printf "Creating dummy files...\n\n" -# echo "const dummy = 'Hello, client';" > client/dummy.ts -# echo "// const dummy = 'Hello, runner'; var a = dummy;" > servers/execution/runner/dummy.js -# echo "# Hello, lib" > servers/lib/dummy.md - -# printf "Staging changes...\n\n" -# git add . -# printf "Pre-commit stage...\n\n" -# git commit -m "test git hooks" -q -# printf "\nPre-push stage...\n\n" -# git push -q - -###### 2. Test prettier hook fail - -# printf "Testing prettier hook fail...\n\n" - -# printf "Creating dummy files...\n\n" -# echo "const dummy = 'Hello, client';" > client/dummy.ts - -# printf "Staging changes...\n\n" -# git add . -# printf "Pre-commit stage...\n\n" -# git commit -m "test git hooks" -q -# git reset -q - -###### 3. Test eslint hook fail - -# print "Testing eslint hook fail...\n\n" - -# printf "Creating dummy files...\n\n" -# echo "const dummy = 'Hello, runner';" > servers/execution/runner/dummy.js - -# printf "Staging changes...\n\n" -# git add . -# printf "Pre-commit stage...\n\n" -# git commit -m "test git hooks" -q -# git reset -q - -###### 4. Test markdownlint hook fail - -printf "Testing markdownlint hook...\n\n" - -printf "Creating dummy files...\n\n" -echo " Hello, lib" > servers/lib/dummy.md - -printf "Staging changes...\n\n" -git add . -printf "Pre-commit stage...\n\n" -git commit -m "test git hooks" -q -git reset -q - -###### Clean up after each test - -rm -f client/dummy.ts -rm -f servers/execution/runner/dummy.js -rm -f servers/lib/dummy.md - -git add . -git commit -m "reset after test" -q -git push -q \ No newline at end of file diff --git a/githook_test_log.txt b/githook_test_log.txt deleted file mode 100644 index 59e55da99..000000000 --- a/githook_test_log.txt +++ /dev/null @@ -1,64 +0,0 @@ -###### 1. Test all hooks pass - -Pre-commit stage... - -yarn install client......................................................Passed -yarn install runner......................................................Passed -yarn install lib.........................................................Passed -prettier.................................................................Passed -eslint...................................................................Passed -markdownlint.............................................................Passed - -Pre-push stage... - -yarn install client......................................................Passed -yarn install runner......................................................Passed -yarn install lib.........................................................Passed -yarn jest client.........................................................Passed -yarn test runner.........................................................Passed - -###### 2. Test prettier hook fail - -yarn install client......................................................Passed -yarn install runner..................................(no files to check)Skipped -yarn install lib.....................................(no files to check)Skipped -prettier.................................................................Failed -- hook id: prettier -- files were modified by this hook - -client/dummy.ts - -eslint...............................................(no files to check)Skipped -markdownlint.........................................(no files to check)Skipped - -###### 3. Test eslint hook fail - -yarn install client..................................(no files to check)Skipped -yarn install runner......................................................Passed -yarn install lib.....................................(no files to check)Skipped -prettier.............................................(no files to check)Skipped -eslint...................................................................Failed -- hook id: eslint -- exit code: 1 - - -/home/lindot/Documents/DTaaS/servers/execution/runner/dummy.js - 1:7 error 'dummy' is assigned a value but never used @typescript-eslint/no-unused-vars - -✖ 1 problem (1 error, 0 warnings) - - -markdownlint.........................................(no files to check)Skipped - -###### 4. Test markdownlint hook fail - -yarn install client..................................(no files to check)Skipped -yarn install runner..................................(no files to check)Skipped -yarn install lib.........................................................Passed -prettier.............................................(no files to check)Skipped -eslint...............................................(no files to check)Skipped -markdownlint.............................................................Failed -- hook id: markdownlint -- exit code: 1 - -servers/lib/dummy.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: " Hello, lib"] \ No newline at end of file