kevinveenbirkenbach
e23187bccb
refactor(deploy): remove skip-tests option from dedicated deploy
...
- Drop --skip-tests CLI flag and runner parameter
- Remove test phase execution from deploy workflow
- Update unit tests to match simplified deploy flow
https://chatgpt.com/share/69473607-22e4-800f-845b-a628677fb8b9
2025-12-21 00:49:21 +01:00
kevinveenbirkenbach
103659a534
refactor(deploy): modularize dedicated deploy CLI and fix make cwd issue
...
- Split dedicated deploy logic into focused modules (apps, modes, paths, proc, runner)
- Ensure all make targets run from the repository root via explicit cwd handling
- Fix "make: No rule to make target" errors caused by incorrect working directory
- Slim down __main__ to a thin CLI entrypoint
- Rework unit tests into one file per module and expand coverage
https://chatgpt.com/share/69472632-9740-800f-962c-bcb4474963d6
2025-12-20 23:41:41 +01:00
kevinveenbirkenbach
a354992f27
refactor(create-inventory): modularize CLI, stabilize path handling, add unit tests
...
- Split create-inventory logic into focused modules (cli, project, filters, host_vars, credentials, etc.)
- Replace fragile path construction with python -m module execution
- Add robust project root detection
- Centralize password generation
- Improve test coverage with per-module unit tests
- Preserve existing inventory and host_vars behavior
https://chatgpt.com/share/69471157-79c0-800f-8dec-25c0f8e38f03
2025-12-20 22:12:44 +01:00
kevinveenbirkenbach
3da6e3a23e
refactor(cli): modularize dispatcher and improve command discovery
...
https://chatgpt.com/share/6947052d-76fc-800f-9db3-98de6894ceb0
2025-12-20 21:20:47 +01:00
kevinveenbirkenbach
2e6d973839
fix(build): align CLI module invocations and stabilize include generation
...
- Switch Makefile targets to direct module execution (cli.build.*)
- Remove obsolete flags and normalize tree invocation
- Minor formatting cleanups for readability and test stability
- Keep inventory and include paths consistent after package layout migration
https://chatgpt.com/share/6946eac4-eb48-800f-becb-f08420ab03a6
2025-12-20 19:28:14 +01:00
kevinveenbirkenbach
bb8c05a653
Replaced tree.py by tree/__main__.py
2025-12-20 18:38:52 +01:00
kevinveenbirkenbach
102735dba4
Renamed inventory.py to inventory/__main__.py
2025-12-20 18:30:20 +01:00
kevinveenbirkenbach
993ed8addd
Renamed Makefile *.py includes
2025-12-20 18:28:37 +01:00
kevinveenbirkenbach
0ea828ab6e
cleanup: unify git cleanup, simplify deploy flow, fix dockerignore
...
- Remove clean-keep-logs target and enforce git-repo guard in Makefile
- Always use `make clean` during deploy cleanup with live output
- Add shared subprocess runner for consistent stdout/stderr handling
- Align unit tests with simplified cleanup semantics
- Fix .dockerignore to ignore build artifacts and Ruff cache correctly
https://chatgpt.com/share/6945784a-daac-800f-bc02-d7e8d3087376
2025-12-19 17:07:33 +01:00
kevinveenbirkenbach
f775ae9dfa
ci(deploy): run deploy tests with --missing and docker-based invokable excludes
2025-12-19 16:07:59 +01:00
kevinveenbirkenbach
7c0c1321d5
Fix Hadolint code scanning identity and apply formatting cleanups
...
https://chatgpt.com/share/694420ac-5d70-800f-94b8-71549893936e
2025-12-18 16:41:25 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
fda08ede8d
Potential fix for code scanning alert no. 72: Empty except
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 16:26:43 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
b085421b14
Potential fix for code scanning alert no. 71: Empty except
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 16:24:50 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
f904b20f63
Potential fix for code scanning alert no. 76: Empty except
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 16:23:42 +01:00
kevinveenbirkenbach
f7809c266e
Optimized ruff
2025-12-18 14:33:54 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
796f9961db
Potential fix for code scanning alert no. 73: Empty except
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 14:12:44 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
99babcd7a4
Potential fix for code scanning alert no. 74: Empty except
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 14:12:26 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
b8de616d4d
Potential fix for code scanning alert no. 77: Empty except
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 14:11:43 +01:00
kevinveenbirkenbach
a38f36837f
style: reformat code for readability and lint compliance
2025-12-18 14:08:01 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
1188bd51f3
Potential fix for code scanning alert no. 60: Module is imported with 'import' and 'import from'
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 13:59:09 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
4e8346ae3c
Potential fix for code scanning alert no. 45: Implicit string concatenation in a list
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 13:49:55 +01:00
kevinveenbirkenbach
88df3f5975
test(lint): ensure all test_*.py files define runnable unittest tests
...
https://chatgpt.com/share/6943f225-b244-800f-ab1b-8061a091750e
2025-12-18 13:35:08 +01:00
kevinveenbirkenbach
318fd8552e
Merge branch 'master' of github.com:kevinveenbirkenbach/infinito-nexus
2025-12-18 13:23:19 +01:00
kevinveenbirkenbach
fa08a2c245
test(integration): ensure roles including sys-service define system_service_id
...
https://chatgpt.com/share/6943f225-b244-800f-ab1b-8061a091750e
2025-12-18 13:22:41 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
6fa6984c72
Potential fix for code scanning alert no. 56: Explicit returns mixed with implicit (fall through) returns
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 13:14:33 +01:00
kevinveenbirkenbach
1e8146eae0
Removed unused code
2025-12-18 13:04:52 +01:00
kevinveenbirkenbach
b512d6c4b6
Solved mock path bugs
2025-12-18 13:03:12 +01:00
kevinveenbirkenbach
493fafe867
Merge pull request #12 from kevinveenbirkenbach/alert-autofix-62
...
Potential fix for code scanning alert no. 62: Module is imported with 'import' and 'import from'
2025-12-18 12:49:21 +01:00
kevinveenbirkenbach
c2bb81a126
Merge pull request #13 from kevinveenbirkenbach/alert-autofix-61
...
Potential fix for code scanning alert no. 61: Module is imported with 'import' and 'import from'
2025-12-18 12:48:59 +01:00
kevinveenbirkenbach
ffe966324c
Merge pull request #14 from kevinveenbirkenbach/alert-autofix-59
...
Potential fix for code scanning alert no. 59: Module is imported with 'import' and 'import from'
2025-12-18 12:48:04 +01:00
kevinveenbirkenbach
cf34dc8ae4
Merge pull request #18 from kevinveenbirkenbach/alert-autofix-41
...
Potential fix for code scanning alert no. 41: Jinja2 templating with autoescape=False
2025-12-18 12:47:25 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
1d381f9fe4
Potential fix for code scanning alert no. 80: File is not always closed
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 12:45:12 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
c13ef988c0
Potential fix for code scanning alert no. 52: Potentially uninitialized local variable
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 12:44:30 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
ed5ca7e4c3
Potential fix for code scanning alert no. 41: Jinja2 templating with autoescape=False
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 12:41:24 +01:00
kevinveenbirkenbach
c1bf8035f7
Solved missing import bug
2025-12-18 12:38:36 +01:00
kevinveenbirkenbach
908d391359
ruff format .
2025-12-18 12:26:34 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
f7b2739b8e
Potential fix for code scanning alert no. 63: Module is imported with 'import' and 'import from'
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 12:00:56 +01:00
kevinveenbirkenbach
77911ee3f2
fix(codeql): remove unused global state and silence unused-global-variable alerts
...
Replace manual global warning state in sounds module with lru_cache-based
"warn once" implementation, eliminating the unused global variable flagged
by CodeQL.
Additionally remove unused module-level regex/constants and dead files
identified by static analysis to reduce noise and keep the codebase clean.
https://chatgpt.com/share/6943de4d-17a4-800f-9c40-a76d2870e0a5
2025-12-18 11:58:14 +01:00
kevinveenbirkenbach
f9d6503a9e
Removed unused pathlib import
2025-12-18 11:17:04 +01:00
kevinveenbirkenbach
e8f4921b46
lint(tests): enforce test_ prefix for all Python test files
...
https://chatgpt.com/share/6943d20f-aa00-800f-a861-f16cf158148a
2025-12-18 11:06:00 +01:00
kevinveenbirkenbach
7753afc841
**tests: fix repo root resolution for disk space script import**
...
Correctly resolve the repository root in unit tests so the target script is loaded from `roles/…` instead of under `tests/`, fixing FileNotFoundError during test discovery.
https://chatgpt.com/share/6943d0d0-3124-800f-9a9e-aedf0121180b
2025-12-18 11:00:41 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
4bc29cd52c
Potential fix for code scanning alert no. 59: Module is imported with 'import' and 'import from'
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 10:34:11 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
a6a56a7cc3
Potential fix for code scanning alert no. 61: Module is imported with 'import' and 'import from'
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 10:33:49 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
dda9505801
Potential fix for code scanning alert no. 62: Module is imported with 'import' and 'import from'
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 10:33:41 +01:00
kevinveenbirkenbach and Copilot Autofix powered by AI
9a6387a0c2
Potential fix for code scanning alert no. 81: File is not always closed
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-18 10:28:04 +01:00
kevinveenbirkenbach
74f8cad5a7
ruff format .
2025-12-18 10:12:48 +01:00
kevinveenbirkenbach
cd117afd88
test: fix CodeQL import warning by unifying unittest imports
...
https://chatgpt.com/share/6943c4e0-7468-800f-9507-28a2509a7cf0
2025-12-18 10:09:16 +01:00
kevinveenbirkenbach
dc846b0672
refactor(cli): move main entrypoint to cli package and standardize execution
...
- Move main.py to cli/__main__.py and expose via console script
- Switch Makefile execution to `python -m cli`
- Remove fragile Docker symlink to main.py
- Ensure infinito console script is available via venv PATH
- Update tests and documentation to reflect new CLI structure
- Improve logging location and permissions (XDG_STATE_HOME)
- Handle Ctrl+C gracefully with POSIX-compliant exit code (130)
https://chatgpt.com/share/6942f140-fb8c-800f-a13a-641ebf1c644e
2025-12-17 19:06:49 +01:00
kevinveenbirkenbach
7123841fb4
style: apply ruff autoformat
2025-12-17 16:37:21 +01:00
kevinveenbirkenbach
06ec94d2b1
Solved further ruff
2025-12-17 16:26:18 +01:00