Tests, tunes and datagen could only use https://github.com/<user>/<repo>. Gitea servers listed under "gitea_hosts" in Config/config.json are now accepted too, starting with https://gitea.rektdie.com. - OpenBench/git_hosts.py holds all host logic: repo validation, API base, resolving a branch/tag/sha, compare counts, diff links and source URLs. - The server talks to Gitea with the token in Config/credentials.gitea and sends it nowhere else; Github requests stay unchanged. - Gitea may require a login even to read, so workers cannot download the archive themselves. The server gives them a /giteaSource/ link signed with an HMAC of repo and commit (SECRET_KEY), and streams the archive from the Gitea API. No client change, no client version bump. - Diff links, the out-of-date check and the profile page handle Gitea repos; the repo fields of the forms accept every configured prefix. - Private engines stay Github-only, they depend on Github Actions artifacts. - Static version bumped to v5 for the changed default_text.js. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
935 B
JSON
43 lines
935 B
JSON
{
|
|
"client_version" : 32,
|
|
"client_repo_url" : "https://github.com/rektdie/OpenBench",
|
|
"client_repo_ref" : "master",
|
|
|
|
"use_cross_approval" : false,
|
|
"require_login_to_view" : false,
|
|
"require_manual_registration" : false,
|
|
"balance_engine_throughputs" : true,
|
|
|
|
"gitea_hosts" : [
|
|
"https://gitea.rektdie.com"
|
|
],
|
|
|
|
"books" : [
|
|
"2moves_v1.epd",
|
|
"3moves_FRC.epd",
|
|
"4moves_noob.epd",
|
|
"8moves_v3.epd",
|
|
"DFRC.epd",
|
|
"Endgames.epd",
|
|
"Pohl.epd",
|
|
"Pohl.pgn",
|
|
"UHO_4060_v2.epd",
|
|
"UHO_4060_vB.epd",
|
|
"UHO_4060_vT.epd",
|
|
"UHO_Lichess_4852_v1.epd",
|
|
"fortresses_150_250.epd",
|
|
"DFRC_4852_v1.epd"
|
|
],
|
|
|
|
"engines" : [
|
|
"Eleanor",
|
|
"Potential",
|
|
"NoobyBot",
|
|
"Stash",
|
|
"Prelude",
|
|
"Simpler",
|
|
"Stormphrax",
|
|
"Impact"
|
|
]
|
|
}
|