* Proper Publishing of a Repository
@ 2006-03-22 19:17 Jon Loeliger
2006-03-22 20:16 ` Timo Hirvonen
0 siblings, 1 reply; 4+ messages in thread
From: Jon Loeliger @ 2006-03-22 19:17 UTC (permalink / raw)
To: Git List
Folks,
So, I feel like I missed a step in the grand
"How To Publish A Repository" scheme of things.
I made a repo visible over on jdl.com. No problem.
But cloning it took forever. So I ran "git-repack"
on it. Now cloning only takes hours, not forever.
All this on the linux kernel over HTTP.
Did I miss a step somewhere?
Thanks,
jdl
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Proper Publishing of a Repository
2006-03-22 19:17 Proper Publishing of a Repository Jon Loeliger
@ 2006-03-22 20:16 ` Timo Hirvonen
2006-03-22 20:26 ` Jon Loeliger
0 siblings, 1 reply; 4+ messages in thread
From: Timo Hirvonen @ 2006-03-22 20:16 UTC (permalink / raw)
To: git
On Wed, 22 Mar 2006 13:17:52 -0600
Jon Loeliger <jdl@freescale.com> wrote:
> Folks,
>
> So, I feel like I missed a step in the grand
> "How To Publish A Repository" scheme of things.
>
> I made a repo visible over on jdl.com. No problem.
> But cloning it took forever. So I ran "git-repack"
> on it. Now cloning only takes hours, not forever.
>
> All this on the linux kernel over HTTP.
Use git:// protocol (git-daemon) if possible. It is much faster.
--
http://onion.dynserv.net/~timo/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Proper Publishing of a Repository
2006-03-22 20:16 ` Timo Hirvonen
@ 2006-03-22 20:26 ` Jon Loeliger
2006-03-22 20:47 ` Junio C Hamano
0 siblings, 1 reply; 4+ messages in thread
From: Jon Loeliger @ 2006-03-22 20:26 UTC (permalink / raw)
To: Timo Hirvonen; +Cc: Git List
On Wed, 2006-03-22 at 14:16, Timo Hirvonen wrote:
> On Wed, 22 Mar 2006 13:17:52 -0600
> Jon Loeliger <jdl@freescale.com> wrote:
>
> > Folks,
> >
> > So, I feel like I missed a step in the grand
> > "How To Publish A Repository" scheme of things.
> >
> > I made a repo visible over on jdl.com. No problem.
> > But cloning it took forever. So I ran "git-repack"
> > on it. Now cloning only takes hours, not forever.
> >
> > All this on the linux kernel over HTTP.
>
> Use git:// protocol (git-daemon) if possible. It is much faster.
Trust me, if it were an option, I would. It isn't.
So, I think git-prune-packed was the answer here...
jdl
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Proper Publishing of a Repository
2006-03-22 20:26 ` Jon Loeliger
@ 2006-03-22 20:47 ` Junio C Hamano
0 siblings, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2006-03-22 20:47 UTC (permalink / raw)
To: Jon Loeliger; +Cc: git
Jon Loeliger <jdl@freescale.com> writes:
> On Wed, 2006-03-22 at 14:16, Timo Hirvonen wrote:
>> Jon Loeliger <jdl@freescale.com> wrote:
>>
>> > All this on the linux kernel over HTTP.
>>
>> Use git:// protocol (git-daemon) if possible. It is much faster.
>
> Trust me, if it were an option, I would. It isn't.
>
> So, I think git-prune-packed was the answer here...
It really depends on who your audiences are. By packing
everything in a single pack, you are optimizing for the initial
cloners but punishing incremental updaters.
Since your tree is derived from Linus tree, anybody who is
interested in your tree is very likely nterested in Linus tree
and chances are that she has a recent copy of it locally. In
such a case, I would not be surprised if:
$ git clone -l -s -n /local-linux-2.6.git/ jdl-linux.git
$ cd jdl-linux.git
$ git fetch http://jdl.com/jdl-linux.git master:refs/heads/jdl
goes a lot faster if you have loose objects around in the
repository.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-22 20:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22 19:17 Proper Publishing of a Repository Jon Loeliger
2006-03-22 20:16 ` Timo Hirvonen
2006-03-22 20:26 ` Jon Loeliger
2006-03-22 20:47 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).