I think there are (at least) 2 classes of hooks that we need. The basic ones are those that facilitate daily gate operation - notification of commits to everyone, automated way of adding new "gatelings" like the add-gateling script does now, and notification of a successful commit to the committer (like pbconfirm does now).
Another set of hooks which, presumably, will be different between SFW and ON are things that check a commit before letting it happen. In SFW land, we are pretty liberal, and we don't enforce much "correctness checking" - not that we couldn't, but we don't yet. In ON-land, though, there is much more of a "tight-ass" factor to deal with, so I assume a bunch of scripts will be run on the files to be committed before the commit occurs. I am most interested in group #1 above, since that's what we need to do to get SFW going at a minimum. Thanks -ken Richard Lowe wrote: > Mike Kupfer <mike.kupfer at sun.com> writes: > > >>>>>>> "Rich" == Richard Lowe <richlowe at richlowe.net> writes: >>>>>>> >>>>>>>>> "Ken" == Ken Erickson <ken.erickson at sun.com> writes: >>>>>>>>> >> Rich> The hooks are as yet not existant in the public code. Steve >> Rich> tested some out on the gate-side via a sfwnv tree he could make >> Rich> junk changes to, I tested the stuff on our side out via a clone of >> Rich> onnv I could make junk changes to. >> >> Does this mean that there is preliminary code that we could check into >> the project gate, or at least make available for Ken and Vijay to help >> them get started? >> > > There is code I putback, and then backed out for being absolutely > horrificly awful. Clearly, I don't intend to re-integrate that same > code, or suggest it be used as an example. > > As far as documentation on hooks, I would suggest hgbook. > > As far as using the hooks to run our checks, that may require further > work on the checks themselves, but I'm happy to answer questions. > > -- Rich > _______________________________________________ > scm-migration-dev mailing list > scm-migration-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/scm-migration-dev > -- Ken Erickson | kene at Eng.Sun.COM Sun Microsystems, Inc., Solaris OS Engineering | Voice: (847)663-9471 4150 Network Circle MS UITA01 | Cell: (847)530-4603 Santa Clara, CA 95054 | If you want me to read something, don't send it as a StarOffice or HTML attachment.