TracTicketChangesetsPlugin

7 views
Skip to first unread message

Mo

unread,
Jul 9, 2019, 11:16:22 AM7/9/19
to Trac Users
Hello everybody,

what is the purpose of TracTicketChangesetsPlugin?
Reading the wiki it starts with

This plugin hooks into changeset notifications and searches commit messages for ticket references. Referenced tickets are updated with the commit message, and all concerning changesets for a ticket are presented in a separate section on ticket pages, just above the change history section.

This is all possible by the core  and CommitTicketUpdater already. Since pre 1.2 we have a script, that is regularly running a cronjob doing

trac-admin /mnt/data/project  changeset added MT6 $revision

for every new revision.
Just the last point about having a separate section on ticket pages with all changesets could be interesting.

Is this plugin from a time when Trac wasn't able to do that?


One conflict I found with CodeReviewerPlugin:
https://trac-hacks.org/ticket/13570
Using the alternative CommitMessage macro provided with that plugin instead of the CommitTicketReference of CodeReviewerPlugin, the code reviews are not displayed anymore. Is there some way to use both

Best regards.

RjOllos

unread,
Jul 9, 2019, 1:16:24 PM7/9/19
to Trac Users


On Tuesday, July 9, 2019 at 8:16:22 AM UTC-7, Mo wrote:
Hello everybody,

what is the purpose of TracTicketChangesetsPlugin?
Reading the wiki it starts with

This plugin hooks into changeset notifications and searches commit messages for ticket references. Referenced tickets are updated with the commit message, and all concerning changesets for a ticket are presented in a separate section on ticket pages, just above the change history section.

This is all possible by the core  and CommitTicketUpdater already. Since pre 1.2 we have a script, that is regularly running a cronjob doing

trac-admin /mnt/data/project  changeset added MT6 $revision

for every new revision.
Just the last point about having a separate section on ticket pages with all changesets could be interesting.

Is this plugin from a time when Trac wasn't able to do that?


Both TracTicketChangesetsPlugin and TracTicketChangelogPlugin present the changesets in an alternate view. Rather than the changesets being presented in the Change Log, they are presented under the ticket box. That is the only purpose of the plugins as far as I know.
Reply all
Reply to author
Forward
0 new messages