212 Commits

Author SHA1 Message Date
CanbiZ
6e43ed60eb Update core.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-09-23 14:42:48 +02:00
CanbiZ
e5e7c5fa9f Update core.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-09-23 14:41:58 +02:00
CanbiZ
d0f6818386 Move and improve ssh_check and shell_check functions
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
The ssh_check function was moved from build.func to core.func and enhanced to allow an override and to skip warnings for localhost connections. The shell_check function was simplified to directly check for Bash and provide clearer messaging. These changes centralize environment checks and improve user experience.
2025-09-23 14:39:39 +02:00
CanbiZ
435890eee2 Update core.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-09-23 14:32:19 +02:00
CanbiZ
f333fc5db7 Improve shell detection in shell_check function
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Enhanced the shell_check function to handle both 'bash' and '-bash' as valid shells, added a debug message to display the detected shell, and changed the exit code to 1 for clearer error signaling.
2025-09-23 14:29:44 +02:00
tremor021
923a24a1cc Update shell detection
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-09-22 09:34:31 +02:00
CanbiZ
9a1f0de47e Refactor app defaults save logic and remove error handlers
Reworks the app defaults save/update logic in misc/build.func to support updating existing defaults with a diff and interactive menu, and adds robust var_* parsing and whitelisting. Removes legacy error and curl handler functions from misc/core.func, streamlining error handling and reducing code duplication.
2025-09-16 13:05:02 +02:00
CanbiZ
8aa95f9549 Update core.func 2025-09-16 11:44:24 +02:00
CanbiZ
7c0f758e2a Update core.func 2025-09-16 11:28:20 +02:00
CanbiZ
ca023e077e Update core.func 2025-09-16 11:19:19 +02:00
CanbiZ
773ae42241 test 2025-09-16 11:16:01 +02:00
CanbiZ
983ea68da6 Update core.func 2025-09-16 11:09:59 +02:00
CanbiZ
9d496e563b Update core.func 2025-09-16 11:02:21 +02:00
CanbiZ
d89e19db74 testing error 2025-09-16 10:56:56 +02:00
CanbiZ
cb29e50080 testing 2025-09-16 10:49:47 +02:00
CanbiZ
ba51df5bb1 testing 2025-09-16 10:41:55 +02:00
CanbiZ
67ebb3782c fixes 2025-09-16 10:26:00 +02:00
CanbiZ
c24defefd8 Update core.func 2025-09-16 10:20:09 +02:00
CanbiZ
b9ce802c8f Update core.func 2025-09-16 10:07:28 +02:00
CanbiZ
2b22c47976 Update core.func 2025-09-16 10:04:37 +02:00
CanbiZ
0e66031e3c error-handler 2025-09-16 09:59:06 +02:00
CanbiZ
ce79bd0c08 outsource 2025-09-16 09:57:35 +02:00
CanbiZ
d078f1d158 Update core.func 2025-09-16 09:51:35 +02:00
CanbiZ
5c750affa5 error-log 2025-09-16 08:58:01 +02:00
CanbiZ
cde9ae6d4b Update core.func 2025-09-16 08:39:21 +02:00
CanbiZ
7ca4f0e9fb Update core.func 2025-09-15 16:00:06 +02:00
CanbiZ
f92479dfb0 Update core.func 2025-09-15 15:53:30 +02:00
CanbiZ
a5a58d87b4 Improve error handling and silent logging
Expanded explain_exit_code with more exit codes for various tools (APT, Node.js, Python, databases) for better diagnostics. Updated silent() to set BASH_COMMAND on failure for improved error context.
2025-09-15 15:43:58 +02:00
CanbiZ
8d687ba9ab test 2025-09-15 15:34:41 +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
CanbiZ
d9987442ae test 2025-08-04 11:13:19 +02:00
CanbiZ
b743b30b61 destroy_lxc 2025-08-04 10:45:33 +02:00
CanbiZ
f5b1cecef2 Update core.func 2025-07-28 14:40:36 +02:00
CanbiZ
76d540810c Update core.func 2025-07-28 14:33:15 +02:00
CanbiZ
b17ae237d7 msg_debug 2025-07-28 14:19:17 +02:00
CanbiZ
ba0a4197d9 shebang 2025-07-28 09:23:16 +02:00
CanbiZ
54aa5f7b2d better error_handling 2025-07-28 09:17:03 +02:00
CanbiZ
6c0599e30b create_lxc: better handling of storage names & exit script 2025-07-28 09:14:10 +02:00
CanbiZ
6c602da50f Update core.func 2025-07-10 10:22:38 +02:00
CanbiZ
bbb65624b7 Update core.func 2025-07-10 10:07:06 +02:00
CanbiZ
9e8af15308 Update core.func 2025-07-10 10:04:46 +02:00
CanbiZ
ae6a6bff81 Update core.func 2025-07-10 10:02:17 +02:00
CanbiZ
eb2b679e5e vaapi 2025-07-07 15:44:05 +02:00
CanbiZ
d18f82a36e Update core.func 2025-07-04 13:39:45 +02:00
CanbiZ
021d645de4 Update core.func 2025-07-04 13:38:25 +02:00
CanbiZ
6a28e4c09e Update core.func 2025-07-04 13:34:35 +02:00
CanbiZ
77c70c5d1b Update core.func 2025-07-04 13:27:30 +02:00
CanbiZ
03825ae872 Update core.func 2025-07-04 13:23:40 +02:00
CanbiZ
c4139b0657 Update core.func 2025-07-04 13:05:44 +02:00