129 Commits

Author SHA1 Message Date
CanbiZ
52847c8dd8 Fix motd_ssh console issue: remove systemctl restart that breaks getty TTY 2025-11-20 13:34:42 +01:00
CanbiZ
9607c83465 Compact network check output: combine IPv4/IPv6 status into single line 2025-11-17 16:11:14 +01:00
CanbiZ
916293d98d introduce dev_mode
Introduces granular dev_mode flags (motd, keep, trace, pause, breakpoint, logs, dryrun) with a parser and exports for container builds. Enables persistent log directories when logs mode is active, supports dryrun and trace modes, and adds MOTD/SSH setup and breakpoint shell for debugging. Refactors related logic in build.func, core.func, and install.func for improved developer experience and debugging.
2025-11-17 12:53:26 +01:00
CanbiZ
c2b7f4e298 Improve container build/install logging and error handling
Introduces distinct BUILD_LOG and INSTALL_LOG variables for host and container operations, ensuring logs are properly captured and retrievable. Refactors silent execution and error handling to use the active log file, improves log copying after failures, and enhances context detection for log management. Also adds fallback logic for INSTALL_LOG initialization in install.func.
2025-11-17 12:45:24 +01:00
CanbiZ
c0fc74bc9c Add detailed documentation and refactor core functions
Expanded inline documentation and section headers across misc/api.func, misc/build.func, misc/core.func, misc/error_handler.func, and misc/install.func for improved maintainability and clarity. Refactored error handling to use centralized explain_exit_code and updated API telemetry/reporting logic. Enhanced modularity and structure of utility, validation, and setup functions, and improved comments for user guidance and developer onboarding.
2025-11-17 11:17:04 +01:00
CanbiZ
b840a8aa32 Replace init_error_traps with catch_errors in scripts
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Replaces all occurrences of the 'init_error_traps' function with 'catch_errors' across container and install scripts for consistency in error handling. Also adjusts indentation and formatting in some scripts for improved readability.
2025-09-19 08:53:49 +02:00
CanbiZ
5c750affa5 error-log 2025-09-16 08:58:01 +02:00
CanbiZ
8d687ba9ab test 2025-09-15 15:34:41 +02:00
CanbiZ
343af10d8b error_handler 2025-09-15 15:26:57 +02:00
CanbiZ
861c5070a7 fixes 2025-09-15 15:17:17 +02:00
CanbiZ
af46e22bd2
Revert "feat: add centralized logging utilities" 2025-08-25 14:30:28 +02:00
CanbiZ
3c3aabd21d feat: expand logger with subshell-safe error handling 2025-08-25 14:28:16 +02:00
Andrew Stout
8a663669bd
Revert "Reapply "Updated urls for testing""
This reverts commit 9c1670fc9d4446baa06b84a67a2d0341c91cfde0.
2025-08-16 21:14:11 -05:00
Andrew Stout
9c1670fc9d
Reapply "Updated urls for testing"
This reverts commit 2b8ac5458b5ae029c8a630c53fe4209846a9be8d.
2025-08-16 15:31:08 -05:00
Andrew Stout
2b8ac5458b
Revert "Updated urls for testing"
This reverts commit 89c3c77bf5c5ae858233d409f696014426ba21b1.
2025-08-16 15:08:20 -05:00
Andrew Stout
9bf97a6995
Updated urls for testing 2025-08-16 15:08:20 -05:00
CanbiZ
5c3f50289b Update install.func 2025-07-07 08:36:05 +02:00
CanbiZ
7ca204b827 fix path 2025-06-30 13:39:39 +02:00
CanbiZ
2637a70057 Update install.func 2025-06-30 13:12:35 +02:00
CanbiZ
92ca930cae fixes 2025-05-21 08:27:00 +02:00
CanbiZ
bfcd955c0b - 2025-05-20 09:32:49 +02:00
CanbiZ
09273f00dd Update install.func 2025-05-20 09:31:52 +02:00
CanbiZ
5f5478b19f test 2025-05-20 09:27:11 +02:00
CanbiZ
0e626b5028 reverted 2025-05-20 09:19:14 +02:00
CanbiZ
8428c9a449 test 2025-05-20 09:16:53 +02:00
CanbiZ
1110ed29fc test 2025-05-15 15:39:21 +02:00
CanbiZ
d79b5f9ef6 Update install.func 2025-05-15 15:29:09 +02:00
CanbiZ
0f2e609a42 testing 2025-05-15 15:10:44 +02:00
CanbiZ
d117ac6263 feature dnscheck 2025-05-15 15:06:49 +02:00
CanbiZ
9d4af5021b add fatal 2025-05-15 15:02:36 +02:00
CanbiZ
1c9d0d9665 Update install.func 2025-05-15 14:59:20 +02:00
CanbiZ
5c8d79257e Update install.func 2025-05-15 14:57:56 +02:00
CanbiZ
3d5467f0e5 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2025-05-15 14:38:36 +02:00
CanbiZ
015fd29065 Update install.func 2025-05-15 14:38:34 +02:00
23c5acb9d6 Add git.community-scripts.org to dns check 2025-05-15 14:36:58 +02:00
CanbiZ
48361da65d Update install.func 2025-05-15 14:32:35 +02:00
CanbiZ
4c2a3157ce Update install.func 2025-05-15 14:26:03 +02:00
CanbiZ
38c3e318a6 Update install.func 2025-05-15 13:41:50 +02:00
CanbiZ
ecd561f525 Update install.func 2025-05-15 11:36:17 +02:00
CanbiZ
ae4fcc9546 Update install.func 2025-05-15 11:35:53 +02:00
CanbiZ
5d8318df47 github resolve DNS 2025-05-15 11:25:12 +02:00
CanbiZ
6e23df9da4 test 2025-05-15 10:50:47 +02:00
CanbiZ
1b5d455d8a fixes 2025-05-15 10:06:17 +02:00
CanbiZ
19da53f77d msg_custom 2025-05-15 09:49:18 +02:00
CanbiZ
cf046389d1 Update install.func 2025-05-15 09:47:36 +02:00
Michel Roegl-Brunner
f99c48d760
Change all links to gite (#343) 2025-05-14 10:17:40 +02:00
CanbiZ
0028578712 test 2025-05-09 15:19:32 +02:00
CanbiZ
a5ad1c7b01 some fixes core.func 2025-05-08 10:08:52 +02:00
CanbiZ
0ebcbde79a fixes 2025-05-08 10:00:32 +02:00
CanbiZ
40e0159a68 cleanup 2025-05-07 16:05:08 +02:00