Modify ↓
#9753 closed enhancement (wontfix)
CommitTicketUpdater should have an option to specify action
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | 0.12 |
Severity: | normal | Keywords: | CommitTicketUpdater |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Attachments (0)
Change History (3)
comment:1 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
Ok. Fully understandable! :)
I think can code something like that, and see if it can go on trac-hacks.org eventually.
Thanks for pointing me in the right direction!
comment:3 by , 14 years ago
Just commenting that this is a really nice way to make the builtin stuff extensible. Bookmarking for reference.
Note:
See TracTickets
for help on using tickets.
We can't possibly handle all possible situations in that component, as there are just too many possibilities. That's why we made the
CommitTicketUpdater
component so that it can easily be subclassed to provide your own implementation of actions (in this case, overridecmd_close()
).This can be done in a single-file plugin placed in the
plugins
folder of the environment. Something like (untested):The single-file plugin will be activated automatically, and you should make sure to disable the original
CommitTicketUpdater
.