How can I help ?

On Thursday, October 11, 2012 2:05:58 PM UTC+2, Olivier wrote:
>
> Thanks it helps
>
> On Thursday, October 11, 2012 1:18:00 PM UTC+2, Peter Suter wrote:
>>
>> Hi, 
>> I'm afraid there's little documentation of that part of the API yet. 
>> (You'd be welcome to help improve that. :) 
>>
>> The implementation of the component, milestone, version etc. admin 
>> pages [1] can be helpful as a reference. There you find something 
>> similar to this: 
>> from trac.ticket import model 
>> list_of_components = model.Component.select(self.env) 
>> list_of_milestones = model.Milestone.select(self.env) 
>> list_of_versions = model.Version.select(self.env) 
>>
>> Hope that helps. 
>>
>> -- Peter 
>>
>> [1] http://trac.edgewall.org/browser/trunk/trac/ticket/admin.py 
>>
>> On Thu, Oct 11, 2012 at 10:21 AM, Olivier <[email protected]> wrote: 
>> > Hi, 
>> > 
>> > I am not sure if I am in the right place. I am trying to build a plugin 
>> on 
>> > trac and I would like to get the list of component, milestone, 
>> version... 
>> > associated to the project. 
>> > I can't find a way in the API. 
>> > If you have a link to the documentation or samples I can read it will 
>> be 
>> > helpfull. 
>> > 
>> > thanks & regards 
>> > 
>> > Olivier 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups 
>> > "Trac Development" group. 
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msg/trac-dev/-/1Ftpy7A3ju0J. 
>> > 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. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-dev/-/t6v91Oa3gDkJ.
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