8176ea8c5e
feat: add whitelist character support in repo toml ( #29 )
...
build / build (push) Successful in 8m39s
build / trigger-build-image (push) Successful in 1m36s
This commit introduces a new key, `health-check.whitelisted-chars` for repo.toml. It allows TAs to configure repo-wide allowed non ASCII chars for the repo-health-checker binary. It results in a new command line switch, `-whitelisted-chars=X,Y,Z`, in the generated task.json.
Co-Authored-By: GitHub Copilot <noreply@microsoft.com>
<details>
<summary>Copilot Prompt</summary>
<br>
This repository contains a Python app that does conversion from TOML config files to a complex, multistage JSON config file for an online judge system. For example, under `tests/convert/full`, input are the two TOML files `repo.toml` and `task.toml`, output is one JSON file `task,json`.
Now, I want the repo-specific config (**repo.toml**) to accept an extra dotted key, "health-check.whitelisted-chars". This key shall accept an array of UTF-8 non-ASCII characters. To do so, I want you to
- Model. Under `joj3_config_generator/models/repo.py`, add an extra field *whitelisted_chars* to class *HealthCheck*, identified by both "whitelisted-chars" and "whitelisted_chars";
- Transforming. Under `joj3_config_generator/transforers/repo.py`, translate the field to an additional command line switch `-whitelisted-chars`, comma-separated.
- Other files you deem necessary, based on your understanding of this repo.
IMPORTANT. Before you start, explore this repo to under the file structure and file-function relations.
This repo uses the PDM package manager. After you finish your work, test your work appropriately. You should create new testcases under `tests/`.
- Details: Read the output `task.json` after running the test, to verify whether the command line switch was added to the *Health Check* `stage` or not.
</details>
Reviewed-on: https://focs.ji.sjtu.edu.cn/git/JOJ/JOJ3-config-generator/pulls/29
Reviewed-by: 李衍志523370910113 <jon-lee@sjtu.edu.cn>
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: Mack Wang <mac-wang@outlook.com>
Co-committed-by: Mack Wang <mac-wang@outlook.com>
2026-04-22 17:06:54 +08:00
2d3490832a
feat: info log joint-teapot joj3-all-env stderr
build / build (push) Failing after 3m17s
build / trigger-build-image (push) Has been skipped
2025-11-27 20:43:54 -08:00
4b2e818538
feat: support groups.ignore-submitter
build / build (push) Successful in 2m20s
build / trigger-build-image (push) Successful in 13s
2025-10-30 19:52:08 -07:00
f570ea5aca
feat: support skip scoreboard and failed table
build / build (push) Successful in 2m3s
build / trigger-build-image (push) Successful in 14s
2025-10-26 20:00:05 -07:00
701541c032
fix: remove redundant code
build / build (push) Successful in 1m54s
build / trigger-build-image (push) Successful in 8s
2025-10-07 20:44:16 -07:00
Boming Zhang
965253725d
fix: empty groups from repo.toml
build / build (push) Successful in 2m9s
build / trigger-build-image (push) Successful in 9s
2025-10-06 15:36:29 -07:00
909eea8d5d
feat: support skip issue
build / build (push) Successful in 1m30s
build / trigger-build-image (push) Successful in 8s
2025-10-04 18:43:53 -07:00
b69c42debc
feat: debug log joj3 summary
build / build (push) Successful in 1m49s
build / trigger-build-image (push) Successful in 8s
2025-10-04 18:37:28 -07:00
046a553b56
fix: typo
build / build (push) Successful in 2m4s
build / trigger-build-image (push) Failing after 9s
2025-09-24 03:26:47 -07:00
571577ab70
fix: remove all old codes
build / build (push) Failing after 2m3s
build / trigger-build-image (push) Has been skipped
2025-09-14 17:31:14 -07:00
7849cf9b3a
fix: immutable files fallback
build / build (push) Successful in 2m26s
build / trigger-build-image (push) Successful in 10s
2025-07-31 06:16:04 -07:00
97eea108fb
feat: exit on immutable files not all covered
build / build (push) Successful in 1m55s
build / trigger-build-image (push) Successful in 8s
2025-07-27 16:51:36 -07:00
44924d8c5f
feat: support git ref as scoreboard column
build / build (push) Successful in 1m37s
build / trigger-build-image (push) Successful in 8s
2025-07-27 03:36:43 -07:00
e2d2ced3ae
feat: fallback for old immutable files
build / build (push) Successful in 1m34s
build / trigger-build-image (push) Successful in 9s
2025-07-26 16:50:35 -07:00
8f96115e6e
refactor: files.required -> health-check.required-files
build / build (push) Successful in 1m40s
build / trigger-build-image (push) Successful in 10s
2025-07-01 00:35:42 -04:00
dc7682a94f
refactor: move score, max-size, immutable-path to health-check
build / build (push) Successful in 2m0s
build / trigger-build-image (push) Successful in 11s
2025-07-01 00:20:37 -04:00
c428d51706
feat: support --issue-label-exclusive
build / build (push) Successful in 2m18s
build / trigger-build-image (push) Successful in 10s
2025-06-25 05:00:20 -04:00
1b4637d01c
chore: sort glob result for stable output
build / build (push) Successful in 1m33s
build / trigger-build-image (push) Successful in 10s
2025-06-20 17:25:09 -04:00
8d52febbc5
feat: new immutable dir ( #25 )
2025-06-20 17:07:24 -04:00
29952a9d2d
feat: support auto scoreboard name
build / build (push) Successful in 1m56s
build / trigger-build-image (push) Successful in 9s
2025-06-20 04:01:45 -04:00
2bcf4f8c60
feat: support issue label config in repo.toml
build / build (push) Successful in 1m49s
build / trigger-build-image (push) Successful in 11s
2025-06-20 03:40:16 -04:00
e2dc094263
feat: support penalty config
build / build (push) Successful in 2m2s
build / trigger-build-image (push) Successful in 8s
2025-06-19 06:43:29 -04:00
42bbf3ce39
feat: warn on immutable file not found
build / build (push) Successful in 1m42s
build / trigger-build-image (push) Successful in 9s
2025-06-18 10:14:29 -04:00
c6e2c63024
fix: cli time format
build / build (push) Successful in 2m2s
build / trigger-build-image (push) Successful in 8s
2025-06-18 09:19:52 -04:00
52f82a4afc
feat: time.begin and time.end for teapot time check
build / build (push) Successful in 1m52s
build / trigger-build-image (push) Successful in 8s
2025-06-18 09:13:34 -04:00
d8073e4eb6
fix: total score overwrite
build / build (push) Successful in 1m52s
build / trigger-build-image (push) Successful in 10s
2025-06-17 02:15:10 -04:00
b46bc950f7
fix: optional max-total-score in repo.toml
build / build (push) Failing after 1m48s
build / trigger-build-image (push) Has been skipped
2025-06-17 01:56:15 -04:00
ed43414b86
refactor: simplify group str generation
build / build (push) Successful in 1m51s
build / trigger-build-image (push) Successful in 8s
2025-06-16 10:09:29 -04:00
5404313199
feat: move teapot settings to repo.toml
build / build (push) Successful in 1m43s
build / trigger-build-image (push) Successful in 8s
2025-06-15 02:05:15 -04:00
f72189dc81
feat: support overwrite of groups & max_total_score in task.toml ( #22 )
...
build / build (push) Successful in 2m30s
build / trigger-build-image (push) Successful in 12s
support https://focs.ji.sjtu.edu.cn/git/JOJ/JOJ3-config-generator/issues/21
Reviewed-on: https://focs.ji.sjtu.edu.cn/git/JOJ/JOJ3-config-generator/pulls/22
Co-authored-by: jon-lee <jon-lee@sjtu.edu.cn>
Co-committed-by: jon-lee <jon-lee@sjtu.edu.cn>
2025-06-10 15:39:12 +08:00
f88c5b4106
feat: debug log in post stage
build / build (push) Successful in 1m56s
build / trigger-build-image (push) Successful in 8s
2025-06-08 20:06:19 -04:00
887c06b40e
feat: support --no-submitter-in-issue-title in teapot
build / build (push) Successful in 4m6s
2025-06-01 19:08:25 -04:00
63100803bb
fix: skip group config if not set
build / build (push) Successful in 1m45s
2025-06-01 06:49:36 -04:00
a3488e3efb
feat: skip group config if not set
build / build (push) Successful in 1m38s
2025-06-01 06:45:52 -04:00
b91b100dbf
chore: fix typo
build / build (push) Successful in 1m30s
2025-06-01 06:27:31 -04:00
a7a2300f03
feat: support health check score in repo.toml
build / build (push) Successful in 1m53s
2025-05-29 00:59:27 -04:00
81e08b4a8c
feat: longer time limit for teapot upload
build / build (push) Successful in 2m26s
2025-03-21 17:50:05 -04:00
2c78d75e07
feat: longer time limit for health check
build / build (push) Failing after 3m15s
2025-03-21 17:26:58 -04:00
80ba2f1451
feat: remove task.type from task.toml
build / build (push) Failing after 2m2s
2025-03-15 05:10:42 -04:00
87dd8acb69
chore: more consts
build / build (push) Successful in 2m1s
2025-03-15 03:23:29 -04:00
ce4605a22a
chore: rename files
build / build (push) Successful in 1m53s
2025-03-15 03:03:28 -04:00