On Wed, Jul 16, 2008 at 03:38:39PM -0700, Bill Sommerfeld wrote: > > > In the meantime, without this setting, *none of the hooks run*. That's > > your gate check hooks, your generate a webrev hooks, etc. > > > > We had way too many accidentally-hidden putbacks happen due to this > > setting not being there. > > if you need to force hooks to run, you need to set up a captive shell > environment on the system hosting the gate and funnel all pushes through > that captive environment.
It would seem like solving this problem is a requirement for ON migrating from teamware. It was my understanding that executing the hooks is a requirement, as it replaces (and improves upon) the ex post-facto gatekeeper scripts run via teamware's notifications. If the default disposition of a mercurial gate is to ignore such hooks and allow you to putback anyway, regardless of any implementation details, something seems very wrong. Or is it the case that we don't care about people running the hooks? As it stands today, users have to opt-in to such treatment, and even then it requires disabling security checks across all hg invocations, not just operations on onnv. - Eric -- Eric Schrock, Fishworks http://blogs.sun.com/eschrock