[Kde-scm-interest] scripty questions
Chani
chanika at gmail.com
Sat May 23 21:09:47 CEST 2009
On May 23, 2009 10:41:52 Magnus Bergmark wrote:
> 2009/5/23 Chani <chanika at gmail.com>
>
> > the only thing that might make it slow or bad for hte (git)
> > server is if git makes it really hard to take only the doc folder from
> > the repo.
>
> It is not possible to do a partial clone of a repository since Git doesn't
> work that way. Now, Git does have very good compression and if most of the
> files there seldom changes, the bandwidth usage shouldn't really be a
> problem.
>
> If you really need to clone a specific directory, you have two solutions:
> 1. Make the directory a separate repository and have it as a submodule
> in the parent repository. Cons: Complex and not really easy to use.
> 2. Don't use git for that directory; just fetch a tar.gz via HTTP.
> Cons: Should be obvious. Not really a solution.
or the ugly-hack solution:
since scripty has to download all the modules anyways, have it copy the git
doc folders into a separate folder, make that available online, and have the
update_xml script rsync it or download a tgz of it or something. :/
none of these are good solutions, really.
--
This message brought to you by eevil bananas and the number 3.
www.chani3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20090523/23995f9c/attachment.sig
More information about the Kde-scm-interest
mailing list