Commit Graph

13445 Commits

Author SHA1 Message Date
CanbiZ
950b32fef8 tools.func: Smarter parallel jobs calculation with load awareness
- get_parallel_jobs: Add memory-based limiting (1.5GB/job), load awareness,
  and container detection for conservative limits
- get_default_php_version: Add future versions (Debian 14, Ubuntu 26.04),
  update defaults to 8.3
- get_default_python_version: Add future versions, update defaults to 3.12
2026-01-05 17:36:51 +01:00
CanbiZ
01ba7356e0 foirmatting 2026-01-05 17:12:54 +01:00
CanbiZ
ef7015e232 Optimize tools.func: intelligent fallbacks, retry logic, caching, DNS pre-check
- curl_with_retry: DNS pre-check + exponential backoff
- download_gpg_key: Auto-detect key format, validation
- ensure_dependencies: Batch dpkg-query check, individual fallback
- install_packages_with_retry: Progressive recovery (dpkg fix, broken deps, individual packages)
- verify_repo_available: Caching with TTL to avoid repeated HTTP requests
- get_fallback_suite: Dynamic HTTP availability check cascade
- ensure_apt_working: APT lock handling, progressive recovery
- safe_service_restart: Wait-for-ready with configurable timeout, retry logic
- get_latest_github_release: Fallback to tags API, prerelease support, rate limit handling
2026-01-05 17:09:16 +01:00
CanbiZ
c118377665 Optimize tools.func: fix typos, duplicate debug_log, Node.js version, PG backup, Intel VPL 2026-01-05 17:05:24 +01:00
CanbiZ
8022525b49 Fix removed features in refactor branch
- Add libmfx-gen1.2 back for Intel Quick Sync Video encoding (Debian 12+13)
- Restore tmpfiles.d configuration for MariaDB /run/mysqld persistence
- Fix MariaDB fallback version from 11.4 to 12.2 (latest GA version)

These changes were incorrectly removed in the refactor commits.
2026-01-05 16:55:26 +01:00
MickLesk
c8dbce6e58 typo 2025-12-28 20:40:02 +01:00
MickLesk
0d821dd704 feat(tools.func): extend retry logic to all major downloads
Added curl_with_retry to all critical download operations:
- Adminer download
- Composer installer
- FFmpeg (binary and source)
- Go tarball
- Ghostscript source
- ImageMagick source
- rbenv and ruby-build
- uv (astral-sh)
- yq binary
- Go version check

Extended timeouts for large downloads:
- CURL_TIMEOUT=300 for FFmpeg, Go (large tarballs)
- CURL_TIMEOUT=180 for Ghostscript, ImageMagick

Remaining without retry (intentional):
- download_with_progress (specialized function)
- Rustup installer (piped to shell)
- Portainer version check (non-critical)

Total curl_with_retry/download_gpg_key usage: 27 locations
2025-12-26 19:03:41 +01:00
MickLesk
52061ea0db feat(tools.func): add retry logic and debug mode for stability
New helper functions:
- curl_with_retry: Robust curl wrapper with retry logic (3 attempts)
- curl_api_with_retry: API calls with HTTP status handling
- download_gpg_key: GPG key download with retry and dearmor support
- debug_log: Conditional debug output when TOOLS_DEBUG=true

Replaced critical curl calls:
- MongoDB GPG key download
- NodeSource GPG key download
- PostgreSQL GPG key download
- PHP (Sury) keyring download
- MySQL GPG key download
- setup_deb822_repo GPG import

