From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69575 Path: news.gmane.org!not-for-mail From: Andreas Seltenreich Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus Git repository info and comitters: need updated password Date: Sun, 18 Apr 2010 15:06:16 +0200 Message-ID: <871vec7vw7.fsf@gate450.dyndns.org> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1271596032 11933 80.91.229.12 (18 Apr 2010 13:07:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Apr 2010 13:07:12 +0000 (UTC) Cc: ding@gnus.org To: Ted Zlatanov Original-X-From: ding-owner+M17969@lists.math.uh.edu Sun Apr 18 15:07:08 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 1O3UDL-0006n4-Pi for ding-account@gmane.org; Sun, 18 Apr 2010 15:07:08 +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 1O3UCm-0000O4-O6; Sun, 18 Apr 2010 08:06:32 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1O3UCl-0000Nr-1c for ding@lists.math.uh.edu; Sun, 18 Apr 2010 08:06:31 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1O3UCf-0005CN-8m for ding@lists.math.uh.edu; Sun, 18 Apr 2010 08:06:29 -0500 Original-Received: from smtp2.rz.uni-karlsruhe.de ([129.13.185.218] ident=Debian-exim) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1O3UCe-0006sN-00 for ; Sun, 18 Apr 2010 15:06:24 +0200 Original-Received: from rzstud2.stud.uni-karlsruhe.de (rzstud2.stud.uni-karlsruhe.de [193.196.41.42]) by smtp2.rz.uni-karlsruhe.de with esmtps (Exim 4.63 #1) id 1O3UCX-00046c-Gl; Sun, 18 Apr 2010 15:06:17 +0200 Original-Received: from uwi7 by rzstud2.stud.uni-karlsruhe.de with local (Exim 4.63) (envelope-from ) id 1O3UCX-0005Kq-6S; Sun, 18 Apr 2010 15:06:17 +0200 In-Reply-To: <87fx2tq8nx.fsf@lifelogs.com> (Ted Zlatanov's message of "Sun, 18 Apr 2010 06:53:06 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) Mail-Followup-To: Ted Zlatanov ,ding@gnus.org, andreas+ding@gate450.dyndns.org X-Now-Playing: Katatonia =?utf-8?Q?=E2=99=AA?= Night Is the New Day =?utf-8?Q?=E2=99=AA?= forsaker X-Hashcash: 1:26:100418:ding@gnus.org::Za1SWua2madLJ6h/:95jsy X-Hashcash: 1:26:100418:tzz@lifelogs.com::hwn6uXV9Smb37c3i:BhkAG X-Spam-Score: -4.5 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69575 Archived-At: --=-=-= Ted Zlatanov writes: > On Sun, 18 Apr 2010 11:51:34 +0200 Andreas Seltenreich wrote: > > AS> Tim Landscheidt writes: > >>> Is the repo "stable" now? > > AS> Not quite. Since Ted's push, the packed refs disappeared from the > AS> info/refs file again and a clone via http[1] lacked all tags and > AS> branches except for the master branch. Maybe somehow > AS> git-update-server-info is not doing its job? > > The repo is stable AFAIK. I can pull an update I've committed; all the > branches and tags show up on a new HTTP clone and on existing HTTP > clones. Andreas, I'm not sure why it's not working for you. I'm on > git version 1.7.0.4. Did you happen to do the test clone after 10:12 UTC? I've set up a cronjob on friday to monitor some directories on git.gnus.org to get more clues while debugging (output attached). The info/refs file oscillated between 1k and 32k (i.e., including the packed-refs or not). It appears to shrink on each push and is reset to 32k at 10:12 UTC each day. (Maybe a cronjob on your side?) This correlates with whether I see the packed-refs in a fresh clone[1] or not. I checked locally to confirm that git-update-server-info groks packed refs and updates the info/refs file properly. A hook running git-update-server-info is also activated on git.gnus.org, but I guess those hooks aren't run at all on WebDAV accesses? Here's some more evidence from the log mentioned yesterday[2] that pushing placed a bogus (see file size) info/refs file: ,---- | > PUT /gnus.git/info/refs HTTP/1.1 | User-Agent: git/1.5.6.5 | Host: git.gnus.org | Accept: */* | If: () | Content-Length: 59 | Expect: 100-continue `---- I haven't tested to push yet with the newer git, but as the release notes say that packed-refs are supported since 1.4.x, I'm not convinced that a newer git behaves differently. I see some ways to go from here: - Use smart protocols (git/ssh) instead of dumb ones (http/webdav). This way the info/* files aren't needed. As a bonus, the communication is much more efficient. - Make sure the hooks are run so git-update-server-info can generate a valid info/refs no matter what git PUT there through WebDAV. - Fix git to PUT a proper info/refs file. - Get rid of packed-refs, as suggested by Andreas, may also work. regards, andreas Footnotes: [1] also "git ls-remote", a faster way to check [2] http://gate450.dyndns.org/~andreas/push-debug.txt.gz --=-=-= Content-Type: text/x-patch Content-Disposition: inline *** 2cbe5f2d 2010-04-16 23:24:01.000000000 +0200 --- 2cbe5f2d.0 2010-04-17 13:00:01.000000000 +0200 *************** *** 3,10 **** Name Last modified Size Description ----------------------------------------------------------------------------------------------- ! [DIR] Parent Directory 16-Apr-2010 12:18 - [ ] exclude 15-Apr-2010 04:53 1k ! [ ] refs 16-Apr-2010 12:18 36k ----------------------------------------------------------------------------------------------- --- 3,10 ---- Name Last modified Size Description ----------------------------------------------------------------------------------------------- ! [DIR] Parent Directory 17-Apr-2010 12:12 - [ ] exclude 15-Apr-2010 04:53 1k ! [ ] refs 17-Apr-2010 12:12 36k ----------------------------------------------------------------------------------------------- *** 2cbe5f2d 2010-04-17 13:00:01.000000000 +0200 --- 2cbe5f2d.0 2010-04-18 00:00:02.000000000 +0200 *************** *** 3,10 **** Name Last modified Size Description ----------------------------------------------------------------------------------------------- ! [DIR] Parent Directory 17-Apr-2010 12:12 - [ ] exclude 15-Apr-2010 04:53 1k ! [ ] refs 17-Apr-2010 12:12 36k ----------------------------------------------------------------------------------------------- --- 3,10 ---- Name Last modified Size Description ----------------------------------------------------------------------------------------------- ! [DIR] Parent Directory 17-Apr-2010 23:00 - [ ] exclude 15-Apr-2010 04:53 1k ! [ ] refs 17-Apr-2010 23:57 1k ----------------------------------------------------------------------------------------------- *** 2cbe5f2d 2010-04-18 00:00:02.000000000 +0200 --- 2cbe5f2d.0 2010-04-18 13:00:01.000000000 +0200 *************** *** 3,10 **** Name Last modified Size Description ----------------------------------------------------------------------------------------------- ! [DIR] Parent Directory 17-Apr-2010 23:00 - [ ] exclude 15-Apr-2010 04:53 1k ! [ ] refs 17-Apr-2010 23:57 1k ----------------------------------------------------------------------------------------------- --- 3,10 ---- Name Last modified Size Description ----------------------------------------------------------------------------------------------- ! [DIR] Parent Directory 18-Apr-2010 12:12 - [ ] exclude 15-Apr-2010 04:53 1k ! [ ] refs 18-Apr-2010 12:12 36k ----------------------------------------------------------------------------------------------- *** 2cbe5f2d 2010-04-18 13:00:01.000000000 +0200 --- 2cbe5f2d.0 2010-04-18 14:00:01.000000000 +0200 *************** *** 3,10 **** Name Last modified Size Description ----------------------------------------------------------------------------------------------- ! [DIR] Parent Directory 18-Apr-2010 12:12 - [ ] exclude 15-Apr-2010 04:53 1k ! [ ] refs 18-Apr-2010 12:12 36k ----------------------------------------------------------------------------------------------- --- 3,10 ---- Name Last modified Size Description ----------------------------------------------------------------------------------------------- ! [DIR] Parent Directory 18-Apr-2010 13:41 - [ ] exclude 15-Apr-2010 04:53 1k ! [ ] refs 18-Apr-2010 13:18 1k ----------------------------------------------------------------------------------------------- --=-=-=--