多个项目的 Trac 路线图摘要

Trac roadmap summary for multiple projects

我为我从事的每个软件项目使用单独的 Trac 环境。我发现 Trac 中的路线图功能对于向管理层报告进度非常有用。有什么方法可以自动提取每个项目的路线图数据,然后自动生成报告吗?

可以在此处找到我想要生成的那种报告的示例:https://drive.google.com/file/d/0B88d07D8tZojLWwtajluTnV6clU/view?usp=sharing

我想知道网络抓取(使用 beautifulsoup)是否是提取路线图数据的最佳方式?

感谢您的宝贵时间和帮助。

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。您还将获得与其他 Trac 网站相同的样式。