In #101, we provided a command line generator for support files. The generator creates a directives map and matchFunc based on the directives definition in the source code.
However, some directives in source codes are outdated or unofficial (like post_actionin OSS). You may only want to include some official directives in output and we provide a -filter option to achieve this.
Some directives have different definition in crossplane vs source code(like if in OSS, we added ngxConfExpr to it). You may want to override the output and we provide a -override option to achieve this.
Checklist
Before creating a PR, run through this checklist and mark each as complete.
Proposed changes
In #101, we provided a command line generator for support files. The generator creates a directives map and
matchFunc
based on the directives definition in the source code.However, some directives in source codes are outdated or unofficial (like
post_action
in OSS). You may only want to include some official directives in output and we provide a-filter
option to achieve this.Some directives have different definition in crossplane vs source code(like
if
in OSS, we addedngxConfExpr
to it). You may want to override the output and we provide a-override
option to achieve this.Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
documentREADME.md
)