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

迷失在零空间--软件包发行版中0.y.z版本的经验比较

Lost in Zero Space -- An Empirical Comparison of 0.y.z Releases in Software Package Distributions

Alexandre Decan, Tom Mens

摘要:

专用于特定程序设计语言的开放源码软件包的分发通过允许软件项目依赖于这种可重用软件包所提供的功能来促进软件开发。软件项目的健康状况可能会受到它所依赖的软件包的成熟度的影响。所使用的软件包版本号提供了其成熟度的指示。带有0.y.z版本号的软件包通常被认为处于初始开发阶段,这表明它们可能不太稳定,并且依赖于它们可能被认为是不太健康的。在本文中,我们实证研究了四个开源软件包发行版(Cargo,npm,Packagist和RubyGems)在何种程度上0.y.z软件包发行版和>=1.0.0软件包发行版的行为不同。我们量化了0.y.z版本的流行程度,我们探索了软件包在初始开发阶段的持续时间,我们比较了0.y.z和>=1.0.0软件包版本的更新频率,我们研究了其他软件包需要0.y.z版本的频率,我们评估了语义版本是否尊重对它们的依赖,我们比较了托管在GitHub上的0.y.z和>=1.0.0包存储库的一些特征。除此之外,我们观察到包发行版比语义版本控制对0.y.z版本的要求更宽松,并且许多0.y.z版本实际上可以被视为成熟的包。因此,版本号并不能很好地指示软件包发布的成熟度。

英文摘要:

Distributions of open source software packages dedicated to specific programming languages facilitate software development by allowing software projects to depend on the functionality provided by such reusable packages. The health of a software project can be affected by the maturity of the packages on which it depends. The version numbers of the used package releases provide an indication of their maturity. Packages with a 0.y.z version number are commonly assumed to be under initial development, suggesting that they are likely to be less stable, and depending on them may be considered as less healthy. In this paper, we empirically study, for four open source package distributions (Cargo, npm, Packagist and RubyGems) to which extent 0.y.z package releases and >=1.0.0 package releases behave differently. We quantify the prevalence of 0.y.z releases, we explore how long packages remain in the initial development stage, we compare the update frequency of 0.y.z and >=1.0.0 package releases, we study how often 0.y.z releases are required by other packages, we assess whether semantic versioning is respected for dependencies towards them, and we compare some characteristics of 0.y.z and >=1.0.0 package repositories hosted on GitHub. Among others, we observe that package distributions are more permissive than what semantic versioning dictates for 0.y.z releases, and that many of the 0.y.z releases can actually be regarded as mature packages. As a consequence, the version number does not provide a good indication of the maturity of a package release.

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

↑