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

unit: try to avoid unit file modification #147

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kayrus
Copy link
Contributor

@kayrus kayrus commented Apr 8, 2016

@jonboulle it still skips commented strings, not sure how can I implement that...

main goal is to keep unit files unmodified when it is possible.

resolves coreos/fleet#1539

@kayrus kayrus force-pushed the kayrus/dont_skip_empty_sections branch from 9bb6d77 to fbfeef4 Compare April 8, 2016 18:08
@kayrus kayrus force-pushed the kayrus/dont_skip_empty_sections branch from fbfeef4 to d88a86d Compare April 8, 2016 19:04
@jonboulle
Copy link
Contributor

@kayrus I definitely appreciate the sentiment, but I'm a little ambivalent about this just being a partial promise, since as you note we still ignore comments. (personally, I regret the unit code ever went down the lexing path, since it's caused us so many problems :/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

*: fleet removes empty sections from unit files
2 participants