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.
An Empirical Comparison of Dependency Network Evolution in Seven Software Packaging Ecosystems
几乎每一种流行的程序设计语言都带有一个或多个包管理器。由这样的包管理器分发的软件包形成大的软件生态系统。这些打包生态系统包含大量定期更新的包版本,并且与其他包版本有许多依赖关系。虽然打包生态系统对各自的开发人员社区非常有用,但它们面临着与规模、复杂性和进化速度相关的挑战。典型的问题是向后不兼容的软件包更新,以及依赖于已经过时或不活动的软件包的风险。本文使用libraries.io数据集对七个不同规模和年龄的包装生态系统的包依赖网络演变之间的相似性和差异性进行了定量实证分析:Cargo for Rust,CPAN for Perl,CRAN for R,npm for JavaScript,NuGet for.NET平台,Packagist for PHP和RubyGems for Ruby。我们提出了新的指标来捕捉这些依赖网络的增长,易变性,可恢复性和脆弱性,并使用这些指标来分析和比较它们的演变。我们观察到,依赖网络往往会随着时间的推移而增长,无论是在大小和软件包更新的数量,而少数软件包负责大部分的软件包更新。大多数软件包依赖于其他软件包,但只有一小部分软件包占大多数反向依赖。我们观察到一个高比例的脆弱的软件包,由于高和越来越多的传递依赖。这些发现有助于评估软件包依赖网络的质量,并通过依赖管理工具和强加的政策来改善它。
SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgrades
The Chinese University of Hong Kong(香港中文大学);Independent(独立);ELLIS;Technical University of Darmstadt(达姆施塔特技术大学);Johns Hopkins University(约翰霍普金斯大学);Monash University(墨尔本大学)
The Stackage Repository: An Exploratory Study of its Evolution
Escuela de Ingeniería, Universidad Católica del Norte, Chile(北天主教学工工程学院);Pragmatics Lab(语用学实验室);Systems and Computing Engineering Department, Universidad de los Andes, Colombia(安第斯大学系统计算工程系)
Debian可能是最大的自由软件发行版,在最新的稳定版本(Debian 3.0)中有超过4,500个源软件包,在目前正在准备的版本中有超过8,000个源软件包。然而,我们想知道这些数字意味着什么。在本文中,我们使用David A. Wheeler的SLOCCount系统,用于确定Debian 3.0(又名woody)的物理源代码行(SLOCCount)的数量。我们发现Debian 3.0包含了超过105,000,000个物理内存。(几乎是8个月后发布的Red Hat 9的两倍),这表明Debian开发模型(基于分布在世界各地的一大群志愿开发人员的工作)至少和其他开发方法一样有能力(像红帽或微软使用的基于员工工作的更集中的版本)来管理这种规模的发行版。如果Debian使用传统的专有方法开发,COCOMO模型估计开发Debian 3.0的成本将接近61亿美元。此外,我们还提供了对发行版中使用的程序设计语言的分析(C约占65%,C++约占12%,Shell约占8%,LISP约占4%,还有许多其他语言),以及最大的软件包(Linux内核,Mozilla,XFree86,PM3等)。