arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.10887cs.SEcs.PL
收藏

Stackage仓库:对其演变的探索性研究

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(安第斯大学系统计算工程系)

Paul Leger, Felipe Ruiz, Nicolás Sepúlveda, Ismael Figueroa, Nicolás Cardozo

AI总结:

本文通过分析Stackage仓库22次发布中的51,716个软件包,探讨其演变过程,重点研究monad软件包的使用和依赖关系。

摘要:

背景。编程语言的软件包仓库日益增多。一个仓库可以记录其软件包的演变历程。在具有定义性特征monads的编程语言Haskell中,我们可以找到Stackage仓库,它是一个经过精心挑选的稳定Haskell软件包仓库,位于Hackage仓库中。尽管Stackage在工业目标中被广泛使用,但我们并不了解关于这个仓库如何演变的大量实证研究,包括monads的使用情况。目标。本文通过22次长期支持发布(2014-2023年期间)对Stackage的演变进行实证研究,考虑monad软件包。聚焦于五个研究问题,分析软件包及其依赖和导入;包括最常用的monad软件包。据我们所知,这是首次对Stackage仓库的演变进行大规模分析,涉及使用的软件包和monads。方法。我们定义了六个关于仓库演变的研究问题,并在51,716个软件包(17.05 GB)分布在22次发布上进行了分析。对于每个软件包,我们解析其cabal文件和源代码以提取数据,使用Pandas脚本分析其依赖和导入。结果。从方法论中我们得到了不同的发现。例如,存在依赖于其他软件包的软件包,其版本在特定Stackage发布中不可用,这可能引发稳定性问题。mtl和transformers在Stackage演变的各次发布中是最常用的前10个软件包。我们与Stackage维护者讨论了这些发现,这使我们能够细化研究问题。

英文摘要:

Context. Package repositories for a programming language are increasingly common. A repository can keep a register of the evolution of its packages. In the programming language Haskell, with its defining characteristic monads, we can find the Stackage repository, which is a curated repository for stable Haskell packages in the Hackage repository. Despite the widespread use of Stackage in its industrial target, we are not aware of much empirical research about how this repository has evolved, including the use of monads. Objective. This paper conducts empirical research about the evolution of Stackage considering monad packages through 22 Long-Term Support releases during the period 2014-2023. Focusing on five research questions, this evolution is analyzed in terms of packages with their dependencies and imports; including the most used monad packages. To the best of our knowledge, this is the first large-scale analysis of the evolution of the Stackage repository regarding packages used and monads. Method. We define six research questions regarding the repository's evolution, and analyze them on 51,716 packages (17.05 GB) spread over 22 releases. For each package, we parse its cabal file and source code to extract the data, which is analyzed in terms of dependencies and imports using Pandas scripts. Results. From the methodology we get different findings. For example, there are packages that depend on other packages whose versions are not available in a particular release of Stackage; opening a potential stability issue. The mtl and transformers are on the top 10 packages most used/imported across releases of the Stackage evolution. We discussed these findings with Stackage maintainers, which allowed us to refine the research questions.

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

↑