arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.03764cs.SE
收藏

Backports:变更类型、挑战和策略

Backports: Change Types, Challenges and Strategies

Debasish Chakroborti, Kevin A. Schneider, Chanchal K. Roy

摘要:

源代码存储库允许开发人员管理软件系统的多个版本(或分支)。拉取请求用于修改一个分支,反向移植是一个常规的活动,用于将当前开发分支的更改移植到其他版本。在开源软件中,backports很常见,通常需要手动调整,这促使我们探索backports和backports的挑战和策略。在我们对来自10个GitHub项目的68,424个backports的探索中,我们发现bug,测试,文档和功能更改通常都是backports。我们确定了一些backporting挑战,包括backports与其原始pull请求的链接不一致(49%),backports具有不兼容的代码(13%),backports无法被接受(10%),以及存在backporting延迟(创建16天,合并5天)。我们确定了一些解决后向移植问题的一般策略。我们还注意到,反向移植策略取决于项目类型,需要进一步调查以确定其适用性。此外,我们创建了有史以来第一个backports数据集,可供其他研究人员和从业人员用于研究backports和backports。

英文摘要:

Source code repositories allow developers to manage multiple versions (or branches) of a software system. Pull-requests are used to modify a branch, and backporting is a regular activity used to port changes from a current development branch to other versions. In open-source software, backports are common and often need to be adapted by hand, which motivates us to explore backports and backporting challenges and strategies. In our exploration of 68,424 backports from 10 GitHub projects, we found that bug, test, document, and feature changes are commonly backported. We identified a number of backporting challenges, including that backports were inconsistently linked to their original pull-request (49%), that backports had incompatible code (13%), that backports failed to be accepted (10%), and that there were backporting delays (16 days to create, 5 days to merge). We identified some general strategies for addressing backporting issues. We also noted that backporting strategies depend on the project type and that further investigation is needed to determine their suitability. Furthermore, we created the first-ever backports dataset that can be used by other researchers and practitioners for investigating backports and backporting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