This won't happen.
> - Abandon development of the plugin and mark it as deprecated
This will have to be answered by the plugin's author.
> - Schedule further (few) remaining features implemented in the
> plugin to merged with trunk
I haven't looked at the plugin for a while. What features would you like
to see ported from the plugin to core? If it's useful enough, we would
be glad to accept a patch.
-- Remy
Oh, right, sorry :)
> The way I see it, the only thing that's missing are admin panels to
> manage hooks for different VCS hooks (and even in that case further
> work is needed for multi-repository support).
The file to be edited will differ from backend to backend. Even worse,
some backends (e.g. Mercurial) allow specifying hooks in several locations.
My feeling is that this is better left in a plugin, in the same way as
IniAdminPlugin and CustomFieldAdminPlugin. But that's only me.
-- Remy
As the name implies, an `IRepositoryChangeListener` listens for
repository *changes*. A pre-commit hook doesn't inform of a repository
change, so it's a bit outside of the intended scope.
> - What about adding a hook parameter to trac-admin
> command ? I mean, with Mercurial and DVCS, similar
> hooks might be invoked on different similar events (i.e.
> not all for all events).
I don't understand what you mean...
> - If so , what'd be the (best | right) way to actually veto
> the target changeset ?
Your example of vetoing a changeset that doesn't refer to a ticket
actually doesn't have anything to do with a Trac repository hook. What
you need is to extract any ticket references from the commit message,
something you can do with a regexp, and to check if that ticket exists.
For this, a `trac-admin $ENV ticket list` command would be useful
(possibly with an optional query), but you could also just use a SQL query.
> - What's the approach considered for Mercurial plugin ?
> Is it gonna be distributed with Trac core (in the future) or
> is it that it will always be a separate plugin ?
It will remain a separate plugin due to licensing issues (Mercurial is
GPL, Trac is BSD).
-- Remy