(adding scm-migration-dev)

>>>>> "Norm" == Norm Jacobs <Norm.Jacobs at Sun.COM> writes:

Norm> We are looking at transitioning the SFW gate to mercurial at some
Norm> point in the not too distant future and in the process, put it out
Norm> on opensolaris.org.  In order to do the transition, it looks like
Norm> we may need to add some mercurial hooks to the gate to do some
Norm> verification before we commit a push.  I was wondering if you know
Norm> if the opensolaris.org hg support allows this?

As you discovered, the admin interface doesn't allow repos to have
custom hooks.  I believe there is already an RFE for this.

The architecture does allow for repo-specific hooks, at least for
Mercurial.  This can be done by installing the hooks on the server and
replacing the repo's standard .hg/hgrc with a custom hgrc, i.e., one
that lists the desired hooks.

Norm> If you don't know, can you point me at someone that can help me?
Norm> I am going to be out for a couple of weeks, but through I would
Norm> start to get the ball rolling.

I would start with scm-migration-dev (cc'd).  While the high-level
description of what's needed is simple, there are a lot of details to be
worked out, and scm-migration-dev is the place to do it.  I'm thinking
of details like 

- the contents of the hooks.  Ideally, there would be a set of generic
  hooks that project leaders could enable or disable.  ON has already
  been working on hooks that I'd hope could eventually be the basis for
  these hooks.

- how the hooks will be packaged and managed

- how much access project leaders will have to the servers for
  troubleshooting

mike

Reply via email to