Commit Graph
2243 Commits
Author SHA1 Message Date
xcad e080cffa08 complete refactoring 2025-09-14 16:47:39 +02:00
xcad d079749476 improved logging and loading logic 2025-09-14 14:57:07 +02:00
xcad 336dc7a028 better logging and variable handling 2025-09-14 12:58:46 +02:00
xcad f67391f74a validation clean up 2025-09-13 18:35:47 +02:00
xcad 9a5e808618 update 2025-09-10 15:10:42 +02:00
xcad 88222cb51f new variables 2025-09-08 18:17:07 +02:00
xcad 86684d20f0 updated metadata handling and prompt display 2025-09-08 10:31:27 +02:00
xcad e6f97c7d4a feat: Improve spacing and add 'Default values:' label
- Added newline after each section header for better separation
- Added newline after enabler prompts for visual breathing room
- Added 'Default values:' label before showing optional values
- Added newline before and after default values display
- Added newline after 'change values' prompt
- Overall much more readable with proper visual spacing

The output now has better visual hierarchy and is easier to scan.
2025-09-08 10:13:04 +02:00
xcad c4622342b6 refactor: Unify section headers and simplify variable display
- Unified handling of required variables across all sections
- Section headers now always show: 'Icon SectionName' (no more 'Required Configuration')
- Icons appear only with section headers, not in value displays
- Optional values shown inline without headers (just the values)
- Consistent formatting whether section has enabler, required vars, or only optional
- Cleaner, more concise output with better visual hierarchy

Example:
📦 General
Enter service_name: ...
container_name: nginx, port: 8080
Do you want to change any values?
2025-09-08 10:10:32 +02:00
xcad a16de71c4e feat: Add metadata system for variables with hints and icons
- Created module metadata files (.meta.yaml) for variable hints, descriptions, and icons
- Templates can override metadata via frontmatter 'variables' section
- Added hint display during prompting (e.g., webapp, api, database)
- Added tips for complex variables (shown with 💡)
- Icons now come from metadata only (no fallback emojis)
- Cleaned up formatting: removed indentation, consistent spacing
- Example compose.meta.yaml with comprehensive variable metadata

This creates a powerful two-tier metadata system where modules provide
defaults and templates can override or extend with specific needs.
2025-09-08 10:07:21 +02:00
xcad cb40c834c2 feat: Add compact optional configuration display with icons
- Removed 'Optional Configuration' header
- Display as single line with category icon
- Format: '📦 General: var1: value1, var2: value2'
- Icons for different categories (network, traefik, swarm, etc.)
- More concise and visually appealing output
2025-09-08 09:57:48 +02:00
xcad acd39b5ff3 feat: Simplify optional variable preview display
- Show all optional variables in a single line
- Use dim white formatting for subtle display
- More compact and cleaner output
- Example: 'service_port_https: 8443, container_name: nginx, service_port_http: 8080'
2025-09-08 09:54:00 +02:00
xcad b014b23f13 refactor: Simplify to dotted notation only, remove dict variable handling
- Removed all dict variable handling code
- Simplified TemplateVariable dataclass (no more is_dict, dict_keys)
- Simplified template parser to only handle dotted notation
- Removed _prompt_dict_variable from prompt handler
- Updated nginx template to use underscores instead of dots/dicts

This greatly simplifies the system but requires templates to use
underscores (service_port_http) instead of dots or dict access
to avoid Jinja2's attribute resolution confusion.
2025-09-08 09:51:21 +02:00
xcad 238ad6b0b0 refactor: Remove VariableRegistry and make templates self-describing
Major refactoring to simplify the variable system:
- Removed VariableRegistry entirely - templates are now the single source of truth
- Created TemplateVariable dataclass to represent auto-detected variables
- Enhanced template parser to detect:
  - Enabler variables (used in {% if %} conditions)
  - Dotted notation (traefik.host, network.name)
  - Dict access patterns (service_port['http'])
  - Nested patterns (nginx_dashboard.port['dashboard'])
- Variables are now automatically analyzed from templates with type inference
- Simplified Module base class - no more _init_variables
- Updated all modules to remove variable registration
- Prompt handler now works with template-detected variables

