Manu-- Thank you for yuor help! I am not much of a Python programmer ... do you know of any resource I can use to have a post-commit hook to merely send a notification email out to a group of people with the changeset number, who committed the changeset, a list of the files changed, and the contents of the log entry?
I really don't need the features to close tickets and add changeset logs to tickets at this current point in time. Of course, if this is independent of Trac (which I get the sense it might be) ... please let me know and I will look elsewhere. Thanks again for your help! Brett On May 8, 4:43 pm, "Emmanuel Blot" <[EMAIL PROTECTED]> wrote: > > I have looked through several of the SVN Post Commit related threads > > on the group site here and still have a few questions about setting up > > Trac to send a post-commit email > > 1) Several of the posts make reference to a file "trac-post-commit- > > hook.py". I do not have that file on my system. Should I? And if > > not, where do I obtain a copy? > > I'm surprised you never found a reference to the '/contrib' directory > (see Trac source code). An exemple of such as script is available > there > http://trac.edgewall.org/browser/trunk/contrib > or a more specialized one: > http://trac-hacks.org/browser/revtreeplugin/0.11/hooks > > > 2) It seems that setting up the post-commit system is a bit tricky on > > Windows. Is anyone aware of a complete tutorial on how to set up the > > post-commit on a Windows box? > > See the latest URL: there are some wrapper scripts for Unix shell and > batch files. You'll obviously need to tweak the paths they use, but > that's a pretty > straightforward operation. > > > I would prefer to not use Perl, since I do not have it installed on > > the server. I can install it, but since its not installed already, > > I'd prefer to keep things simpler if at all possible. > > Both those scripts are written in Python - as it's far more easier to > invoke Trac API from Python ;-) > > Cheers, > Manu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
