git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/6] http-push updates

From
NHNick Hengeveld <nickh@reactrix.com>
Date
Mar 14, 2006, 00:28 UTC
Message-ID
<20060314002815.GJ3997@reactrix.com>
In-Reply-To
<7vek16udg6.fsf@assigned-by-dhcp.cox.net>
On Sun, Mar 12, 2006 at 09:21:45PM -0800, Junio C Hamano wrote:
Show 5 quoted lines
> 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.
Previous: Junio C Hamano
Message 3 of 3 in “http-push updates”
  1. 0/6 http-push updatesNick Hengeveld, Mar 11, 2006
  2. Junio C HamanoMar 13, 2006
  3. Nick HengeveldMar 14, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.