mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-03 01:15:57 +10:00
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"GIT_ENABLED": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"x-aliases": ["SAVE_GIT", "USE_GIT"],
|
|
"description": "Enable git repository cloning"
|
|
},
|
|
"GIT_BINARY": {
|
|
"type": "string",
|
|
"default": "git",
|
|
"description": "Path to git binary"
|
|
},
|
|
"GIT_TIMEOUT": {
|
|
"type": "integer",
|
|
"default": 120,
|
|
"minimum": 10,
|
|
"x-fallback": "TIMEOUT",
|
|
"description": "Timeout for git operations in seconds"
|
|
},
|
|
"GIT_DOMAINS": {
|
|
"type": "string",
|
|
"default": "github.com,gitlab.com,bitbucket.org,gist.github.com,codeberg.org,gitea.com,git.sr.ht",
|
|
"description": "Comma-separated list of domains to treat as git repositories"
|
|
},
|
|
"GIT_ARGS": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"default": ["clone", "--depth=1", "--recursive"],
|
|
"x-aliases": ["GIT_DEFAULT_ARGS"],
|
|
"description": "Default git arguments"
|
|
},
|
|
"GIT_ARGS_EXTRA": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"default": [],
|
|
"x-aliases": ["GIT_EXTRA_ARGS"],
|
|
"description": "Extra arguments to append to git command"
|
|
}
|
|
}
|
|
}
|