From: Alexandru Avadanii Date: Fri, 2 Mar 2018 17:29:53 +0000 (+0100) Subject: Update git submodules X-Git-Tag: opnfv-6.0.0~1107 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=acc4f4d95003cc6f4033946e0ce5662b0ab8acaf;p=opnfvdocs.git 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 --- diff --git a/docs/submodules/pharos b/docs/submodules/pharos index 511ba774f..22847e762 160000 --- a/docs/submodules/pharos +++ b/docs/submodules/pharos @@ -1 +1 @@ -Subproject commit 511ba774f11a6293d9f5635c08204c775bff583a +Subproject commit 22847e7628420428a0211249a7a7861822029c2c