Commit 800a0fc
authored
Reorganize config into sections, parse it with custom parser (#1481)
* wrote a custom parser that turns the output from tomllib into a strongly-typed dataclass-based config object
* reorganized the config file format into sections, which are used in both CMS code and in the config file
* exposed some previously undocumented options in the sample config file
* removed unused/deprecated config options (other_services, is_proxy_used, use_cgroups, RWS: timeout, web_dir)1 parent 4a78f75 commit 800a0fc
File tree
56 files changed
+799
-669
lines changed- cmscommon
- cmscontrib
- cmsranking
- cmstestsuite
- unit_tests
- db
- grading/tasktypes
- server/contest
- submission
- web
- cms
- db
- grading
- steps
- tasktypes
- io
- server
- admin
- templates
- fragments
- contest
- handlers
- submission
- service
- config
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
56 files changed
+799
-669
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments