Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heal Comments on Package Resources Update #3084

Merged
merged 4 commits into from
May 6, 2022
Merged

Conversation

martinmaly
Copy link
Contributor

  • Heal
  • Fix golden files & flags

@martinmaly martinmaly requested a review from justinsb May 4, 2022 01:11
@martinmaly martinmaly changed the title WIP: Heal Comments on Package Resources Update Heal Comments on Package Resources Update May 4, 2022
@martinmaly martinmaly requested a review from mortent May 4, 2022 17:20
@mortent
Copy link
Contributor

mortent commented May 6, 2022

The solution looks fine and seems to be reusing the functionality in kyaml already used for functions. I see that this can be unexpected for users since we can't distinguish between comments that have been deliberately deleted from what has been unintentionally lost as part of the process. But we can probably look at feedback here and see what we should do.

@martinmaly
Copy link
Contributor Author

I agree we'll have to figure out some way to heal comments when the client editor (i.e. UI) drops them but allow for their deletion. Maybe we'll need a flag. I'll merge this and we'll evolve from here.

@martinmaly martinmaly merged commit c6bc428 into kptdev:main May 6, 2022
@martinmaly martinmaly deleted the heal branch May 6, 2022 04:09
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.

None yet

2 participants