Skip to content

fix(extensionmgr): preserve YAML comments when adding extensions#195

Merged
indaco merged 2 commits intomainfrom
fix/preserve-yaml-comments-on-extension-install
Jan 27, 2026
Merged

fix(extensionmgr): preserve YAML comments when adding extensions#195
indaco merged 2 commits intomainfrom
fix/preserve-yaml-comments-on-extension-install

Conversation

@indaco
Copy link
Copy Markdown
Owner

@indaco indaco commented Jan 27, 2026

Description

Preserve YAML comments and formatting in .sley.yaml when running sley extension install by replacing only the relevant section instead of full unmarshal/m round-trip.

Related Issue

  • None

Notes for Reviewers

  • None

indaco and others added 2 commits January 27, 2026 20:58
Replace full unmarshal/marshal round-trip with section
replacement so that comments and formatting in .sley.yaml are
preserved when running `sley extension install`.
…LSection

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
@indaco indaco merged commit c7e999d into main Jan 27, 2026
7 checks passed
@indaco indaco deleted the fix/preserve-yaml-comments-on-extension-install branch January 27, 2026 20:08
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