From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69560 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: Sat, 17 Apr 2010 10:24:07 +0200 Message-ID: <878w8mij14.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271492729 954 80.91.229.12 (17 Apr 2010 08:25:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Apr 2010 08:25:29 +0000 (UTC) Cc: Ted Zlatanov , ding@gnus.org To: Andreas Schwab Original-X-From: ding-owner+M17954@lists.math.uh.edu Sat Apr 17 10:25:25 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 1O33LA-0004oa-4E for ding-account@gmane.org; Sat, 17 Apr 2010 10:25:24 +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 1O33KD-0001xI-W8; Sat, 17 Apr 2010 03:24:26 -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 1O33KB-0001x5-Qb for ding@lists.math.uh.edu; Sat, 17 Apr 2010 03:24:23 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1O33K4-0008L6-Qh for ding@lists.math.uh.edu; Sat, 17 Apr 2010 03:24:22 -0500 Original-Received: from smtp1.rz.uni-karlsruhe.de ([129.13.185.217] ident=Debian-exim) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1O33K4-000128-00 for ; Sat, 17 Apr 2010 10:24:16 +0200 Original-Received: from rzstud2.stud.uni-karlsruhe.de (rzstud2.stud.uni-karlsruhe.de [193.196.41.42]) by smtp1.rz.uni-karlsruhe.de with esmtps (Exim 4.63 #1) id 1O33Jx-0002B7-27; Sat, 17 Apr 2010 10:24:09 +0200 Original-Received: from uwi7 by rzstud2.stud.uni-karlsruhe.de with local (Exim 4.63) (envelope-from ) id 1O33Jw-000391-Om; Sat, 17 Apr 2010 10:24:08 +0200 In-Reply-To: <877ho8l427.fsf@gate450.dyndns.org> (Andreas Seltenreich's message of "Fri, 16 Apr 2010 00:54:40 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) X-Now-Playing: Opeth =?utf-8?Q?=E2=99=AA?= Watershed =?utf-8?Q?=E2=99=AA?= 6.Hessian Peel X-Hashcash: 1:26:100417:schwab@linux-m68k.org::79tMIf1kL5yE1bUd:mgV X-Hashcash: 1:26:100417:tzz@lifelogs.com::p5uQf98iHsmObMM5:9KH0 X-Hashcash: 1:26:100417:ding@gnus.org::AeUR0kQi0zYV3Gu+:Zdka X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69560 Archived-At: I wrote: > I also inadvertently wiped all the tags from the git.gnus.org repository > during my first push I'm still puzzling over the 170k line shell/libcurl/WebDAV log[1] on what exactly happened. Here's a recap: "git ls-remote origin" had sensible output before the push, listing >600 refs. ,---- | $ git-push --dry-run origin master | Fetching remote heads... | refs/tags/ | refs/heads/ | refs/ | updating 'refs/heads/master' | from 0000000000000000000000000000000000000000 | to 9354070bf91eb7a0fa030e8c400a23862c1f874e | Updating remote server info `---- That 000... seemed strange, but I dismissed it as an artifact of the --dry-run ,---- | $ git-push origin master | Fetching remote heads... | refs/tags/ | refs/heads/ | refs/ | updating 'refs/heads/master' | from 0000000000000000000000000000000000000000 | to 9354070bf91eb7a0fa030e8c400a23862c1f874e | C-c C-cRemoving remote locks... | -> 130 `---- After about five minutes of no apparent progress I decided to restart with debug output enabled. ,---- | $ GIT_CURL_VERBOSE=1 git-push -v origin master | [ 10k lines of debug output stripped ] `---- After completion, ls-remote listed 2 instead of > 600 refs: ,---- | $ git ls-remote origin | 9354070bf91eb7a0fa030e8c400a23862c1f874e HEAD | 9354070bf91eb7a0fa030e8c400a23862c1f874e refs/heads/master `---- The repository I pushed from[2] still contained all tags and heads, while a freshly cloned one confirmed their lack on git.gnus.org. I can't find anything in the git manuals that explains the disappearance of the refs... Am I missing something here? Hard to believe that Control-C could cause something like that... Well, I tried to fix it by explicitly pushing tags and branches: ,---- | GIT_CURL_VERBOSE=1 git-push -v --tags origin master | GIT_CURL_VERBOSE=1 git-push -v origin origin/*:refs/heads/* `---- "ls-remote" now listed > 600 refs again, and a fresh clone came with tags and branches again. When taking a closer look at the files on http://git.gnus.org/gnus.git today, I noticed that there is still something amiss: The refs only seem to exist in the info/refs file. the refs/{heads,tags} directories are completely empty. To my limited git knowledge, this is not a healthy state since local accesses will not see any refs and wipe the refs in info/refs on the next run of git-update-server-info. Maybe this was already the case before my first push and the reason for the strange behavior of git? According to the WebDAV-communication[3], the refs/ directory should be populated by now. Ted: do you have something in your server logs that explains why there are no files despite the server's "HTTP/1.1 201 Created" responses? regards, andreas Footnotes: [1] http://gate450.dyndns.org/~andreas/push-debug.txt.gz [2] http://gate450.dyndns.org/~andreas/gnus.git [3] example: > LOCK /gnus.git/refs/heads/v5-10 HTTP/1.1 User-Agent: git/1.5.6.5 Host: git.gnus.org Accept: */* Timeout: Second-600 Content-Type: text/xml Content-Length: 235 Expect: 100-continue < HTTP/1.1 100 Continue < HTTP/1.1 200 OK < Date: Thu, 15 Apr 2010 23:58:11 GMT < Server: Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e DAV/1.0.3 PHP/4.3.10-22 < Lock-Token: < Transfer-Encoding: chunked < Content-Type: text/xml; charset="utf-8" < * Expire cleared * Connection #0 to host git.gnus.org left intact * Re-using existing connection! (#0) with host git.gnus.org * Connected to git.gnus.org (80.91.231.55) port 443 (#0) * Server auth using Basic with user 'ansel' > PUT /gnus.git/refs/heads/v5-10 HTTP/1.1 User-Agent: git/1.5.6.5 Host: git.gnus.org Accept: */* If: () Content-Length: 41 Expect: 100-continue < HTTP/1.1 100 Continue < HTTP/1.1 201 Created < Date: Thu, 15 Apr 2010 23:58:12 GMT < Server: Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e DAV/1.0.3 PHP/4.3.10-22 < Transfer-Encoding: chunked < Content-Type: text/html; charset=iso-8859-1 < * Expire cleared * Connection #0 to host git.gnus.org left intact done * Re-using existing connection! (#0) with host git.gnus.org * Connected to git.gnus.org (80.91.231.55) port 443 (#0) * Server auth using Basic with user 'ansel' > UNLOCK /gnus.git/refs/heads/v5-10 HTTP/1.1 User-Agent: git/1.5.6.5 Host: git.gnus.org Accept: */* Lock-Token: < HTTP/1.1 204 No Content < Date: Thu, 15 Apr 2010 23:58:12 GMT < Server: Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e DAV/1.0.3 PHP/4.3.10-22 < Content-Type: text/plain; charset=iso-8859-1 <