<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 30 January 2017 at 07:48, Joseph Rushton Wakeling <span dir="ltr"><<a href="mailto:joseph.wakeling@webdrake.net" target="_blank">joseph.wakeling@webdrake.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello all,<br></blockquote><div><br></div><div>[...] </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Second: the `source-tag:` settings for the 3 parts should all match.  Is there any way of defining a common value that they can all use (to make sure that in future there is less risk of accidentally failing to update one of them)?<br></blockquote><div><br></div><div>You can do this just using yaml features:</div><div><br></div><div>mwhudson@aeglos:~/tmp$ cat foo.yaml<br></div><div>parts:</div><div> part-a:</div><div>  source-tag: &the-tag v1.7</div><div> part-b:</div><div>  source-tag: *the-tag</div><div> part-c:</div><div>  source-tag: *the-tag</div><div>mwhudson@aeglos:~/tmp$ python3 -c 'import yaml;print(yaml.dump(yaml.load(open("foo.yaml"))))'</div><div>parts:</div><div>  part-a: {source-tag: v1.7}</div><div>  part-b: {source-tag: v1.7}</div><div>  part-c: {source-tag: v1.7}</div><div><br></div><div>Cheers,</div><div>mwh</div></div></div></div>