🤖 AI Summary
The explosive growth of third-party packages in Linux distributions poses significant package management challenges. Method: This paper presents the first empirical study on the Package-to-Group (P2G) mechanism, leveraging large-scale data mining across 11,746 groups, 193,548 packages, and 89 distribution versions, complemented by cross-distribution comparative analysis and practitioner surveys. Contribution/Results: We propose a P2G research framework, define GValue—a quantitative metric for group quality—and identify six evolutionary patterns, including the counterintuitive finding that ungrouped packages are more prone to stagnation. We further categorize five package types highly likely to undergo P2G. Results show accelerating P2G adoption across mainstream distributions, yet widespread quality issues persist—particularly missing group descriptions and excessively small group sizes. Our findings yield actionable, community-oriented governance recommendations and practical guidelines for sustainable package grouping.
📝 Abstract
Reusing third-party software packages is a common practice in software development. As the scale and complexity of open-source software (OSS) projects continue to grow (e.g., Linux distributions), the number of reused third-party packages has significantly increased. Therefore, maintaining effective package management is critical for developing and evolving OSS projects. To achieve this, a package-to-group mechanism (P2G) is employed to enable unified installation, uninstallation, and updates of multiple packages at once. To better understand this mechanism, this paper takes Linux distributions as a case study and presents an empirical study focusing on its application trends, evolutionary patterns, group quality, and developer tendencies. By analyzing 11,746 groups and 193,548 packages from 89 versions of 5 popular Linux distributions and conducting questionnaire surveys with Linux practitioners and researchers, we derive several key insights. Our findings show that P2G is increasingly being adopted, particularly in popular Linux distributions. P2G follows six evolutionary patterns (eg splitting and merging groups). Interestingly, packages no longer managed through P2G are more likely to remain in Linux distributions rather than being directly removed. To assess the effectiveness of P2G, we propose a metric called {sc GValue} to evaluate the quality of groups and identify issues such as inadequate group descriptions and insufficient group sizes. We also summarize five types of packages that tend to adopt P2G, including graphical desktops, networks, etc. To the best of our knowledge, this is the first study focusing on the P2G mechanisms. We expect our study can assist in the efficient management of packages and reduce the burden on practitioners in rapidly growing Linux distributions and other open-source software projects.