This makes the system much more flexible - any variable used in a template
is automatically available without needing to be registered in code.
2025-09-08 09:40:42 +02:00
xcad c3ca59e687 fix: Hide enabler variables from optional configuration display
- Filter out enabler variables (network, traefik, swarm) from the optional configuration overview
- Enablers are now only shown when prompting for enable/disable, not in the optional values list
- Prevents redundant display of boolean enabler variables
2025-09-08 09:33:18 +02:00
xcad 23fba94147 new updates 2025-09-07 20:23:23 +02:00
xcad fc3408241e fix 2025-09-07 10:38:20 +02:00
xcad 54f3425cc0 added prompt logic 2025-09-05 13:53:36 +02:00
xcad 5ab85326c5 next steps 2025-09-04 20:41:55 +02:00
xcad 83fee55e39 smarter show command 2025-09-04 19:17:11 +02:00
xcad 489189c025 udpated show output 2025-09-04 16:03:17 +02:00
xcad 4dbadc711a refactored code 2025-09-04 10:16:13 +02:00
xcad e14e90f0f7 new changes 2025-09-03 13:29:12 +02:00
xcad 6633c99394 fix 2025-09-02 10:09:19 +02:00
xcad d0c4e848e9 new functions and template frontmatter settings 2025-09-02 09:01:54 +02:00
xcad 81aa6f0d7d new features for traefik labels 2025-09-01 18:07:40 +02:00
xcad 04c530f33a more features to generate templates 2025-09-01 18:00:16 +02:00
xcad bfd9801d04 started refactoring bpv2 2025-08-29 09:49:19 +02:00
Christoph Schug bfd88fbe4b Merge pull request #1156 from ChristianLempa/renovate/docker.io-library-mariadb-12.x
chore(deps): update docker.io/library/mariadb docker tag to v12
2025-08-28 14:44:07 +02:00
renovate[bot] 7ee88a614f chore(deps): update docker.io/library/mariadb docker tag to v12 2025-08-28 12:32:25 +00:00
Christoph Schug 4621de23d6 Merge pull request #1182 from ChristianLempa/renovate/ghcr.io-open-webui-open-webui-0.6.x
chore(deps): update ghcr.io/open-webui/open-webui docker tag to v0.6.26
2025-08-28 14:31:17 +02:00
renovate[bot] 3e56772f3d chore(deps): update ghcr.io/open-webui/open-webui docker tag to v0.6.26 2025-08-28 12:29:39 +00:00
Christoph Schug fb2256956f Merge pull request #1183 from cschug/upgrade/tecnativa-docker-socket-proxy-0.4.0
chore(deps): update ghcr.io/tecnativa/docker-socket-proxy docker tag to v0.4.0
2025-08-28 14:28:43 +02:00
Christoph Schug 8a93576a8f chore(deps): update ghcr.io/tecnativa/docker-socket-proxy docker tag to v0.4.0 2025-08-28 14:27:25 +02:00
Christoph Schug 968876b574 Merge pull request #1180 from ChristianLempa/renovate/docker.io-library-traefik-3.5.x
chore(deps): update docker.io/library/traefik docker tag to v3.5.1
2025-08-28 14:10:43 +02:00
Christoph Schug d467c7747d Merge pull request #1181 from ChristianLempa/renovate/traefik-3.5.x
chore(deps): update traefik docker tag to v3.5.1
2025-08-28 14:10:18 +02:00
renovate[bot] ae94a1be3f chore(deps): update traefik docker tag to v3.5.1 2025-08-27 18:27:03 +00:00
renovate[bot] ebaace11bb chore(deps): update docker.io/library/traefik docker tag to v3.5.1 2025-08-27 18:26:53 +00:00
Christoph Schug fe9ab14468 Merge pull request #1179 from ChristianLempa/renovate/docker.io-gitlab-gitlab-ce-18.3.x
chore(deps): update docker.io/gitlab/gitlab-ce docker tag to v18.3.1
2025-08-27 20:26:24 +02:00
renovate[bot] cf6a6bbb37 chore(deps): update docker.io/gitlab/gitlab-ce docker tag to v18.3.1 2025-08-27 18:04:01 +00:00
Christoph Schug 86d50bf1af Merge pull request #1174 from ChristianLempa/renovate/ghcr.io-home-assistant-home-assistant-2025.8.x
chore(deps): update ghcr.io/home-assistant/home-assistant docker tag to v2025.8.3
2025-08-27 09:52:58 +02:00
Christoph Schug 1ed4d995b4 Merge pull request #1168 from ChristianLempa/renovate/docker.io-portainer-portainer-ce-2.x
chore(deps): update docker.io/portainer/portainer-ce docker tag to v2.33.1
2025-08-27 09:52:29 +02:00
Christoph Schug 533a00a8ac Merge pull request #1178 from ChristianLempa/renovate/portainer-portainer-ce-2.33.x
chore(deps): update portainer/portainer-ce docker tag to v2.33.1
2025-08-27 09:52:03 +02:00
renovate[bot] 31baf3d6f9 chore(deps): update docker.io/portainer/portainer-ce docker tag to v2.33.1 2025-08-27 00:39:10 +00:00
renovate[bot] 227a1cc656 chore(deps): update portainer/portainer-ce docker tag to v2.33.1 2025-08-27 00:39:06 +00:00
renovate[bot] 890ebcf9e6 chore(deps): update ghcr.io/home-assistant/home-assistant docker tag to v2025.8.3 2025-08-22 21:42:40 +00:00
Christoph Schug 5fdf049c34 Merge pull request #1176 from ChristianLempa/renovate/ghcr.io-open-webui-open-webui-0.6.x 2025-08-22 23:42:03 +02:00
renovate[bot] 3022d27931 chore(deps): update ghcr.io/open-webui/open-webui docker tag to v0.6.25 2025-08-22 17:11:45 +00:00
Christoph Schug 947793a8e8 Merge pull request #1175 from ChristianLempa/renovate/ghcr.io-open-webui-open-webui-0.6.x
chore(deps): update ghcr.io/open-webui/open-webui docker tag to v0.6.23
2025-08-22 10:32:13 +02:00
renovate[bot] afa84b1b22 chore(deps): update ghcr.io/open-webui/open-webui docker tag to v0.6.23 2025-08-21 22:04:02 +00:00