Commit Graph

242 Commits

Author SHA1 Message Date
7004c5368e
fix(parser/resultdetail): file format
All checks were successful
build / build (push) Successful in 1m3s
build / trigger-build-image (push) Successful in 7s
2024-10-12 17:34:26 -04:00
5f63301656
feat(parser/resultdetail): human readable units
All checks were successful
build / build (push) Successful in 1m2s
build / trigger-build-image (push) Successful in 11s
2024-10-12 17:24:48 -04:00
703ff7d4be
fix(parser/resultdetail): add extra newline when showing files
All checks were successful
build / build (push) Successful in 1m5s
build / trigger-build-image (push) Successful in 7s
2024-10-12 02:03:05 -04:00
2a2166f1ad
feat(parser/diff): add pass/fail comment to conf
All checks were successful
build / build (push) Successful in 1m2s
build / trigger-build-image (push) Successful in 9s
2024-10-12 01:53:08 -04:00
2d4c7c30a3 refactor(cmd/joj3): conf (#51)
All checks were successful
build / build (push) Successful in 1m6s
build / trigger-build-image (push) Successful in 7s
Reviewed-on: #51
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-10-12 13:21:58 +08:00
b46e22471f
feat(parser/diff): more hints in comments (#54)
All checks were successful
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 8s
2024-10-11 04:23:46 -04:00
8c5c8bf35b
feat(parser/diff)!: use compare space
All checks were successful
build / build (push) Successful in 2m1s
build / trigger-build-image (push) Successful in 7s
2024-10-11 00:16:39 -04:00
3882a311e7
feat: debug log decoded conf
All checks were successful
build / build (push) Successful in 1m46s
build / trigger-build-image (push) Successful in 7s
2024-10-10 23:55:06 -04:00
073fb39316
feat(parser/diff): ignore whitespace by default
All checks were successful
build / build (push) Successful in 4m46s
build / trigger-build-image (push) Successful in 21s
2024-10-10 20:24:05 -04:00
7648dde9da
feat(parser/resultdetail): show files
All checks were successful
build / build (push) Successful in 2m15s
build / trigger-build-image (push) Successful in 11s
2024-10-10 18:47:01 -04:00
542394a48a
feat(parser/resultdetail): new parser with default conf
All checks were successful
build / build (push) Successful in 1m48s
build / trigger-build-image (push) Successful in 7s
2024-10-09 18:05:59 -04:00
5bbbcb14aa
refactor(internal): rename executor & parser dir
Some checks failed
build / build (push) Successful in 2m3s
build / trigger-build-image (push) Successful in 8s
submodules sync / sync (push) Failing after 30s
2024-10-09 05:38:30 -04:00
d80704643a
feat(parser/diff): remove diff output suffix 2024-10-09 05:36:12 -04:00
d3ffb03482
feat: support hide output in diff parser
All checks were successful
build / build (push) Successful in 1m53s
build / trigger-build-image (push) Successful in 6s
2024-10-08 01:57:00 -04:00
bb63cb65ba
fix: clangtidy parser get result
All checks were successful
build / build (push) Successful in 1m21s
build / trigger-build-image (push) Successful in 6s
2024-10-06 07:59:04 -04:00
d76fe99811
feat: return error on Atoi failed
All checks were successful
build / build (push) Successful in 1m16s
build / trigger-build-image (push) Successful in 5s
2024-10-04 09:22:23 -04:00
0cf87fa332
feat: return error on unmarshal failed 2024-10-04 09:17:36 -04:00
b95f2187e3
feat: cppcheck larger buffer
All checks were successful
build / build (push) Successful in 1m15s
build / trigger-build-image (push) Successful in 5s
2024-10-04 07:00:43 -04:00
15a6800685
fix: typo in cppcheck parser
All checks were successful
build / build (push) Successful in 1m20s
build / trigger-build-image (push) Successful in 5s
2024-10-04 06:52:06 -04:00
f5ba04b8e7
feat: more logs
All checks were successful
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 5s
2024-10-02 16:45:54 -04:00
914ad6c7e3
fix: add comment on wrong result status
All checks were successful
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 5s
2024-10-01 05:04:07 -04:00
18b7193bc0
feat: non null slice on parser result
All checks were successful
build / build (push) Successful in 1m26s
build / trigger-build-image (push) Successful in 6s
2024-10-01 04:16:11 -04:00
5038cf118d
fix: deprecated grpc.Dial
All checks were successful
build-image / create-empty-commit (push) Successful in 5s
checks / build (push) Successful in 1m14s
2024-09-30 23:38:42 -04:00
b40072a485
feat: rename module
All checks were successful
build-image / create-empty-commit (push) Successful in 5s
checks / build (push) Successful in 1m19s
2024-09-30 22:04:18 -04:00
a9a829da3f
feat: rename module
Some checks failed
build-image / create-empty-commit (push) Failing after 4s
checks / build (push) Successful in 1m20s
2024-09-30 17:38:40 -04:00
4c00904f25
feat: debug log executor result files
All checks were successful
build-image / create-empty-commit (push) Successful in 5s
checks / build (push) Successful in 1m14s
2024-09-30 01:51:55 -04:00
e2bf6d3cf1
fix: diff parser skip case on result status error
Some checks failed
build-image / create-empty-commit (push) Successful in 6s
checks / build (push) Failing after 18s
2024-09-30 01:30:30 -04:00
dd8dc68eeb
feat: check result status in diff parser
All checks were successful
build-image / create-empty-commit (push) Successful in 6s
checks / build (push) Successful in 1m17s
2024-09-30 01:04:02 -04:00
a5a4a649dc
feat: debug log diff
All checks were successful
build-image / create-empty-commit (push) Successful in 5s
checks / build (push) Successful in 1m21s
2024-09-30 00:49:39 -04:00
3682a36fde
feat: decode conf error msg 2024-09-30 00:49:07 -04:00
7b3edb2361
revert: "style: unify error msg"
This reverts commit 6c8332af29.
2024-09-30 00:49:06 -04:00
6c8332af29
style: unify error msg
Some checks failed
build-image / create-empty-commit (push) Successful in 5s
checks / build (push) Failing after 1m17s
2024-09-29 18:22:18 -04:00
9800becc96
feat: more info logs 2024-09-26 05:43:37 -04:00
a66dbc29e4
feat: use CopyInDir instead of CopyInCwd 2024-09-22 01:36:07 -04:00
9765ea1007
fix: typo 2024-09-21 21:10:03 -04:00
61dada5c40
ci: use gitea actions instead of drone (#40)
Reviewed-on: FOCS-dev/JOJ3#40
2024-09-21 21:09:39 -04:00
d03927457a
feat: score & comment conf in result-status and dummy parser 2024-09-21 21:09:39 -04:00
d5a96515ec
chore: rename parser secret -> dummy 2024-09-21 21:09:39 -04:00
5922d795b3
fix: log typo 2024-09-12 18:47:27 -04:00
967a859c9f
feat: quit on more errors 2024-09-12 04:36:57 -04:00
5a860f1203 feat: repo health check (#16) (#17)
- repo size
- forbidden files
- meta files
- ascii character in files
- integrity check
- ascii character in the commit message
- release tag check

Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-authored-by: zzjc1234 <2359047351@qq.com>
Co-authored-by: Hydraallen <wangruiallen@gmail.com>
Reviewed-on: FOCS-dev/JOJ3#17
Co-authored-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
Co-committed-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
2024-09-11 20:09:27 +08:00
52491478a4
feat: diff parser with multiple outputs in one case 2024-09-11 07:06:11 -04:00
eac7a62ebe
chore: add source 2024-09-11 06:07:07 -04:00
zzjc1234
1d90d72978
feat: myers 2024-09-11 05:12:08 -04:00
zzjc1234
6fbbe7ece0
feat: option ignoring whitespace 2024-09-11 05:12:08 -04:00
zzjc1234
96c71bcd63
feat: option ignoring whitespace 2024-09-11 05:12:08 -04:00
zzjc1234
756a531bac
feat: diff blocks 2024-09-11 05:12:08 -04:00
zzjc1234
fd69aebac5
feat: diff 2024-09-11 05:12:08 -04:00
9f0e9bf9f3
feat: simple secret parser 2024-09-10 22:23:12 -04:00
2928e6321f
chore: rename dummy -> sample 2024-09-10 22:03:25 -04:00
f81581b928 revert: 27a2aac537
All checks were successful
continuous-integration/drone/push Build is passing
revert feat: return 1 on force quit
2024-07-19 19:38:17 +08:00
27a2aac537
feat: return 1 on force quit
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-19 07:12:18 -04:00
e4091f9ba4
chore: debug log file content in keyword parser
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-19 06:28:23 -04:00
739069a18f
feat: convert local file to memory file
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-30 08:50:36 -04:00
97f89d210b
chore: update for deployment
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-30 07:39:28 -04:00
b608a22cfd
feat: read sandbox conf
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-30 02:42:51 -04:00
d46cebb906 feat: output force quit (#29)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: FOCS-dev/JOJ3#29
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-06-07 13:57:29 +08:00
5ac760814d feat: cppcheck parser (#28)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: zjc_he <zjc_he@sjtu.edu.cn>
Reviewed-on: FOCS-dev/JOJ3#28
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: 张佳澈520370910044 <zjc_he@sjtu.edu.cn>
Co-committed-by: 张佳澈520370910044 <zjc_he@sjtu.edu.cn>
2024-05-30 11:12:30 +08:00
29627d2760
feat: remove submit to gitea
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-21 18:00:56 -04:00
a042ac01ea feat: clang-tidy parser (#26)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: zjc_he <zjc_he@sjtu.edu.cn>
Reviewed-on: FOCS-dev/JOJ3#26
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: 张佳澈520370910044 <zjc_he@sjtu.edu.cn>
Co-committed-by: 张佳澈520370910044 <zjc_he@sjtu.edu.cn>
2024-05-18 02:50:13 +08:00
2854fd7c91 feat: keyword parser (#23) (#24)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: FOCS-dev/JOJ3#24
2024-04-28 03:52:07 +08:00
51539c1e7c feat: cpplint parser (#22)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Reviewed-on: FOCS-dev/JOJ3#22
2024-04-04 07:29:00 +08:00
0bf349c032
fix: json field case
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-03 18:08:34 -04:00
b59380ad4e
feat: go test on examples
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-23 19:55:10 -04:00
0ee77561be
feat: return error on grpc connection error 2024-03-23 18:19:14 -04:00
2237ce41eb
feat: postpone sandbox grpc connection time
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-23 18:14:17 -04:00
27a1e4420e
feat: dummy binary + parser example
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-12 16:22:21 -04:00
a5643c1556
feat: check executor & parser name 2024-03-12 16:20:14 -04:00
8e49684abe
style: rename config -> conf for consistency 2024-03-12 15:39:05 -04:00
93ce120758
feat: submit to gitea after stages done
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-06 02:29:00 -05:00
2e80543abf
refactor: rename output field 2024-03-05 05:37:01 -05:00
cf53fc7947
chore: lower log level 2024-03-05 05:30:22 -05:00
27972cbad1
feat: check result status parser 2024-03-05 05:01:07 -05:00
5c15388882
refactor: rename files -> stdin, stdout, stderr
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-05 02:02:05 -05:00
e128f2eea8
style: fix golangci-lint errors
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-05 01:47:56 -05:00
f5b6b3cc9a
feat: multiple cmds each stage
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-05 01:38:16 -05:00
f73845b1c3
feat: add more configs 2024-03-04 17:57:10 -05:00
deba5665d9
refactor: rename variable & add log 2024-03-04 14:33:44 -05:00
916511d91a
refactor: move sandbox convert functions out of Run 2024-03-04 06:53:32 -05:00
ef1cd8f41b
fix: remove debugging logs 2024-03-04 03:14:35 -05:00
ab956f5662
feat: diff parser with example 2024-03-04 02:59:01 -05:00
a3deb3d974
style: rename Result -> ExecutorResult 2024-03-04 02:32:00 -05:00
f39f71bad5
chore: reserve capacity for copyOut 2024-03-04 02:16:05 -05:00
b252a54a83
feat: read from config file 2024-03-04 02:11:49 -05:00
4441012e0d
feat: support copy cwd to sandbox (#13) 2024-03-04 01:47:51 -05:00
1f20aa3105
style: fix golangci-lint errors 2024-03-04 01:06:23 -05:00
5d6bf8c5cd
feat: copy in cached & cleanup 2024-03-04 01:02:44 -05:00
4d594e1d87
refactor: copy go-judge cmd model codes 2024-03-04 00:05:26 -05:00
d5a104e7c4
feat: run single command in sandbox 2024-03-03 18:02:51 -05:00
d1317cde79
refactor: move healthcheck to /pkg
It should be importable by other packages to re-use.
2024-03-03 03:20:48 -05:00
0a701e3b60
feat: run with parsed toml 2024-03-03 03:14:53 -05:00
df62496537
feat: basic framework 2024-03-03 01:29:34 -05:00