Ok, thanks.

But I don't manage to understand the order of things: what's the first 
class/function called when trac is launched? I guess once I'll know this I'll 
be able to understand how it all works.

I ask this because I'd like to change a few things in trac, for example:
- hide some fields in ticket creation, but only for some users
- change the english titles in french
- link the contents of a field with another during ticket creation (for 
example, if we select milestone 2, version 1.0 must be selected by default, or 
things like that -bad example, I know)

-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED] De la part de Noah 
Kantrowitz
Envoyé : mercredi 4 juin 2008 19:12
À : [email protected]
Objet : [Trac] Re: Organisation of trac code


> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> On Behalf Of Eleonore DUVELLE
> Sent: Wednesday, June 04, 2008 8:14 AM
> To: [email protected]
> Subject: [Trac] Organisation of trac code
> 
> 
> Hi everybody,
> 
> I'd like to know more about the way trac's code is organised. Is this
> information available somewhere?
> I've found .py files in python\Lib\site-packages\trac\ but I'd like to
> get an overall vision of all trac's organisation...

http://trac.edgewall.org/browser/trunk/trac

Each subsystem is in a package or module. Templates for each package in the
"templates/" folder. web_ui.py is generally the user interface, admin.py is
the admin panels, api.py is central functionality and public API stuffs,
model.py is data models. This is all just by convention, some things are
done a bit differently (example, the ticket query UI and model object are
both in trac/ticket/query.py).

--Noah






--~--~---------~--~----~------------~-------~--~----~
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