Benefits:
- Automatic retry on transient network failures
- Configurable timeouts (CURL_TIMEOUT, CURL_CONNECT_TO)
- Debug mode for troubleshooting (TOOLS_DEBUG=true)
- Consistent error handling across all GPG key imports
2025-12-26 18:50:56 +01:00
MickLesk
5c82757c69 refactor(tools.func): use distro packages by default for stability
- fetch_and_deploy_gh_release: add validation for empty app names
  - Derives app name from repo if not provided
  - Prevents '/root/.: Is a directory' error (fixes #10342)

- setup_hwaccel: fix Intel driver app names for fetch_and_deploy_gh_release
  - Add proper app names: intel-igc-core, intel-igc-opencl, libigdgmm12, intel-opencl-icd

- setup_mariadb: use distro packages by default
  - Default: apt packages (default-mysql-server, mariadb-server)
  - Optional: USE_MARIADB_REPO=true for official MariaDB repo
  - Fixes GPG key/mirror availability issues

- setup_mysql: use distro packages by default
  - Default: apt packages (default-mysql-server, mysql-server)
  - Optional: USE_MYSQL_REPO=true for official MySQL repo
  - Keeps Debian Trixie 8.4 LTS handling when using official repo

- setup_postgresql: use distro packages by default
  - Default: apt packages (postgresql, postgresql-client)
  - Optional: USE_PGDG_REPO=true for official PGDG repo

- setup_docker: use distro packages by default
  - Default: docker.io package
  - Optional: USE_DOCKER_REPO=true for official Docker repo
  - Maintains Portainer support in both modes

This refactoring prioritizes stability by using well-tested distro
packages while maintaining the option to use official repos for
specific version requirements.
2025-12-26 18:42:48 +01:00
community-scripts-pr-app[bot]
3dfd7e5fc3 Update CHANGELOG.md (#10345)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-26 16:56:16 +00:00
Tobias
59ee3b0836 fix: zoraxy: category (#10344) 2025-12-26 17:55:55 +01:00
community-scripts-pr-app[bot]
84d3a2a478 Update versions.json (#10339)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-26 13:06:47 +01:00
community-scripts-pr-app[bot]
a50af10a85 Update CHANGELOG.md (#10337)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-26 08:59:27 +00:00
Parker Shankin-Clarke
5aa1db077b categorize valkey as database (#10331) 2025-12-26 09:58:54 +01:00
community-scripts-pr-app[bot]
45b3d2d1cc Update CHANGELOG.md (#10334)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-25
2025-12-26 00:15:20 +00:00
community-scripts-pr-app[bot]
22a2696ca3 Update versions.json (#10333)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-26 01:14:57 +01:00
community-scripts-pr-app[bot]
dedab50711 Update CHANGELOG.md (#10329)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-25 18:40:02 +00:00
Mateusz Ż
b7bfaee6a7 fix vertical scroll on website (#10317) 2025-12-25 19:39:36 +01:00
community-scripts-pr-app[bot]
b618f82564 Update CHANGELOG.md (#10326)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-25 14:22:45 +00:00
Slaviša Arežina
e6ee6e66bf Refactor: OpenObserve (#10279) 2025-12-25 15:22:24 +01:00
community-scripts-pr-app[bot]
97211b41b7 Update CHANGELOG.md (#10325)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-25 14:22:05 +00:00
community-scripts-pr-app[bot]
20a55d4543 Update CHANGELOG.md (#10324)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-25 14:21:45 +00:00
Slaviša Arežina
0ece3263bd Refactor: NZBGet (#10302) 2025-12-25 15:21:41 +01:00
community-scripts-pr-app[bot]
9f1e214bc0 Update CHANGELOG.md (#10323)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-25 14:21:26 +00:00
Slaviša Arežina
37007f1efe Refactor (#10303) 2025-12-25 15:21:20 +01:00
Slaviša Arežina
e926182748 Refactor (#10304) 2025-12-25 15:21:00 +01:00
community-scripts-pr-app[bot]
fa8c8ef85c Update CHANGELOG.md (#10322)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-25 14:18:23 +00:00
Slaviša Arežina
c769a43f62 InfluxDB: Fixes (#10308) 2025-12-25 15:17:56 +01:00
community-scripts-pr-app[bot]
d91753824c Update versions.json (#10320)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-25 13:07:38 +01:00
community-scripts-pr-app[bot]
77a3eacd21 Update CHANGELOG.md (#10315)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-25 07:32:04 +00:00
Chris Muzyn
404e87a2e3 Increase Zot Default Memory, Recategorize (#10311) 2025-12-25 08:31:40 +01:00
community-scripts-pr-app[bot]
34a8ed8358 Update CHANGELOG.md (#10313)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24
2025-12-25 00:14:06 +00:00
community-scripts-pr-app[bot]
f6f6815ac1 Update versions.json (#10312)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-25 01:13:44 +01:00
community-scripts-pr-app[bot]
256a80f18f Update CHANGELOG.md (#10309)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24 23:45:26 +00:00
Tobias
9613bf672a pihole-exporter fix: unbound var (#10307) 2025-12-25 00:45:04 +01:00
community-scripts-pr-app[bot]
978f2a36a5 Update CHANGELOG.md (#10301)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24 21:39:20 +00:00
Tobias
a6d05ae5e6 fix: technitium: service migration (#10300) 2025-12-24 22:38:55 +01:00
community-scripts-pr-app[bot]
e6ca8a646d Update CHANGELOG.md (#10297)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24 14:29:35 +00:00
community-scripts-pr-app[bot]
4e417dbdda Update CHANGELOG.md (#10296)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24 14:29:18 +00:00
Slaviša Arežina
5a230837d3 Update dependencies (#10275) 2025-12-24 15:29:11 +01:00
Slaviša Arežina
23e3be00f0 Refactor (#10274) 2025-12-24 15:28:56 +01:00
community-scripts-pr-app[bot]
c074d3f567 Update CHANGELOG.md (#10295)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24 14:28:27 +00:00
community-scripts-pr-app[bot]
12037c8468 Update CHANGELOG.md (#10294)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24 14:28:05 +00:00
Slaviša Arežina
1a5c7680ee Refactor (#10276) 2025-12-24 15:28:00 +01:00
community-scripts-pr-app[bot]
2934b10415 Update CHANGELOG.md (#10293)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24 14:27:44 +00:00
Slaviša Arežina
133e1484ad Refactor (#10277) 2025-12-24 15:27:39 +01:00
Slaviša Arežina
b22265047c Refactor (#10278) 2025-12-24 15:27:20 +01:00
community-scripts-pr-app[bot]
9b728ee2e0 Update CHANGELOG.md (#10292)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24 14:25:03 +00:00
Slaviša Arežina
bf51483235 Refactor (#10280) 2025-12-24 15:24:42 +01:00
community-scripts-pr-app[bot]
f1fc6b0298 Update CHANGELOG.md (#10291)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24 13:23:40 +00:00