Re: [PATCH 0/2] upload-pack: pre- and post- hooks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nicolas Pitre
Date: Monday, February 1, 2010 - 9:30 am

On Mon, 1 Feb 2010, Shawn O. Pearce wrote:


I think such hooks could be allowed only if triggered explicitly by the 
upload-pack caller, such as git-daemon.  That's probably the only 
scenario where a useful use case can be justified for them anyway.

And of course, to avoid any security problems, the actual hooks must not 
be provided by the repository owner but provided externally, like from 
git-daemon, via some upload-pack command line arguments.  This way the 
hooks are really controlled by the system administrator managing 
git-daemon and not by any random git repository owner.

That should be good enough for all the use cases those hooks were 
originally designed for.


Nicolas
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Removal of post-upload-hook, Arun Raghavan, (Thu Jan 14, 11:01 am)
Re: Removal of post-upload-hook, Jeff King, (Thu Jan 14, 12:36 pm)
Re: Removal of post-upload-hook, Shawn O. Pearce, (Thu Jan 14, 12:41 pm)
Re: Removal of post-upload-hook, Arun Raghavan, (Thu Jan 14, 12:52 pm)
Re: Removal of post-upload-hook, Jeff King, (Thu Jan 14, 1:43 pm)
Re: Removal of post-upload-hook, Robin H. Johnson, (Thu Jan 14, 2:06 pm)
Re: Removal of post-upload-hook, Arun Raghavan, (Thu Jan 14, 11:12 pm)
Re: Removal of post-upload-hook, Ilari Liusvaara, (Fri Jan 15, 4:52 am)
Re: Removal of post-upload-hook, Arun Raghavan, (Fri Jan 15, 5:14 am)
Re: Removal of post-upload-hook, Jeff King, (Fri Jan 15, 7:47 am)
[PATCH 0/2] upload-pack: pre- and post- hooks, Arun Raghavan, (Mon Feb 1, 1:32 am)
[PATCH 2/2] upload-pack: Add a pre-upload-pack hook, Arun Raghavan, (Mon Feb 1, 1:32 am)
Re: [PATCH 0/2] upload-pack: pre- and post- hooks, Shawn O. Pearce, (Mon Feb 1, 8:20 am)
Re: [PATCH 0/2] upload-pack: pre- and post- hooks, Arun Raghavan, (Mon Feb 1, 8:50 am)
Re: [PATCH 0/2] upload-pack: pre- and post- hooks, Shawn O. Pearce, (Mon Feb 1, 9:01 am)
Re: [PATCH 0/2] upload-pack: pre- and post- hooks, Nicolas Pitre, (Mon Feb 1, 9:30 am)
Re: [PATCH 0/2] upload-pack: pre- and post- hooks, Shawn O. Pearce, (Mon Feb 1, 9:36 am)
Re: [PATCH 0/2] upload-pack: pre- and post- hooks, Arun Raghavan, (Mon Feb 1, 10:50 pm)
Re: [PATCH 0/2] upload-pack: pre- and post- hooks, Arun Raghavan, (Mon Feb 1, 10:52 pm)
Re: [PATCH 0/2] upload-pack: pre- and post- hooks, Nicolas Pitre, (Mon Feb 1, 11:15 pm)