svn:externals is much better about 1, pretty good about 2, may help
with 3 for some projects, and not for others, and does nothing for 4.
> Instead of checking a large part of large libraries like appengine and
> webdriver into third_party, can we use svn:externals ?
I don't know if any of you use Caja SVN with a DVCS such as Git or
Mercurial, but I suspect svn:externals doesn't interact very well with
those systems because they don't have a generic way of representing
Subversion properties.
Chromium uses depot-tools/gclient [1] to fetch dependencies, which is
loosely equivalent to svn:externals except that the external
repositories are listed in a normal file (called DEPS) rather than in
special properties. Since this tool is not part of Subversion it can
be a bit more flexible. It lets you override dependencies and fetch
them selectively. On the other hand, it is an extra tool that you
have to install.
Mark
[1] http://www.chromium.org/developers/how-tos/depottools/gclient
http://www.chromium.org/developers/how-tos/install-gclient
It definitely is nice to have a single checkout that gets everything.
But if most of our clients and potential clients use a DVCS then it
doesn't gain much.
Is the DEPS file format pretty standard across DVCS systems?
> 2009/12/29 Mark Seaborn <m...@mythic-beasts.com>:
> > Chromium uses depot-tools/gclient [1] to fetch dependencies, which is
> > loosely equivalent to svn:externals except that the external
> > repositories are listed in a normal file (called DEPS) rather than in
> > special properties. Since this tool is not part of Subversion it can
> > be a bit more flexible. It lets you override dependencies and fetch
> > them selectively. On the other hand, it is an extra tool that you
> > have to install.
>
> It definitely is nice to have a single checkout that gets everything.
> But if most of our clients and potential clients use a DVCS then it
> doesn't gain much.
> Is the DEPS file format pretty standard across DVCS systems?
No, it's not standard; gclient is just a tool that was hacked up for
Chromium and AFAIK it is only used by Chromium and Native Client. I
think it's a good idea in principle but if you're happy with SVN it's
probably not worthwhile using it for Caja.
Mark