Why and how developers fork what from whom in GitHub
详细信息    查看全文
  • 作者:Jing Jiang ; David Lo ; Jiahuan He ; Xin Xia…
  • 关键词:Fork ; Open source software ; GitHub
  • 刊名:Empirical Software Engineering
  • 出版年:2017
  • 出版时间:February 2017
  • 年:2017
  • 卷:22
  • 期:1
  • 页码:547-578
  • 全文大小:
  • 刊物类别:Computer Science
  • 刊物主题:Software Engineering/Programming and Operating Systems; Programming Languages, Compilers, Interpreters;
  • 出版者:Springer US
  • ISSN:1573-7616
  • 卷排序:22
文摘
Forking is the creation of a new software repository by copying another repository. Though forking is controversial in traditional open source software (OSS) community, it is encouraged and is a built-in feature in GitHub. Developers freely fork repositories, use codes as their own and make changes. A deep understanding of repository forking can provide important insights for OSS community and GitHub. In this paper, we explore why and how developers fork what from whom in GitHub. We collect a dataset containing 236,344 developers and 1,841,324 forks. We make surveys, and analyze programming languages and owners of forked repositories. Our main observations are: (1) Developers fork repositories to submit pull requests, fix bugs, add new features and keep copies etc. Developers find repositories to fork from various sources: search engines, external sites (e.g., Twitter, Reddit), social relationships, etc. More than 42 % of developers that we have surveyed agree that an automated recommendation tool is useful to help them pick repositories to fork, while more than 44.4 % of developers do not value a recommendation tool. Developers care about repository owners when they fork repositories. (2) A repository written in a developer’s preferred programming language is more likely to be forked. (3) Developers mostly fork repositories from creators. In comparison with unattractive repository owners, attractive repository owners have higher percentage of organizations, more followers and earlier registration in GitHub. Our results show that forking is mainly used for making contributions of original repositories, and it is beneficial for OSS community. Moreover, our results show the value of recommendation and provide important insights for GitHub to recommend repositories.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700