summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-03-02 18:29:53 +0100
committerGerrit Code Review <gerrit@opnfv.org>2018-03-03 03:04:23 +0000
commitacc4f4d95003cc6f4033946e0ce5662b0ab8acaf (patch)
treeee0b3b3cd4a8274af823275fe7018f48fecda852
parent39cbf02007f11cdac4faf3435e5dcafa58c039da (diff)
Update git submodules
* Update docs/submodules/pharos from branch 'master' - generate_config: New `-b` arg for batch processing Sometimes, parsing multiple j2 templates based on the same PDF+IDF is needed, in which case we'd have to call generate_config once for each template. Add a new argument, `-b`, which allows batch processing of multiple templates in one go: - files ending in '.j2' (e.g. 'template.yml.j2') will be expanded to a file without the '.j2' suffix in the same directory as the source template (e.g. 'template.yml'); - templates not ending in '.j2' are skipped in batch mode; - in order to pass multiple templates, `-j` argument can now be passed multiple times, similar to `-i`; - although relative filepaths still work, it is highly recommended to use the full path (abspath) for j2 templates; - to avoid filename collisions, j2 parser will open '/' (as well as any directories specified via `-i`) and lookup each j2 template by its full path; Add a new argument, `-v` for verbose logging. While at it, import only needed functions from 'os.path' to make our code more compact and easier to read. Change-Id: I2291935d42e4196813cd75154d5b674bcc330183 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
m---------docs/submodules/pharos0
1 files changed, 0 insertions, 0 deletions
diff --git a/docs/submodules/pharos b/docs/submodules/pharos
-Subproject 511ba774f11a6293d9f5635c08204c775bff583
+Subproject 22847e7628420428a0211249a7a7861822029c2