apacheconfig
apacheconfig copied to clipboard
Apache / Config::General configuration file parser
Depends on #73. Check out the last two commits for the full diff. In Certbot, we have a lot of sample config files that we test against. Here's a bunch...
This PR sets up pyup.io on this repo and updates all dependencies at once, in a single branch. Subsequent pull requests will update one dependency at a time, each in...
Sphinx docs infrastructure has been introduced since 0.3.0. We already have some docs (mostly, CLI usage) in `README`. This issue is a reminder to: * Move CLI docs from README...
Is there a way we can provide option to avoid this quoting string values while dumping strings when they have special characters? def _dump_dict(): .......... if val.isalnum(): text += '%s%s...
**Config:** ``` PYTHON 'def a(): x = y return' } }; ``` Can you please check?
I am not sure whether this parser can be extended to support expression tags, please comment. Something like jsp expression tags or something in these lines http://jinja.pocoo.org/
For below config: ``` # comment \ key value ``` This is raising an error: > raise ApacheConfigError("Illegal character '%s'" % t.value[0]) > apacheconfig.error.ApacheConfigError: Illegal character '\' while perl parser...
Perl Config::General module ignores the initial newline characters and white-spaces in the beginning of heredoc but this python parser doesn't. eg: Config : ``` PERL
Should blocks and options have separate namespaces during parsing, or should this behavior be disallowed? For instance: ``` a = 1 ``` The parsing results seem to vary quite a...
Discussion from this [comment](https://github.com/etingof/apacheconfig/pull/47#discussion_r315511112).