<div dir="ltr">Yes, think having a branch in git.b.o/cycles.git is better.<div><br></div><div>As for the submodule -- that&#39;s really a bummer because you can&#39;t use an external repo folder as the submodule. Because basically we only need cycles.git/src to be hooked into  intern/cycles. So the downsides of the submodule:</div><div><br></div><div>- We&#39;ll have examples, standalone CMake file which we&#39;ll be basically skipping, third party libs folder from cycles repo in cycles working tree. That adds some unwanted crowdness to the sources tree.</div><div>- It&#39;ll ruing everyone&#39;s patches they made so far for cycles.</div><div><br></div><div>Ideas about how to improve stuff in the future:</div><div><br></div><div>- have a branch in cycles.git which would only have src/ folder, which is easy to do originally with `git subtree split`, after that checrry-picking between branches in cycles.git should be rather fine. A bit dirty approach, yeah..</div><div>- We can agree on having some duplicated libs in the working tree (such as cuew, clew) and which are ignored. Plus agree on breaking xisting patches to blender and use cycles as a submodule.</div><div>- Think of something else?</div><div><br></div><div>For now i think having a sync script is good enough. have least affect on everyone&#39;s exiting workflow, saving some time for gooseberry development as well :)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 17, 2014 at 1:34 PM, Nathan Letwory <span dir="ltr">&lt;<a href="mailto:nathan@mcneel.com" target="_blank">nathan@mcneel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi,<br>
<br>
</span>Amendment to my previous message: Perhaps I could work directly in a<br>
branch on git.blender.org:cycles.git instead of redirecting through<br>
<a href="http://github.com" target="_blank">github.com</a>. That&#39;d probably make it much easier also to merge any<br>
useful commits from my work back into Cycles master.<br>
<span class=""><br>
/Nathan Letwory<br>
RhinoCycles<br>
Developer at Robert McNeel &amp; Associates<br>
<br>
</span><span class="">On 15/11/2014 17:54, Sergey Sharybin wrote:<br>
</span><div><div class="h5">&gt; Hi,<br>
&gt;<br>
&gt; Last few evenings i&#39;ve been working on making a dedicated<br>
&gt; repository for Cycles renderer and at this point it seems to be<br>
&gt; ready for public access now, even though some more work is<br>
&gt; required.<br>
&gt;<br>
&gt; = Motivation =<br>
&gt;<br>
&gt; Main motivation of creating standalone repository for Cycles is to<br>
&gt;  simplify access for new developers who wants to hack into Cycles<br>
&gt; code but don&#39;t want to bother cloning the whole Blender repository<br>
&gt; and setting up environment for blender compilation.<br>
&gt;<br>
&gt; It was kind of possible to only compile Cycles from Blender<br>
&gt; repository as well, but that process was really tedious.<br>
&gt;<br>
&gt; = What repository contains =<br>
&gt;<br>
&gt; Repository contains the full history of Cycles, starting from the<br>
&gt; original commit to the Blender SVN. This means it&#39;s possible to<br>
&gt; track down every change in the sources. The only thing here is<br>
&gt; that it&#39;s not possible to compile old sources. This is because<br>
&gt; build system for standalone repository was added just now and<br>
&gt; trying to put it somewhere in the past was rather tricky.<br>
&gt;<br>
&gt; Sources are mainly a direct dump from Blender, so it shouldn&#39;t be<br>
&gt; difficult to keep Cycles in Blender and standalone repositories in<br>
&gt; sync. There are a bit of changes to build system which we&#39;ll need<br>
&gt; to backport to blender (namely CMake variables name convention).<br>
&gt;<br>
&gt; Repository contains README file which describes how to compile<br>
&gt; Cycles. Compilation is so called &quot;works for me&quot;, so more tweaks<br>
&gt; are likely needed before compilation becomes flawless for<br>
&gt; everyone.<br>
&gt;<br>
&gt; *NOTE*: Windows is not supported atm! It&#39;s because of some<br>
&gt; dependencies which are not so clear to get. Mainly OpenGL, GLUT<br>
&gt; and GLEW. Don&#39;t worry, we will support Windows eventually, we just<br>
&gt; need to start from something!<br>
&gt;<br>
&gt; The repository also contains folder with .xml examples, so it&#39;s<br>
&gt; really easy to test render engine just after compilation.<br>
&gt;<br>
&gt; = Build system =<br>
&gt;<br>
&gt; Currently CMake is used as a build system, and likely it&#39;ll be it,<br>
&gt;<br>
&gt; = Where the repository is =<br>
&gt;<br>
&gt; It is on our server, read-only access is<br>
&gt;<br>
&gt; git clone git://<a href="http://git.blender.org/cycles.git" target="_blank">git.blender.org/cycles.git</a><br>
</div></div>&gt; &lt;<a href="http://git.blender.org/cycles.git" target="_blank">http://git.blender.org/cycles.git</a>&gt;<br>
<div><div class="h5">&gt;<br>
&gt; for write access (needs SSH key and you need to be a developer of<br>
&gt; the project)<br>
&gt;<br>
&gt; git clone git@git.blender.org:cycles.git<br>
&gt;<br>
&gt; To browse repository online please visit:<br>
&gt;<br>
&gt; <a href="https://developer.blender.org/diffusion/C/" target="_blank">https://developer.blender.org/diffusion/C/</a><br>
&gt;<br>
&gt; = Authors =<br>
&gt;<br>
&gt; The repository contains the file with everyone who contributed to<br>
&gt; Cycles. This is somewhat common for all open source projects to<br>
&gt; have such a file.<br>
&gt;<br>
&gt; Currently this file contains authors of commits, so if someone<br>
&gt; submitted patch which was committed by someone else please let me<br>
&gt; know -- that&#39;d be easier than reading all the commit messages<br>
&gt; searching for such information.<br>
&gt;<br>
&gt; = Synchronization with Blender =<br>
&gt;<br>
&gt; Ideally we&#39;ll need to have some automated way to sync changes<br>
&gt; between Blender and Cycles, but it is not done yet. Exact way how<br>
&gt; to keep things in sync i&#39;ll publish later.<br>
&gt;<br>
&gt; For now we can do manual synchronization, which is not THAT bad.<br>
&gt;<br>
&gt; = Known TODOs =<br>
&gt;<br>
&gt; - Windows build is not supported at this moment. - Logging option<br>
&gt; is exposed as an option but wouldn&#39;t work now. - Installation<br>
&gt; target is not tested and would need more work. - Compiled .oso<br>
&gt; files are not put to the final location, so manual copy is<br>
&gt; required for now. - Set up mailing list for commits (if we need<br>
&gt; one?)<br>
&gt;<br>
&gt; I&#39;m pretty much sure i forgot to put some information in this email<br>
&gt; which i wanted, but the mail becomes too long already, so i&#39;d<br>
&gt; rather wrap up now and answer the questions as they arrive.<br>
&gt;<br>
&gt; -- With best regards, Sergey Sharybin<br>
&gt;<br>
&gt;<br>
</div></div><span class="">&gt; _______________________________________________ Bf-cycles mailing<br>
&gt; list <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;<br>
<br>
<br>
- --<br>
Nathan Letwory<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (MingW32)<br>
<br>
</span>iQEcBAEBAgAGBQJUabMsAAoJEKtfN7KsE0TtqwcH/2eU1TiPYr4NHKTqT7FAnXor<br>
KOWtEL6LWpoSdlfoRKzZFXgePPZsLNm/LeayyHDR2xQiqY4vv9buxzDwy/hz218m<br>
vA6x+DjCUVLWR9PR+taAWYlExHXSHWTo8H34gqS+go+Bwab26GVRO8q4Jcap9yaP<br>
rQbZxnPhBiVzFpq9F1JLPuuAKSaeGmPiP5qAKZzFOzVoczlvH89xYdEaW7pqVzaz<br>
twD/qTXQbIV0BXryUgWwG3lLp6zy+pgp25Yk5/6R462fTKauqMxSoFMeQ8Ez2Jhz<br>
YsOK08J1K96zR65o3UOD6eHoc92K/pABpQZqUngwwdUfmARAGaVMnUKZ72HLsS8=<br>
=LPBO<br>
<div class="HOEnZb"><div class="h5">-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div><span style="color:rgb(102,102,102)">With best regards, Sergey Sharybin</span></div></div>
</div>