Hi Guys,

TGIF!!!

I just got the Commit Ticket Updater to work....yeah!!
We recently upgraded from Trac 0.11 to 0.12.2.
I just got Commit Ticket Updater to work on my test project.
Our production projects are still using trac-post-commit.

Now I have another issue that I need to address before fully
implementing to our production projects.
As I mentioned previously, we've been using post-commit with
trac-post-commit to close/update our Trac tickets.
I had to edit the trac-post-commit hook to update a custom field in our
ticket.
It actually populates the custom field named Rev. Fixed with the number
of the revision that closed the ticket.
See below:

        # Added self.rev to the close command. ppc 5/29/09
      # This will populate the custom field, Rev. Fixed with the
revision number.
        def _cmdClose(self, ticket):
                ticket['status'] = 'closed'
                ticket['resolution'] = 'fixed'
                ticket['rev_fixed'] = self.rev

I need to make this customization to the commit_updater.py, but I don't
have access to it because its in the Trac .egg file.
The .egg file is located under /usr/local/lib/python2.6/dist-packages.
Because it's an .egg file and not a directory, I can't get to the
commit_updater.py to edit.
I ran unzip -t Trac-0.12.2-py2.6.egg and I can see the file in there.
Any advise on how to address this issue.


Trac    0.12.2
Genshi  0.6
mod_python      3.3.1
pysqlite        2.5.5
Python  2.6.5 (r265:79063, Apr 16 2010, 13:28:26) [GCC 4.4.3]
pytz    2010b
setuptools      0.6c11
SQLite  3.6.22
Subversion      1.6.6 (r40053)
jQuery: 1.4.2

Thanks & Happy Halloween!!
-Patty
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to