- Replace GitHub API calls (390+) with 1 API call + raw URL downloads - Create GitHubJsonService for efficient JSON file syncing - Reduce API rate limiting issues by 99.7% - Add automatic page reload after successful sync - Update tests to use new service - Maintain same functionality with better performance Performance improvement: - Before: 390+ GitHub API calls (1 per JSON file) - After: 1 GitHub API call + 389 raw URL downloads - Raw URLs have no rate limits, making sync much more reliable
40 lines
1001 B
JSON
40 lines
1001 B
JSON
{
|
|
"name": "Proxmox Update Repositories",
|
|
"slug": "update-repo",
|
|
"categories": [
|
|
1
|
|
],
|
|
"date_created": "2024-11-04",
|
|
"type": "pve",
|
|
"updateable": false,
|
|
"privileged": false,
|
|
"interface_port": null,
|
|
"documentation": null,
|
|
"website": null,
|
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/linuxcontainers.webp",
|
|
"config_path": "",
|
|
"description": "This script updates repository links in LXC containers, replacing old links from the tteck repository with links to the new community-scripts repository to fix issues related to updating scripts.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "tools/pve/update-repo.sh",
|
|
"resources": {
|
|
"cpu": null,
|
|
"ram": null,
|
|
"hdd": null,
|
|
"os": null,
|
|
"version": null
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": null,
|
|
"password": null
|
|
},
|
|
"notes": [
|
|
{
|
|
"text": "Execute within the Proxmox shell",
|
|
"type": "info"
|
|
}
|
|
]
|
|
} |