git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] http-push updates
@ 2006-03-11  4:17 Nick Hengeveld
  2006-03-13  5:21 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Hengeveld @ 2006-03-11  4:17 UTC (permalink / raw)
  To: git

This series fixes a few http transport and http-push bugs, includes some
refactoring, and adds functionality to update remote server info/refs.

I'm considering future support for initializing a remote repo if the
remote url points to an empty directory and the --force arg is present.
Any thoughts?

I'm also planning to add support for using packs to send updates, and
for updating remote server objects/info/packs.  I'm not sure whether it
makes sense to always send packs or to only do so when enough objects
need to be pushed.

-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/6] http-push updates
  2006-03-11  4:17 [PATCH 0/6] http-push updates Nick Hengeveld
@ 2006-03-13  5:21 ` Junio C Hamano
  2006-03-14  0:28   ` Nick Hengeveld
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2006-03-13  5:21 UTC (permalink / raw)
  To: Nick Hengeveld; +Cc: git

Nick Hengeveld <nickh@reactrix.com> writes:

> I'm considering future support for initializing a remote repo if the
> remote url points to an empty directory and the --force arg is present.
> Any thoughts?

Repository maintenance tasks:

 - create a new repository
 - create new branch (and new tag) -- I think you can already do this
 - remove an unneeded branch and tag
 - (perhaps) running update-server-info
 - running repack

> I'm also planning to add support for using packs to send updates, and
> for updating remote server objects/info/packs.  I'm not sure whether it
> makes sense to always send packs or to only do so when enough objects
> need to be pushed.

If you have repack support somehow, always sending packs
(especially the thin kind) would make sense, but otherwise you
probably would want some arrangements to make sure many small
packs are periodically consolidated into larger smaller number
of packs, so that they would not fragment the vma of git
programs that run on the server side by mmap()ing them into
their address spaces.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/6] http-push updates
  2006-03-13  5:21 ` Junio C Hamano
@ 2006-03-14  0:28   ` Nick Hengeveld
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Hengeveld @ 2006-03-14  0:28 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

On Sun, Mar 12, 2006 at 09:21:45PM -0800, Junio C Hamano wrote:

> Repository maintenance tasks:
> 
>  - create a new repository
>  - remove an unneeded branch and tag
>  - running repack

In a DAV-only server environment, it seems like there are a few
options for supporting these tasks:

- extend http-push with additional args and/or local config settings.
  This approach would be more efficient wrt packs than separate
  push and repack steps since packs will all need to be created locally
  and then sent; a combined repack/push operation would mean that new
  objects will only be sent once as part of a pack.

- add DAV versions of git-init-db/git-branch/git-repack

- extend git-init-db/git-branch/git-repack to be DAV-aware

I like option #1.

>  - create new branch (and new tag) -- I think you can already do this

Right - you can create locally and then push that branch/tag or
--all/--tags.

>  - (perhaps) running update-server-info

http-push already updates info/refs if it existed before the push 
(perhaps that behavior should also be based on a local config setting.)
I would plan to add support for updating objects/info/packs along with
pack/repack support.  That should be all the server-info there is to
update, right?

-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-14  0:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-11  4:17 [PATCH 0/6] http-push updates Nick Hengeveld
2006-03-13  5:21 ` Junio C Hamano
2006-03-14  0:28   ` Nick Hengeveld

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).