From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69577 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus Git repository info and comitters: need updated password Date: Sun, 18 Apr 2010 10:20:44 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87633ordmb.fsf@lifelogs.com> References: <87sk71o198.fsf@lifelogs.com> <87bpdpgsj9.fsf@gate450.dyndns.org> <87eiiijnqz.fsf@lifelogs.com> <87k4s83k25.fsf@lifelogs.com> <877ho8l427.fsf@gate450.dyndns.org> <878w8mij14.fsf@gate450.dyndns.org> <87bpdhsshj.fsf@lifelogs.com> <87y6glrcpd.fsf@lifelogs.com> <87pr1xrb7g.fsf@lifelogs.com> <87fx2tq8nx.fsf@lifelogs.com> <871vec7vw7.fsf@gate450.dyndns.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271604070 4254 80.91.229.12 (18 Apr 2010 15:21:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Apr 2010 15:21:10 +0000 (UTC) Cc: andreas+ding@gate450.dyndns.org To: ding@gnus.org Original-X-From: ding-owner+M17971@lists.math.uh.edu Sun Apr 18 17:21:06 2010 connect(): No such file or directory Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O3WIz-0001qY-K0 for ding-account@gmane.org; Sun, 18 Apr 2010 17:21:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1O3WIo-000158-Fe; Sun, 18 Apr 2010 10:20:54 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1O3WIm-00014w-R5 for ding@lists.math.uh.edu; Sun, 18 Apr 2010 10:20:52 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1O3WIi-00040I-I4 for ding@lists.math.uh.edu; Sun, 18 Apr 2010 10:20:52 -0500 Original-Received: from blockstar.com ([208.100.47.114] helo=mail.blockstar.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1O3WIh-0000EA-00 for ; Sun, 18 Apr 2010 17:20:47 +0200 Original-Received: from heechee (c-98-227-29-141.hsd1.il.comcast.net [98.227.29.141]) by mail.blockstar.com (Postfix) with ESMTP id 47D133E0637; Sun, 18 Apr 2010 10:20:50 -0500 (CDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: <871vec7vw7.fsf@gate450.dyndns.org> (Andreas Seltenreich's message of "Sun, 18 Apr 2010 15:06:16 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69577 Archived-At: On Sun, 18 Apr 2010 15:06:16 +0200 Andreas Seltenreich wrote: AS> Did you happen to do the test clone after 10:12 UTC? I've set up a AS> cronjob on friday to monitor some directories on git.gnus.org to get AS> more clues while debugging (output attached). The info/refs file AS> oscillated between 1k and 32k (i.e., including the packed-refs or not). AS> It appears to shrink on each push and is reset to 32k at 10:12 UTC each AS> day. (Maybe a cronjob on your side?) This correlates with whether I AS> see the packed-refs in a fresh clone[1] or not. I think the `git repack; git gc' cronjob was the problem. It ran every day at that time as you noted. I made it run monthly instead and in addition, as I said, disabled the gc.packrefs option. So tomorrow you shouldn't experience this anymore. I hope. AS> I checked locally to confirm that git-update-server-info groks packed AS> refs and updates the info/refs file properly. A hook running AS> git-update-server-info is also activated on git.gnus.org, but I guess AS> those hooks aren't run at all on WebDAV accesses? That must be the problem. There's little information online about what to do in this case but I can't enable SSH access to that machine so whatever we do must work through WebDAV plus custom scripts. Any references are appreciated. AS> I see some ways to go from here: AS> - Use smart protocols (git/ssh) instead of dumb ones (http/webdav). AS> This way the info/* files aren't needed. As a bonus, the AS> communication is much more efficient. git:// is a read-only protocol IIRC, so it must be SSH (not an option) or WebDAV. AS> - Make sure the hooks are run so git-update-server-info can generate a AS> valid info/refs no matter what git PUT there through WebDAV. Sounds like the best option. AS> - Fix git to PUT a proper info/refs file. I don't think this can work if it must change git itself. AS> - Get rid of packed-refs, as suggested by Andreas, may also work. I don't want to disable those but if we must... Ted