On Tuesday, August 23, 2016 at 5:38:14 AM UTC-7, Miguel Almeida wrote:
>
> [UPDATE] For reference, my global_trac.ini (non-commented is with stable,
> commented is what I switched to when trying to use 1.0.0 from svn).
>
> [components]
> multicommitupdater.* = enabled
>
> [multicommitupdater]
> envelope = ()
> commands.refs = re see rel
> commands.close = fix fixes close closes
> check_perms = false
>
> #[ticket]
> #commit_ticket_update_envelope = ()
> #commit_ticket_update_commands.refs = re see rel
> #commit_ticket_update_commands.close = fix fixes close closes
>
>
> In my tools.ini I have:
> [ticket]
> commit_ticket_update_short_name=xxx
>
> [components]
> tracopt.ticket.commit_updater.committicketreferencemacro = enabled
> #tracopt.ticket.commit_updater.committicketupdater = enabled
> #disabled when using version 1.0.0x
> tracopt.ticket.commit_updater.committicketupdater = disabled
>
>
> I've also added the following debug to the tool, which isn't logged:
> def _parse_message(self, message):
> """Parse the commit message and return the ticket references."""
> self.log.debug("xxxxxxxxxxxx parsing the message")
> cmd_groups = self.command_re.findall(message)
> (...)
> # Project name is the first thing in the list, then tickets.
> name = project_groups.pop(0)
> self.log.debug("xxx name is: #%s", name)
> self.log.debug("xxx project_name is:
> #%s",self.project_name.lower())
>
>
> Still investigating...
>
There were two issues:
* I made a syntax error in r15726.
* The regex didn't work when using an envelope. I hadn't touched that part
of the code yet, and it needed a major rewrite.
The latest changes have been committed in r15730 (2).
- Ryan
(1) https://trac-hacks.org/changeset/15726
(2) https://trac-hacks.org/changeset/15730
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.