Change Requests
Definition
Change Requests is a metric defined by CHAOSS, see CHAOSS Metrics - Change Requests for a detailed definition of this metric.
This is a metric where changes are proposed for discussion as "proposals for change to the source code" rather than being directly submitted to the code base, with each change request intended to be reviewed by other developers (or maintainers) who may suggest improvements, leading to new versions until reviews are positive and the code is accepted, or the proposal is declined. Change requests are a proxy for the activity in a project. But it should be noted that this metric is not the only one that should be used to track volume of coding activity.
In context to above, "change requests" correspond to "pull requests" in the case of GitHub, to "merge requests" in the case of GitLab, and to "code reviews" or in some contexts "changesets" in the case of Gerrit.
Data
Link: https://oss.open-digger.cn/{platform}/{owner}/{repo}/change_requests.json
To get the data for a certain repository, replace {platform}
, {owner}
and {repo}
with the actual name. Here is an example.
Code
Here's the implementation code.