【发布时间】:2020-10-20 00:27:24
【问题描述】:
我想使用给定的 Gerrit REST API 从 Gerrit 获取所有更改
- REPO 名称
- 分公司名称
- 开始日期 - 我想要审核的日期。
- 结束日期 - 我希望从开始日期开始的评论的日期。
到目前为止,我已经尝试过:
rest = GerritRestAPI(url=gerrit_url)
changes = rest.get('projects/{project name}')
但这给了我项目信息,但我想要更改。
我想要这样的东西
changes = rest.get('projects/{project name}/branch/{branchname}/startdate/{startdate}/enddate/{enddate}')
请帮帮我。
【问题讨论】: