arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.00424cs.SE
收藏

跨空间与时间的构建环境可复现性

Reproducibility of Build Environments through Space and Time

Julien Malka, Stefano Zacchiroli, Théo Zimmermann

AI总结:

针对软件依赖增多导致构建环境难复现的问题,本研究提出函数式包管理器可实现跨时空的构建环境复现,实验验证了其可复现约700万Nix包,对6年前的Nixpkgs修订版中1.4万包的重建成功率达99.94%。

摘要:

现代软件工程建立在软件组件的可组合性之上,这些组件依赖越来越多的直接和传递依赖来构建其功能。然而,这种可复用性原则使得项目构建环境的复现变得更加困难,尽管构建环境的可复现性对于协作、维护和组件生命周期至关重要。在本研究中,我们提出函数式包管理器提供了能让构建环境在空间和时间上均可复现的工具,并开展了初步评估以验证这一主张。利用历史数据,我们表明能够复现约700万个Nix包的构建环境,并且对于一个有6年历史的Nixpkgs修订版中的1.4万个包,重建成功率达99.94%。

英文摘要:

Modern software engineering builds up on the composability of software components, that rely on more and more direct and transitive dependencies to build their functionalities. This principle of reusability however makes it harder to reproduce projects' build environments, even though reproducibility of build environments is essential for collaboration, maintenance and component lifetime. In this work, we argue that functional package managers provide the tooling to make build environments reproducible in space and time, and we produce a preliminary evaluation to justify this claim. Using historical data, we show that we are able to reproduce build environments of about 7 million Nix packages, and to rebuild 99.94% of the 14 thousand packages from a 6-year-old Nixpkgs revision.

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

↑