Skip to content

feat: add include_config support to split .magebox.yaml across multiple files - #60

Merged
peterjaap merged 3 commits into
mainfrom
copilot/add-functionality-to-magebox-yml
Apr 3, 2026
Merged

peterjaap merged 3 commits into
mainfrom
copilot/add-functionality-to-magebox-yml

Conversation

Copilot AI commented Apr 3, 2026 •

Copy link
Copy Markdown
Contributor
  • Explore codebase and understand config loading
  • Add IncludeConfig []string field to Config struct in types.go
  • Add loadFileWithIncludes and resolveIncludePaths helpers in loader.go
  • Update Load() to use loadFileWithIncludes
  • Extend merge to handle Type, Testing, Sandbox, Isolated fields
  • Add tests for the include_config feature (6 sub-tests)
  • Run linter (0 issues)
  • Run full test suite (all pass)
  • Run CodeQL (0 alerts)
  • Update vitepress/guide/project-config.md — new include_config section with examples, merge semantics, directory include, and a best practice entry
  • Update vitepress/reference/config-options.md — add include_config option entry after compose_file

Copilot AI changed the title [WIP] Add functionality to include configurations in .magebox.yml feat: add include_config support to split .magebox.yaml across multiple files Apr 3, 2026
Copilot AI requested a review from peterjaap April 3, 2026 09:09
@peterjaap

Copy link
Copy Markdown
Collaborator

@copilot also update the documentation with this

Copilot AI commented Apr 3, 2026

Copy link
Copy Markdown
Contributor Author

@copilot also update the documentation with this

Done in f680ecf. Updated two documentation pages:

  • vitepress/guide/project-config.md — added an include_config section with examples for file includes and directory auto-include, a merge semantics explanation, a real-world split-config example, and a best practices entry.
  • vitepress/reference/config-options.md — added include_config as a typed reference entry after compose_file.

@peterjaap
peterjaap marked this pull request as ready for review April 3, 2026 14:24
@peterjaap
peterjaap merged commit 98c8bc1 into main Apr 3, 2026
10 checks passed
@peterjaap
peterjaap deleted the copilot/add-functionality-to-magebox-yml branch April 3, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] include functionality in the .magebox.yml file on project level

2 participants