[Owncloud] External (git) code repositories
bartv at thisnet.nl
Fri Dec 7 19:13:41 UTC 2012
On Tue, Nov 27, 2012 at 10:32:27PM +0100, eMerzh wrote:
> 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) ...
> aside from that, does every projects use git or have a composer file ?
> because it can push us to use one or another technique ..
Most of the projects that use composer also use git for the repository.
The git subtree command looks interesting, but is not available in all
distribution and on all platforms.
It is now possible to test composer and/or submodules by using the composer-and-submodules branch in the 3rdparty repository.
> On Tue, Nov 27, 2012 at 9:50 PM, Bart Visscher <bartv at thisnet.nl> wrote:
> > Hello all,
> > At the sprint in Berlin I merged the routing branch. After the merge
> > there where some problems with having to download extra repositories.
> > We need to solve this problem in a structural way. The quick fix for
> > the routing was to include the code in our 3rdparty repository.
> > I would like to discuss how to have the external code in 3rdparty. At
> > the moment I suggest to limit this to the large projects: Sabre, Symfony
> > routing component and Doctrine. For these projects we have 2 ways of
> > doing this. The first is to use git submodules, and the second one is to
> > use composer.
> > The positive about git submodules is that you don't need extra programs
> > to download the code, every thing you need is included with the git
> > installation. There are some posts on the internet that this doesn't work
> > very well with switching branches, but I'm not sure how relevant that is
> > for us.
> > With composer you don't need git to get the external code, but can
> > download a php phar and use that to download the other code. With
> > composer we can also specify the version in a flexible way.
> > We can also do a combination of these, then everyone can chose which
> > works better for them. Haven't really tested this, but i expect that
> > this works.
> > The commands to get the external code are:
> > git submodules:
> > git submodule init
> > git submodule update
> > composer:
> > curl -s https://getcomposer.org/installer | php
> > composer update
> > Bart
> > _______________________________________________
> > Owncloud mailing list
> > Owncloud at kde.org
> > https://mail.kde.org/mailman/listinfo/owncloud
> Owncloud mailing list
> Owncloud at kde.org
More information about the Owncloud