|Version 1 (modified by bmcquay, 10 years ago) (diff)|
Publish and Revert all files associated with a ticket
This plugin in used in conjunction with subversion post-commit hook to associate subversion revision numbers with tickets. It also allows for easy publishing of the files associated with a ticket to a production environment as well as reverting those changes. This plugin is intended to connect the development process enabled by Trac to the publication of those changes to a production environment.
If you have any issues, create a new ticket.
Download the zipped source from [download:publishrevertplugin here].
Developers working on a ticket will commit their changes to subversion and reference the ticket in their subversion comments. The subversion post-commit hook associates the changesets with the referenced ticket. The normal ticket view is enhanced by adding a listing all the revisions that the developers have committed related to the ticket. Clicking on 'All' in the ticket view will take you to a complete listing of every file in every changeset and list for each file the latest revision number that modified the file. This page looks similar to the changeset view except that it is a set of changesets. At the top of this view there will be a publish and revert button which will perform an svn update on each of the files in the set of changesets. This will be done on in a production environment to update the modified files to the specific revision numbers listed for the ticket.