<div dir="ltr">FWIW, I've created a sample project using olso as a submodule:<br><br><a href="https://github.com/novel/oslo-helloworld">https://github.com/novel/oslo-helloworld</a><br><br>I spotted some minor difficulties:<br>
<br>1. As olso directory layout is not designed to be used as a submodule, a symlink has to be created to place code to the proper location<br>2. sys.path hack has to be applied for proper imports<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Aug 8, 2013 at 2:39 PM, Mark McLoughlin <span dir="ltr"><<a href="mailto:markmc@redhat.com" target="_blank">markmc@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What do you mean by "dangerous code merging" in the subject? The body of<br>
your mail doesn't make any reference to whatever "danger" you're seeing.<br>
<div class="im"><br>
On Thu, 2013-08-08 at 14:16 +0400, Boris Pavlovic wrote:<br>
> Hi All,<br>
><br>
> Could somebody answer me, why we are merging oslo code in other projects<br>
> and don't use<br>
> git submodules (<a href="http://git-scm.com/book/en/Git-Tools-Submodules" target="_blank">http://git-scm.com/book/en/Git-Tools-Submodules</a>)<br>
<br>
</div>The idea of using submodules has come a few times. I don't have a<br>
fundamental objection to it, except any time I've seen submodules used<br>
in a project they've been extremely painful for everyone involved.<br>
<br>
I'd be happy to look at a demo of a submodule based system for projects<br>
to use code from oslo-incubator.<br>
<br>
Mark.<br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>