From: Andreas Seltenreich <andreas+ding@gate450.dyndns.org>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: ding@gnus.org
Subject: Re: Gnus Git repository info and comitters: need updated password
Date: Sun, 18 Apr 2010 15:06:16 +0200 [thread overview]
Message-ID: <871vec7vw7.fsf@gate450.dyndns.org> (raw)
In-Reply-To: <87fx2tq8nx.fsf@lifelogs.com> (Ted Zlatanov's message of "Sun, 18 Apr 2010 06:53:06 -0500")
[-- Attachment #1: Type: text/plain, Size: 2508 bytes --]
Ted Zlatanov writes:
> On Sun, 18 Apr 2010 11:51:34 +0200 Andreas Seltenreich <andreas+ding@gate450.dyndns.org> 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: (<opaquelocktoken:1eb4020a-1dd2-11b2-8b53-fb971bf9ad33>)
| 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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 4123 bytes --]
*** 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
-----------------------------------------------------------------------------------------------
next prev parent reply other threads:[~2010-04-18 13:06 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
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 ` Andreas Seltenreich [this message]
2010-04-18 15:20 ` Gnus Git repository info and comitters: need updated password 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=871vec7vw7.fsf@gate450.dyndns.org \
--to=andreas+ding@gate450.dyndns.org \
--cc=ding@gnus.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).