Create browse source from the node_change table

16 views
Skip to first unread message

Harold Alcalde Solarte

unread,
May 28, 2019, 2:27:24 AM5/28/19
to Trac Users
I currently use TRAC 1.2.2

I would like to do my own Browse Source in my Ruby on Rails application, but I do not want to access through SVN (access is very slow).
I am using the node_change and revision tables of the TRAC database to perform SQL queries, but I can not get the final tree.

I have also seen the source code of the TRAC Browse Source, but I do not have much idea of ​​Python.

Someone has some idea of ​​how to perform this query on the node_change table or how TRAC does to create the SVN tree.


Any idea would be of great help to me.

Thank you.
A greeting.

RjOllos

unread,
Jun 26, 2019, 10:51:12 PM6/26/19
to Trac Users
Enable [trac] debug_sql, navigate to the view in Trac that generates the tree, and you'll find the SQL in the log output:

- Ryan
Reply all
Reply to author
Forward
0 new messages