Opened 7 years ago

Closed 4 years ago

#41919 closed enhancement (fixed)

Add CommitTicketUpdater Trac plugin

Reported by: ryandesign (Ryan Schmidt) Owned by: admin@…
Priority: Normal Milestone:
Component: server/hosting Version:
Keywords: Cc: eborisch (Eric A. Borisch), cooljeanius (Eric Gallager)


Can we add this Trac plugin, which would allow tickets to be automatically closed by writing certain keywords in a commit message?

This was brought up on the mailing list:

I see just now that in Trac Admin I have the ability to install a plugin by uploading a file. Is it appropriate for me to try to do that, or are there reasons why I should leave installing Trac plugins to the administrators?

Change History (5)

comment:1 Changed 7 years ago by ryandesign (Ryan Schmidt)

Actually I see it's distributed with Trac, so it should already be installed, just not enabled. The instructions say it can be enabled either:

  1. Through the Admin interface (admin/general/plugin), enable: tracopt.ticket.commit_updater.* modules
    1. CommitTicketUpdater (tracopt.ticket.commit_updater.*)

I don't see an option to do this there, so we may need the second method:

  1. alternativally editing trac.ini file, add the following line at the [components] section:
    tracopt.ticket.commit_updater.committicketreferencemacro = enabled
    tracopt.ticket.commit_updater.committicketupdater = enabled

comment:2 Changed 7 years ago by wsiegrist@…

Owner: changed from wsiegrist@… to skarulkar@…

comment:3 Changed 7 years ago by ryandesign (Ryan Schmidt)

Is editing this trac.ini file something that could be done simply? Would it accomplish the goal? Are there other steps we should try?

comment:4 Changed 4 years ago by ryandesign (Ryan Schmidt)

Owner: changed from skarulkar@… to admin@…
Status: newassigned

comment:5 Changed 4 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.