anaconda / percy

A tool to work on recipes from aggregate.
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

Starts work on comment preservation #113

Closed schuylermartin45 closed 8 months ago

schuylermartin45 commented 8 months ago

This project has had a few false starts and I'm not 100% happy with the current state. Trying to preserve non-selector comments while upgrading recipes is a bit of a pain.

This approach isn't great, but it might move us in the right direction. At the very least it might be a "good enough" solution for some time.

This PR also introduces the curl.yaml parser conversion test. This test is incomplete and broken. IF we can eventually perform a perfect or near-perfect conversion of curl.yaml, that'll be a good signal that we can handle some pretty complex recipes.

tl;dr This PR contains some experimental work. In an effort to reduce a future PR from getting very big, I'm introducing this work now.