fix some typos

This commit is contained in:
whystar 2020-09-23 13:14:34 +08:00
parent b4c7cc2a3d
commit 6a8ef93863
1 changed files with 3 additions and 3 deletions

View File

@ -3,13 +3,13 @@
### English description of the fields in ``pullreq.sql``
- `repo_slug`: The slug of the project (`user_name/repository_name`), which can compose the homepage URL of the project with a heading string `https://github.com/`.
- `pr_num`: The tracking number of the pull-request.
- `pr_info`: A Json object obtained via GitHub API, which contains the basic information of the pull-request. The commonly used attributes can be directly parsed from this object, *e.g.*, one can get the pull-request title by calling `json_obj["title"]`. More information demanded in specific context can be requested from the hyperlink value of the corresponding field, *e.g.*,
one can get the review comments of a pull-request from `json[review_comments_url]`.
- `pr_info`: A Json object obtained via GitHub API, which contains the basic information of pull-request. The commonly used attributes can be directly parsed from this object, *e.g.*, one can get the pull-request title by calling `json_obj["title"]`. More information demanded in specific context can be requested from the hyperlink value of the corresponding field, *e.g.*,
one can get the review comments of a pull-request from `json["review_comments_url"]`.
### 文件``pullreq.sql``中字段的中文描述:
- `repo_slug`: pull-request所属项目的标识`用户名/仓库名`)。
- `pr_num`: pull-request在项目追踪系统中的编号。
- `pr_info`: 这是使用GitHub API采集获得的json对象包含了pull-request的基本信息。一些常用的信息可以直接从该对象解析例如ppull-request 的标题可以通过`json_obj["title"]`获取。其它的信息需求可以通过字段所对应的链接进行二次采集,例如可以通过`json[review_comments_url]`获取pull request的审查评论。
- `pr_info`: 这是使用GitHub API采集获得的json对象包含了pull-request的基本信息。一些常用的信息可以直接从该对象解析例如ppull-request 的标题可以通过`json_obj["title"]`获取。其它的信息需求可以通过字段所对应的链接进行二次采集,例如可以通过`json["review_comments_url"]`获取pull request的审查评论。