RFE: Deduplicate data among binary packages produced by the same source package in the rpmdb #2829
Conan-Kudo
started this conversation in
Ideas
Replies: 2 comments
-
Wate of time. |
Beta Was this translation helpful? Give feedback.
0 replies
-
All that data is in the header, which you cannot split without breaking signatures and digests. Which you want to be able to verify even for installed packages too. As in, this is not solvable without fundamental redesign of the rpmdb. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With more and more packages, especially in the distributions that do library subpackaging by soname (such as openSUSE, Mageia, and OpenMandriva), there's a lot of data that comes from the source package that has duplicate entries in the rpmdb per binary package. The largest offender of this is the changelog data, but sometimes also license tags and a few other things wind up being the same.
A nice optimization for this would be to have a skeleton "source package" rpmdb entry with that data and put the common data there and have the binary package entries in the rpmdb link to that. This can lead to significant shrinkage of the rpmdb depending on distro policy on packaging.
Beta Was this translation helpful? Give feedback.
All reactions