From: Andreas Seltenreich <andreas+ding@gate450.dyndns.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Ted Zlatanov <tzz@lifelogs.com>, ding@gnus.org
Subject: Re: Gnus Git repository info and comitters: need updated password
Date: Sat, 17 Apr 2010 10:24:07 +0200 [thread overview]
Message-ID: <878w8mij14.fsf@gate450.dyndns.org> (raw)
In-Reply-To: <877ho8l427.fsf@gate450.dyndns.org> (Andreas Seltenreich's message of "Fri, 16 Apr 2010 00:54:40 +0200")
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: <opaquelocktoken:bf9f18ba-1dd1-11b2-8b53-fb971bf9ad33>
< 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: (<opaquelocktoken:bf9f18ba-1dd1-11b2-8b53-fb971bf9ad33>)
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: <opaquelocktoken:bf9f18ba-1dd1-11b2-8b53-fb971bf9ad33>
< 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
<
next prev parent reply other threads:[~2010-04-17 8:24 UTC|newest]
Thread overview: 108+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-12 2:25 Ted Zlatanov
2010-04-12 8:31 ` David Engster
2010-04-12 10:20 ` Adam Sjøgren
2010-04-12 17:36 ` Andreas Schwab
2010-04-12 17:52 ` Ted Zlatanov
2010-04-12 18:57 ` Andreas Schwab
2010-04-14 10:38 ` Ted Zlatanov
2010-04-14 11:24 ` Andreas Schwab
2010-04-14 13:10 ` Ted Zlatanov
2010-04-14 16:59 ` Andreas Schwab
2010-04-15 3:07 ` Ted Zlatanov
2010-04-15 7:57 ` Andreas Schwab
2010-04-12 17:27 ` Andreas Schwab
2010-04-12 17:49 ` Ted Zlatanov
2010-04-12 18:29 ` Bjørn Mork
2010-04-12 19:01 ` Ted Zlatanov
2010-04-12 18:53 ` Andreas Schwab
2010-04-12 19:12 ` Andreas Schwab
2010-04-12 19:18 ` Ted Zlatanov
2010-04-12 19:29 ` Andreas Schwab
[not found] ` <87bpdpgsj9.fsf@gate450.dyndns.org>
2010-04-14 11:07 ` Ted Zlatanov
2010-04-14 11:34 ` Romain Francoise
2010-04-15 6:50 ` Katsumi Yamaoka
2010-04-15 13:46 ` Ted Zlatanov
2010-04-15 17:04 ` Andreas Schwab
2010-04-15 22:54 ` Andreas Seltenreich
2010-04-16 1:25 ` Ted Zlatanov
2010-04-16 21:49 ` Andreas Schwab
2010-04-17 21:00 ` Ted Zlatanov
2010-04-17 8:24 ` Andreas Seltenreich [this message]
2010-04-17 10:01 ` Andreas Schwab
2010-04-17 16:52 ` Andreas Seltenreich
2010-04-17 10:29 ` Andreas Schwab
2010-04-17 21:02 ` Ted Zlatanov
2010-04-17 21:28 ` Ted Zlatanov
2010-04-17 22:00 ` Ted Zlatanov
2010-04-17 23:26 ` Tim Landscheidt
2010-04-18 9:51 ` Andreas Seltenreich
2010-04-18 11:53 ` Ted Zlatanov
2010-04-18 12:10 ` Leo
2010-04-18 15:26 ` Ted Zlatanov
2010-04-18 21:04 ` Gnus, git, www.gnus.org (was: Gnus Git repository info and comitters: need updated password) Reiner Steib
2010-04-19 17:49 ` Gnus, git, www.gnus.org Reiner Steib
2010-04-19 18:10 ` Ted Zlatanov
2010-04-19 19:21 ` Andreas Schwab
2010-04-19 20:12 ` Ted Zlatanov
2010-04-19 23:28 ` Tim Landscheidt
2010-04-20 3:41 ` Ted Zlatanov
2010-04-22 17:31 ` Sivaram Neelakantan
2010-04-22 19:48 ` Andreas Schwab
2010-04-22 23:49 ` Ted Zlatanov
2010-04-23 0:35 ` Harry Putnam
2010-04-23 1:28 ` Russ Allbery
2010-04-23 10:00 ` Bjørn Mork
2010-04-23 13:01 ` Ted Zlatanov
2010-04-23 13:08 ` Greg Troxel
2010-04-23 13:20 ` Ted Zlatanov
2010-04-23 9:18 ` Sivaram Neelakantan
2010-04-23 12:54 ` Andreas Schwab
2010-04-23 16:41 ` Sivaram Neelakantan
2010-04-18 13:06 ` Gnus Git repository info and comitters: need updated password Andreas Seltenreich
2010-04-18 15:20 ` Ted Zlatanov
2010-04-18 15:32 ` Ted Zlatanov
2010-04-18 16:35 ` Andreas Seltenreich
2010-04-18 23:37 ` Ted Zlatanov
2010-04-19 1:01 ` Ted Zlatanov
2010-04-19 6:12 ` James Cloos
2010-04-20 3:11 ` Ted Zlatanov
2010-04-23 9:54 ` Tim Landscheidt
2010-04-23 13:16 ` SSL certificate issues for git.gnus.org (was: Gnus Git repository info and comitters: need updated password) Ted Zlatanov
2011-02-25 21:58 ` SSL certificate issues for git.gnus.org Ted Zlatanov
2011-02-25 22:39 ` Adam Sjøgren
2011-02-25 22:54 ` Ted Zlatanov
2011-02-25 22:59 ` Adam Sjøgren
2011-02-26 7:51 ` Julien Danjou
2011-02-26 13:14 ` Adam Sjøgren
2011-02-26 14:59 ` Steinar Bang
2011-02-28 19:33 ` Ted Zlatanov
2011-02-28 21:01 ` Steinar Bang
2011-03-01 10:38 ` Ted Zlatanov
2011-03-01 10:53 ` Steinar Bang
2011-03-05 12:04 ` Lars Magne Ingebrigtsen
2011-03-05 20:00 ` Steinar Bang
2011-03-07 17:26 ` Ted Zlatanov
2011-03-10 9:44 ` Simon Josefsson
2011-03-10 11:55 ` Steinar Bang
2011-03-10 21:50 ` Simon Josefsson
2011-03-10 22:01 ` Ted Zlatanov
2011-03-11 5:57 ` Simon Josefsson
2011-03-13 22:24 ` Lars Magne Ingebrigtsen
2011-03-14 8:59 ` Simon Josefsson
2011-03-14 9:30 ` Matthias Andree
2011-03-15 15:45 ` Lars Magne Ingebrigtsen
2011-03-15 16:03 ` Ted Zlatanov
2011-03-16 10:59 ` Ted Zlatanov
2011-03-16 11:31 ` Greg Troxel
2011-03-16 13:21 ` Ted Zlatanov
2011-03-17 11:07 ` Ted Zlatanov
2011-03-10 15:52 ` Ted Zlatanov
2011-03-10 19:43 ` James Cloos
2011-03-21 19:54 ` Adam Sjøgren
2011-03-21 22:41 ` Ted Zlatanov
2011-03-21 22:45 ` Adam Sjøgren
2011-02-26 9:24 ` Steinar Bang
2010-04-18 8:47 ` Gnus Git repository info and comitters: need updated password Andreas Schwab
2010-04-16 6:14 ` Katsumi Yamaoka
2010-04-16 9:47 ` Ted Zlatanov
2010-04-16 8:19 ` Didier Verna
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=878w8mij14.fsf@gate450.dyndns.org \
--to=andreas+ding@gate450.dyndns.org \
--cc=ding@gnus.org \
--cc=schwab@linux-m68k.org \
--cc=tzz@lifelogs.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).