> On 3 Sep 2012, at 08:01, "Cooke, Mark" wrote: > >> the defaults from http://trac.edgewall.org/wiki/CommitTicketUpdater > > > > Looking at that page appears to confirm my suspicion that > you need to set the `envelope` option. Try doing a commit > using the log message `[fixes #34]` (using the apparently > default `[]` envelope. If that works, just define the > envelope option to be empty and you should be back where you > want to be... > > -----Original Message----- > From: [email protected] On Behalf Of Samuel Halliday > Sent: 03 September 2012 20:37 > To: [email protected] > Subject: Re: [Trac] Trac dev and post commit hooks > > I added the envelope setting, and tried a "[refs #30]" commit > message (also without the square brackets). Again, shows up > as a clickable link in timeline but no mention in the ticket itself. > ...you removed most of the historical context to this email? I use email and don't store old messages, so I don't have the old info on your config so far.
I think I would suggest that you (a) set _all_ the options referenced in the www help page (link above) rather than rely on the defaults, (b) restart your server to make sure they're used, (c) try it again and (d) if it still doesn't work, show us the config and commit message you used and say what did and didn't happen. For your ref, here are my settings (but note that I don't use `close` from commit as we have a separate testing phase in our workflow):- [components] tracopt.ticket.commit_updater.* = enabled [ticket] commit_ticket_update_envelope = #commit_ticket_update_commands.close = commit_ticket_update_commands.refs = <ALL> commit_ticket_update_check_perms = true commit_ticket_update_notify = true ....this should add a ref for any `#<number>` bit of text to ticket <number>, checking that the commiter has rights to update the ticket (do your svn and trac usernames match?). ~ mark c -- 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.
