spin icon indicating copy to clipboard operation
spin copied to clipboard

spin doctor manifest v1->v2 conversions: preserve comments?

Open vdice opened this issue 2 years ago • 1 comments

When I run spin doctor on a spin.toml with v1 syntax and convert it to v2, I notice all comments are removed in the process.

Not sure how tricky it would be to retain comments at their proper positions. For now I can manually work around by copy/pasting them back in from the backup

vdice avatar Dec 04 '23 22:12 vdice

"Quite tricky". I tried, but it would basically require having two completely different copies of the v1->v2 logic.

lann avatar Dec 04 '23 22:12 lann

@vdice I reckon this one is no longer very relevant - anyone who is going to migrate off v1 has likely done so by now. So I'm closing it, but of course re-open if you reckon it's worth keeping.

itowlson avatar Jul 15 '25 01:07 itowlson