Skip to content

fix: improve YAML configuration handling and normalize exports - #228

Open
KingIronMan2011 wants to merge 1 commit into
BlueprintFramework:mainfrom
KingIronMan2011:fix-cli-script-issues
Open

fix: improve YAML configuration handling and normalize exports#228
KingIronMan2011 wants to merge 1 commit into
BlueprintFramework:mainfrom
KingIronMan2011:fix-cli-script-issues

Conversation

@KingIronMan2011

@KingIronMan2011 KingIronMan2011 commented Jul 29, 2026

Copy link
Copy Markdown

Summary

  • guard stored extension YAML parsing during updates and removals
  • normalize exported conf.yml files to UTF-8 without a BOM

Root cause

Legacy stored configuration could cause the YAML parser to emit malformed shell assignments. The install and remove flows evaluated that output directly, resulting in errors such as =: command not found. Extension configuration saved with a UTF-8 BOM or UTF-16 encoding could also fail parsing after export.

Changes

Stored configuration parsing now accepts only the expected generated variable assignments and warns when malformed entries are ignored. Exported extension configuration is normalized through a Node helper before it is packaged, removing UTF-8 BOMs and converting BOM-marked UTF-16 files to UTF-8.

Validation

  • verified UTF-8 BOM removal
  • verified UTF-16 to UTF-8 conversion

@KingIronMan2011
KingIronMan2011 marked this pull request as ready for review July 29, 2026 18:16
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.

1 participant