config include directives
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 31 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | config: add include directiveDocumentation/ Documentation/ builtin/ +3 more | +204 | 15 replies | |
| 2/4 | config: factor out config file stack managementconfig.c | +19 | 0 replies | |
| 3/4 | config: support parsing config data from bufferscache.h config.c | +54 | 0 replies | |
| 4/4 | config: allow including config from repository blobsDocumentation/ config.c t/ | +102 | 14 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC/PATCH 0/4] config include directives
This series provides a way for config files to include other config files in two ways:
1. From other files in the filesystem. This is implemented by patch 1 below, and is hopefully straightforward and uncontroversial. See that patch for more rationale.
2. From blobs in the repo. This is implemented by patch 4, with patches 2 and 3 providing the necessary refactoring. This is one way of implementing the often asked-for "respect shared config inside the repo" feature, but attempts to mitigate some of the security concerns. The interface for using it safely is a bit raw, but I think it's a sane building block, and somebody could write a fancier shared-config updater on top of it if they wanted to.
[1/4]: config: add include directive
[2/4]: config: factor out config file stack management [3/4]: config: support parsing config data from buffers [4/4]: config: allow including config from repository blobs
-Peff