<div dir="ltr"><div>Hi</div><div><br></div><div>I think I remember that a conscious decision was made to avoid using symlinks for the bundles due to the hell that openstack-mojo-specs descended into?  Liam may want to wade in on this?</div><div><br></div><div>Cheers</div><div>Alex.<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 4, 2020 at 7:57 AM Xav Paice <<a href="mailto:xavpaice@gmail.com">xavpaice@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I was writing a patch recently and in order to test it, I needed to make changes to the test bundles.  I ended up making the same change across several files, and missing one (thanks to the reviewer for noticing that!).</div><div><br></div><div>Some of the other projects I'm involved with use symlinks to a base bundle with overlays:<br></div><div><br></div><div>./tests$ ls -l bundles/<br>total 20<br>-rw-rw---- 2 xav xav 5046 Sep 29 14:56 base.yaml<br>lrwxrwxrwx 1 xav xav    9 Sep 29 10:01 bionic.yaml -> base.yaml<br>lrwxrwxrwx 1 xav xav    9 Sep 29 10:01 focal.yaml -> base.yaml<br>drwxrwx--x 2 xav xav 4096 Sep 29 10:01 overlays<br>lrwxrwxrwx 1 xav xav    9 Sep 29 10:01 xenial.yaml -> base.yaml<br>./tests$ ls bundles/overlays/<br>bionic.yaml.j2  focal.yaml.j2  local-charm-overlay.yaml.j2  xenial.yaml.j2</div><div><br></div><div>This means that I can edit base.yaml just once, and if a change is specific to any of the particular bundles there's a place for that in the individual overlays.  When we have bundles for each release going back to Mitaka, this could be quite an effort saver.<br></div><div><br></div><div>I gather there's been some discussion around this already, and would be keen to see if there's a reason folks might avoid that pattern?<br></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Alex Kavanagh - Software Engineer<div><span style="font-size:small">OpenStack Engineering - Data Centre Development - Canonical Ltd</span><br></div></div></div></div></div>