Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发程序并编写错误处理程序,我想在她的自动错误单中添加到 trac webapge。
有人知道最简单的方法吗?将 libcurl 连接到添加票证的服务器上的 PHP 脚本的最简单方法。
也许一些图书馆可以做到这一点?还是工作代码片段?
从服务器,您可以使用 python 中的 trac 包以编程方式添加票证,这是 trac 的母语。
如果你想用 C/C++ 做,我认为如果服务器安装了 xml-rpc 插件[0],你可以实现它发出 xml-rpc 调用。
[0] http://trac-hacks.org/wiki/XmlRpcPlugin