I use separate Trac environments for each software project I work on. I find the roadmap feature in Trac very useful for reporting progress to management. Is there some way I can automatically extract the roadmap data for each project and then automatically generate a report?
An example of the kind of report I'd like to generate can be found here: https://drive.google.com/file/d/0B88d07D8tZojLWwtajluTnV6clU/view?usp=sharing
I was wondering if web scraping (using beautifulsoup) might be the best way of extracting the roadmap data?
Thank you for your time and help.
XmlRpcPlugin provides an API to Trac. You will likely be interested in ticket.milestone. I would highly suggest interacting with Trac via this API rather than web scraping. Another option would be to develop a Trac Plugin that runs queries directly against the database. Developing a plugin has the benefit that you can use functionality provided by Trac, such as the progress bar. You'll also implicitly get the same styling as your other Trac sites.