From: Mikael Magnusson <mikachu@gmail.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Git Mailing List <git@vger.kernel.org>, ftpadmin@kernel.org
Subject: Re: git gc and kernel.org
Date: Tue, 20 Oct 2009 11:08:34 +0200 [thread overview]
Message-ID: <237967ef0910200208t290d7ba2l15c75081da5448de@mail.gmail.com> (raw)
In-Reply-To: <4ADD6026.8070203@zytor.com>
2009/10/20 H. Peter Anvin <hpa@zytor.com>:
> We have run into two major problems with git on kernel.org. We have
> discussed workarounds, but I believe they are generally major problems which
> will affect other sites, and really need to be fixed upstream.
>
> 1) git receive-pack doesn't run git gc --auto.
>
> This cause repositories which people thought were being autopacked to not be
> so. This can be done via a hook, but that is way too painful for people to
> do -- in fact, it's hard enough just to get people to enable the post-update
> hook for http fetching.
>
> 1b) as per the above, a way to make "git update-server-info" at post-update
> time a configurable option rather than needing to be done via the hook would
> be very nice, since a configuration option can be enabled sitewide.
>
> 2) When pushing to a repository, it apparently doesn't honor new objects in
> alternate repositories. This causes massive unnecessary duplication.
>
> I believe these are major issues that need to be addressed. If we are
> *mistaken* on these, then we would appreciate being corrected.
I don't know how you create repos on kernel.org, but by default both
git init and git clone uses /usr/share/git-core/templates for the new
repo, for example I put a symbolic ref h -> HEAD there to save some
typing. You can enable whatever hooks you want there, but they would
only take effect for new repos.
--
Mikael Magnusson
next prev parent reply other threads:[~2009-10-20 9:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-20 7:00 git gc and kernel.org H. Peter Anvin
2009-10-20 7:48 ` Junio C Hamano
2009-10-20 7:51 ` H. Peter Anvin
2009-10-20 8:54 ` Johan Herland
2009-10-20 18:46 ` Nicolas Pitre
2009-10-20 21:02 ` Junio C Hamano
2009-10-20 21:16 ` Nicolas Pitre
2009-10-20 21:56 ` [PATCH] receive-pack: run "gc --auto" and optionally "update-server-info" Junio C Hamano
2009-10-21 0:21 ` Nicolas Pitre
2009-10-21 6:25 ` git gc and kernel.org Johannes Sixt
2009-10-21 7:23 ` Junio C Hamano
2009-10-21 7:39 ` Junio C Hamano
2009-10-21 8:05 ` Johannes Sixt
2009-10-21 10:21 ` Jan Krüger
2009-10-21 22:30 ` [PATCH 1/2] gc --auto --quiet: make the notice a bit less verboase Junio C Hamano
2009-10-21 22:32 ` [PATCH 2/2] receive-pack: run "gc --auto --quiet " and optionally "update-server-info" Junio C Hamano
2009-10-20 9:08 ` Mikael Magnusson [this message]
2009-10-21 1:00 ` git gc and kernel.org H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=237967ef0910200208t290d7ba2l15c75081da5448de@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=ftpadmin@kernel.org \
--cc=git@vger.kernel.org \
--cc=hpa@zytor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).