从Trello卡上记录Bugzilla错误
trellobug的Python项目详细描述
trello bug是一个基于trello卡归档bug的脚本。它 同时更新卡的描述,插入新bug的URL 作为第一行。
脚本有一个强制参数:Trello的短id或URL 卡片。
它在当前工作目录中使用名为.trellobug的配置文件 或者用户的主目录。也可以传递任何名称的配置文件 通过–config选项进入。
如果找不到配置文件,将在第一次运行时创建它。用户 将查询强制配置变量。也有几个可选的 配置变量。
以下是所有选项:
[bugzilla] api_key: a Bugzilla API key url: optional URL to a Bugzilla instance; defaults to bugzilla.mozilla.org product: Product bugs will be filed in; currently defaults to “Conduit” component: Component bugs will be filed in; currently defaults to “General” version: Version new bugs will be set to; defaults to “unspecified”
[trello] api_key: Trello API key api_secret: Trello API secret oauth_token: Trello OAuth token oauth_token_secret: Trello OAuth token secret
–产品,–组件和–版本命令行选项 可用于指定Bugzilla产品、组件和版本, 分别是。它们覆盖相应的[bugzilla] 配置文件选项(如果设置)。
如果提供,则–assign命令行选项会将错误分配给 当前用户(由提供的bugzilla api密钥标识)和 将状态设置为“已分配”否则,错误将被取消分配 并设置为默认状态。