I'm not a git expert but we also have the possibility to use git sub trees ( it have the advantage of the git tool like submodules and it doesn't require an extra command unlike the submodule) ...<br><br>aside from that, does every projects use git or have a composer file ? because it can push us to use one or another <span id="result_box" class="" lang="en"><span class="">technique ..<br>

<br>Regards,<br><br><br>eMerzh<br></span></span><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 27, 2012 at 9:50 PM, Bart Visscher <span dir="ltr"><<a href="mailto:bartv@thisnet.nl" target="_blank">bartv@thisnet.nl</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
At the sprint in Berlin I merged the routing branch. After the merge<br>
there where some problems with having to download extra repositories.<br>
We need to solve this problem in a structural way.  The quick fix for<br>
the routing was to include the code in our 3rdparty repository.<br>
<br>
I would like to discuss how to have the external code in 3rdparty. At<br>
the moment I suggest to limit this to the large projects: Sabre, Symfony<br>
routing component and Doctrine. For these projects we have 2 ways of<br>
doing this. The first is to use git submodules, and the second one is to<br>
use composer.<br>
<br>
The positive about git submodules is that you don't need extra programs<br>
to download the code, every thing you need is included with the git<br>
installation. There are some posts on the internet that this doesn't work<br>
very well with switching branches, but I'm not sure how relevant that is<br>
for us.<br>
<br>
With composer you don't need git to get the external code, but can<br>
download a php phar and use that to download the other code. With<br>
composer we can also specify the version in a flexible way.<br>
<br>
We can also do a combination of these, then everyone can chose which<br>
works better for them. Haven't really tested this, but i expect that<br>
this works.<br>
<br>
The commands to get the external code are:<br>
<br>
git submodules:<br>
git submodule init<br>
git submodule update<br>
<br>
composer:<br>
curl -s <a href="https://getcomposer.org/installer" target="_blank">https://getcomposer.org/installer</a> | php<br>
composer update<br>
<br>
Bart<br>
_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
</blockquote></div><br></div>