BitBucket API 2.0 - 在拉取请求中获取特定文件的差异
BitBucket API 2.0 - GET diff of specific file in a pull request
我正在尝试根据静态代码分析自动执行对拉取请求发表评论的任务。
https://bitbucket.org/api/2.0/repositories/{owner}/{repo_slug}/pullrequests/{id}/diff
因任何大于琐碎拉取请求的超时而失败。
有没有办法在拉取请求中获取特定文件的差异(我有文件列表)?它在某种程度上更有效,因为并非所有文件都必须评论。
No, it is not currently possible to narrow down a pull request diff to a subset of the files. However, I do think that that would be a useful feature and so I'll raise an internal issue to get that added.
Aside from that, we should not time out on normal diffs and so I'm keen to have a closer look at some of the pull requests that are timing out for you. If you cannot share those here because they are in private repos, could you email me some at erik@atlassian.com?
我正在尝试根据静态代码分析自动执行对拉取请求发表评论的任务。
https://bitbucket.org/api/2.0/repositories/{owner}/{repo_slug}/pullrequests/{id}/diff
因任何大于琐碎拉取请求的超时而失败。
有没有办法在拉取请求中获取特定文件的差异(我有文件列表)?它在某种程度上更有效,因为并非所有文件都必须评论。
No, it is not currently possible to narrow down a pull request diff to a subset of the files. However, I do think that that would be a useful feature and so I'll raise an internal issue to get that added.
Aside from that, we should not time out on normal diffs and so I'm keen to have a closer look at some of the pull requests that are timing out for you. If you cannot share those here because they are in private repos, could you email me some at erik@atlassian.com?