-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Allow \ in .conf files to allow multiple lines for run/task/service #186
Comments
No, I'd much rather we implement the new format instead. There's just too much that can go wrong with this proposal, because I've actually tried once before. |
Since yesterday I've looked into this again, in part due to your comment in #148, but also because I've been hit by the problem of long lines myself the last six months ... I admit I was wrong for closing this, sorry. Looking into the matter a bit further, I realized one of the libraries we use carry Only downside is that it's a bit too competent, not only does it prune .conf lines starting with comment, it also drops comments trailing a line ... unless it's escaped. Nevertheless, I think Our own
The test fails since it cannot find any service with decription
|
There, fixed. |
This is really helpful! Thank you. Hmm yes, apart from comments and \ what other characters need escaping here? |
None, only \ has special meaning. The thing with # is that trailing comments was not supported before, but with the new implementation it is. So you need to escape \ and # only. |
I saw that there is an open task for a new .svc format #148 which breaks the service up into multiline syntax.
Before this new format is implemented, I was wondering if it's possible to just allow \ to breakup lines (like in shell scripts). This would mean we could have multiline service definitions with minimal work.... e.g.
The text was updated successfully, but these errors were encountered: