4

[2201.11821] An Empirical Study of Yanked Releases in the Rust Package Registry

 2 years ago
source link: https://arxiv.org/abs/2201.11821
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

[Submitted on 27 Jan 2022]

An Empirical Study of Yanked Releases in the Rust Package Registry

Download PDF

Cargo, the software packaging manager of Rust, provides a yank mechanism to support release-level deprecation, which can prevent packages from depending on yanked releases. Most prior studies focused on code-level (i.e., deprecated APIs) and package-level deprecation (i.e., deprecated packages). However, few studies have focused on release-level deprecation. In this study, we investigate how often and how the yank mechanism is used, the rationales behind its usage, and the adoption of yanked releases in the Cargo ecosystem. Our study shows that 9.6% of the packages in Cargo have at least one yanked release, and the proportion of yanked releases kept increasing from 2014 to 2020. Package owners yank releases for other reasons than withdrawing a defective release, such as fixing a release that does not follow semantic versioning or indicating a package is removed or replaced. In addition, we found that 46% of the packages directly adopted at least one yanked release and the yanked releases propagated through the dependency network, which leads to 1.4% of the releases in the ecosystem having unresolved dependencies.

Comments: 13 pages, 7 figures Subjects: Software Engineering (cs.SE) Cite as: arXiv:2201.11821 [cs.SE]   (or arXiv:2201.11821v1 [cs.SE] for this version)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK