Compare commits

..

57 Commits

Author SHA1 Message Date
ae76d845fc
feat: new hc 2025-06-04 06:58:57 -04:00
a9ea520ee6
feat: new hc 2025-06-04 06:38:53 -04:00
938b7d0467
feat: succeed msg 2025-05-30 18:06:32 -04:00
e827f2a98c
chore: new conf version 2025-01-27 22:38:28 -05:00
ae3b4da716
chore: new conf version 2025-01-27 21:57:45 -05:00
e9af96d30f
feat: move to repo-health-checker 2024-10-21 04:35:57 -04:00
zzjc1234
2d616caab9 fix: .gitignore 2024-10-17 16:12:54 +08:00
zzjc1234
c430cb6ba9 fix: .gitignore 2024-10-17 15:39:39 +08:00
5bc3181837
feat: tidy conf 2024-10-14 10:38:36 -04:00
7ca84cbed5
feat: test 2024-10-14 08:03:24 -04:00
ac61ca8902
Added conf.json. 2024-10-13 22:51:07 -04:00
c5b3bd1dac
feat: cases 2024-10-13 05:17:58 -04:00
04e8966bba
fix: typo 2024-10-12 06:26:40 -04:00
zzjc1234
f93e504f0e fix: expected out 2024-10-12 18:02:57 +08:00
zzjc1234
1d6b854837 fix: expected out 2024-10-12 17:59:09 +08:00
zzjc1234
ccb0ca0391 fix: expected out 2024-10-11 19:33:33 +08:00
zzjc1234
75cd3895f0 feat: test reposize customization func 2024-10-11 19:10:12 +08:00
zzjc1234
55e3fa7f3c feat: test reposize customization func 2024-10-11 19:03:22 +08:00
zzjc1234
adb9a3b592 fix: tag 2024-10-01 17:40:00 +08:00
9c010a0f8d
feat: use CopyInDir 2024-09-22 01:21:49 -04:00
0648e32a89
feat: use conf.json 2024-09-19 17:07:44 -04:00
zzjc1234
a49a6aa29d Revert "fix: expected"
This reverts commit 4a6d5f5452.
2024-08-20 14:19:53 +08:00
zzjc1234
4a6d5f5452 fix: expected 2024-08-20 14:03:14 +08:00
2073d68714
Added expected.json. 2024-06-20 04:30:09 -04:00
zzjc1234
25c5453a57 feat: markdown style output 2024-06-18 16:49:26 +08:00
Hydraallen
d78308bcaa fix: exp 2024-05-27 19:19:02 +08:00
zzjc1234
4d195430d9 fix: out 2024-05-25 23:44:51 +08:00
zzjc1234
9ef02fd8c9 fix: out 2024-05-25 23:41:43 +08:00
zzjc1234
da6feb58a4 fix: out 2024-05-25 23:39:52 +08:00
zzjc1234
91da18ce45 fix: out 2024-05-25 23:34:26 +08:00
zzjc1234
e5ad2e06a8 fix: out 2024-05-25 23:32:17 +08:00
zzjc1234
2926f68091 fix: out 2024-05-25 23:24:23 +08:00
zzjc1234
50dbbb5a76 fix: out 2024-05-25 23:21:15 +08:00
zzjc1234
c1c7d1bde2 fix: out 2024-05-25 23:18:59 +08:00
zzjc1234
713e2ae07c fix: out 2024-05-25 23:15:27 +08:00
zzjc1234
b949af5559 fix: out 2024-05-25 23:10:55 +08:00
zzjc1234
cbccd9b2e5 fix: args 2024-05-25 23:06:56 +08:00
zzjc1234
1b00862a58 fix: args 2024-05-25 23:05:47 +08:00
zzjc1234
288395944d fix: path 2024-05-25 21:35:59 +08:00
zzjc1234
522b410087 fix: config 2024-05-12 16:34:41 +08:00
zzjc1234
a0f51af30c fix: config 2024-05-12 12:35:08 +08:00
zzjc1234
0cb384a0d9 fix: conf 2024-05-12 11:34:15 +08:00
zzjc1234
1fe4ea8c5c fix: conf 2024-05-12 11:31:35 +08:00
zzjc1234
ad4ee65020 fix: conf 2024-05-12 11:27:14 +08:00
zzjc1234
f83aa5859b fix: json 2024-05-11 22:28:30 +08:00
zzjc1234
648d44099f fix 2024-05-11 22:20:39 +08:00
zzjc1234
2490d360dc test 2024-05-11 22:18:38 +08:00
zzjc1234
057c56ecfc fix: submodule 2024-05-11 21:37:23 +08:00
zzjc1234
e2dd1335b8 fix: module name 2024-05-11 21:29:37 +08:00
Hydraallen
829d40c7a5 fix: json 2024-05-03 23:24:16 +08:00
Hydraallen
fd3e39cf02 fix: script 2024-05-03 23:11:36 +08:00
Hydraallen
82e1a612ea feat: reposize 2024-05-03 23:09:17 +08:00
CHHC-L
43b1502b7f feat. config 2024-04-19 16:53:52 +08:00
zzjc1234
a2b9e74620 feat: example to check repo size 2024-04-10 18:52:40 +08:00
zzjc1234
c5dae447eb fix: regex issue 2024-04-09 23:30:25 +08:00
zzjc1234
c86a94c178 fix: rename file 2024-04-09 23:22:02 +08:00
zzjc1234
c08d20ccd6 feat: test case for repohealth/success 2024-04-09 23:20:15 +08:00
3 changed files with 59 additions and 0 deletions

0
.gitignore vendored Normal file
View File

58
conf.json Normal file
View File

@ -0,0 +1,58 @@
{
"stage": {
"stages": [
{
"name": "healthcheck",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"/tmp/repo-health-checker",
"-root=.",
"-meta=readme",
"-repoSize=0.1"
],
"env": [
"PATH=/usr/bin:/bin"
],
"cpuLimit": 10000000000,
"memoryLimit": 104857600,
"procLimit": 50,
"copyInDir": ".",
"copyIn": {
"/tmp/repo-health-checker": {
"src": "./../../../../../../build/repo-health-checker"
}
},
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 4096
},
"stderr": {
"name": "stderr",
"max": 4096
}
}
}
},
"parsers": [
{
"name": "healthcheck",
"with": {
"score": 10,
"comment": " + comment from toml conf"
}
}
]
}
]
}
}

1
expected.json Normal file
View File

@ -0,0 +1 @@
[{"name":"healthcheck","results":[{"score":0,"comment":"### Repo Size Check Failed:\nRepository larger than 0.1 MiB. Please clean up or contact the teaching team.\n### Forbidden File Check Passed\n### Meta File Check Passed\n### Non-ASCII Characters File Check Passed\n### Non-ASCII Characters Commit Message Check Passed\n### Repo File Check Passed\n### Author Email Check Passed\n"}],"force_quit":true}]