Hi all,

ok, I'm new to python so bear with me if I'm missing something very
basic here... I've gone through the wiki and googled around to get
some info but couldn't find much.

I want to modify the way components (I mean the ticket fields) work. I
want to:

1. disable the option to delete a component: this must become "hide".

2. edit the new component action to trigger some shell scripting
(specifically an svn command)

I think the right thing to do would be extend the
trac.ticket.model.Component class editing the the methods I want to
change.

How can I tell Trac where the new trac.ticket.model.Component class
is? I bet I can do something like classpath order here... right?

Also, I need to "extend" the Component table to keep track of the
"hidden" status. Is there a recommended way of doing this?


I'm just looking for a few pointers to get me started.


Thanks a lot,
- Salvio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to