Support for bug-fixed metadata

Bug #120470 reported by Jelmer Vernooij
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Trac-Bzr
Fix Released
Wishlist
Jelmer Vernooij

Bug Description

bzr commit now supports a --fixes argument that will record metadata about bugs that are fixed by a particular commit.

trac-bzr should read this information and use it to close bugs.

Related branches

Jelmer Vernooij (jelmer)
Changed in trac-bzr:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Alexander Belchenko (bialix) wrote :

Do you think trac-bzr should work as watcher of changes in branches? And once new revision is available then it should scan it for bugs metadata? This will require to implementing long-running watcher thread or subprocess.

From other hand user can use post_change_branch_tip hook if the branches served by some sort of bzr server.

Revision history for this message
Václav Slavík (vslavik) wrote :

IMHO post_change_branch_tip is the way to go -- the equivalent of that is what Trac uses for handling specially formatted commit comments with SVN too. Especially if the metadata scan of newly seen revisions would be so expensive that it would require running in another thread/process (which is downright impossible if using Trac with CGI and resources-unfriendly otherwise).

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

A post_change_branch_tip has the disadvantage that it will only work in case the user has a particular plugin installed that supports that post_change_branch_tip hook.

I'd like to see a script that can be run on a particular branch and can close all relevant bugs. Such a script can then be run from e.g. a cronscript.

Jelmer Vernooij (jelmer)
Changed in trac-bzr:
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in trac-bzr:
status: Triaged → In Progress
Jelmer Vernooij (jelmer)
Changed in trac-bzr:
assignee: Jelmer Vernooij (jelmer) → nobody
Jelmer Vernooij (jelmer)
Changed in trac-bzr:
status: In Progress → Fix Released
assignee: nobody → Jelmer Vernooij (jelmer)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.