DupPRDataset/pullreq_info
whystar 8c4666d3bd init commit 2020-09-23 12:13:07 +08:00
..
pullreq.sql init commit 2020-09-23 12:13:07 +08:00
readme.md init commit 2020-09-23 12:13:07 +08:00

readme.md

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].

文件pullreq.sql中字段的中文描述:

  • repo_slug: pull request所属项目的标识用户名/仓库名)。
  • pr_num: pull request在项目追踪系统中的编号。
  • pr_info: 这是使用GitHub API采集获得的json对象包含了pull request的基本信息。一些常用的信息可以直接从该对象解析例如pull request 的标题可以通过json_obj["title"]获取。其它的信息需求可以通过字段所对应的链接进行二次采集,例如可以通过json[review_comments_url]获取pull request的审查评论。