Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] upload-pack: add a trigger for post-upload-pack hook

From: Tom Werner <hidden>
Date: 2016-06-15 22:47:18

On Tue, Aug 18, 2009 at 12:04 AM, Tom Preston-Werner[off-list ref] wrote:
A post-upload-pack hook is desirable for Git hosts that need to
collect statistics on how many clones and/or fetches are made
on each repository.

The hook is called with either "clone" or "fetch" as the only
argument, depending on whether a full pack file was sent to the
client or not.
I was hoping to get some feedback on this patch, either positive or
negative. Since we'll be applying this patch for our use of the Git
Daemon on GitHub, it would be great to see it in core, so we don't
have to maintain custom debian builds forever. I'd imagine that other
Git hosting sites would find this hook useful as well. Thanks!

Tom

--
Tom Preston-Werner
GitHub Cofounder
http://tom.preston-werner.com
github.com/mojombo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help