From: Nick Hengeveld <nickh@reactrix.com>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: git-http-push and hooks
Date: Tue, 7 Feb 2006 14:45:51 -0800 [thread overview]
Message-ID: <20060207224551.GB3833@reactrix.com> (raw)
In-Reply-To: <7vwtg6uaw6.fsf@assigned-by-dhcp.cox.net>
On Tue, Feb 07, 2006 at 01:17:13PM -0800, Junio C Hamano wrote:
> If the server info updates is the _only_ problem, then perhaps
> that would be the easiest and cleanest. Whenever you update or
> add a ref you would need to update info/refs (otherwise
> ls-remote would not give you the latest info), and whenever you
> repack you would need to update objects/info/packs.
What happens if someone else updates a ref and it no longer matches your
local ref? Should the push scan the remote versions of all local refs
and update whatever doesn't match?
> You may probably want to have a CGI to allow you manage the
> repository remotely anyway, to trigger a repack or remove a
> stale branch head, for example. Once you go that route maybe
> having the CGI to do something like the pack protocol for more
> efficient transfer might become more attractive.
That's an option if the user has the ability to install CGI scripts on the
DAV server, which doesn't seem like it will always be true. Perhaps it
would make sense to do both:
- add a git-http-repack command that works in a DAV-only environment
- add a CGI script to provide remote management, and a config
setting to git-http-push for the remote management URL
--
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
next prev parent reply other threads:[~2006-02-07 22:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-06 20:52 git-http-push and hooks Bertrand Jacquin (Beber)
2006-02-06 23:22 ` Nick Hengeveld
2006-02-07 19:54 ` Fredrik Kuivinen
2006-02-07 20:23 ` Nick Hengeveld
2006-02-07 20:57 ` Fredrik Kuivinen
2006-02-07 21:02 ` Bertrand Jacquin
2006-02-07 23:41 ` Junio C Hamano
2006-02-07 21:17 ` Junio C Hamano
2006-02-07 22:45 ` Nick Hengeveld [this message]
2006-02-07 23:26 ` Junio C Hamano
2006-02-07 23:48 ` Nick Hengeveld
2006-02-07 20:51 ` Bertrand Jacquin
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=20060207224551.GB3833@reactrix.com \
--to=nickh@reactrix.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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).