Am 19.09.18 um 22:01 schrieb Michael Ströder:
On 9/19/18 9:46 PM, Stefan Seyfried wrote:
Am 19.09.18 um 10:59 schrieb Bernhard M. Wiedemann:
nay, that is only about payload, but most drpms consist of >90% metadata (so not payload) and that is why they are so compressible. And even normal rpms have as much metadata (just the ratio is different).
How about "let's only store max. N lines of changelog in rpm metadata" (and just put the rest into the package in /usr/share/doc/packages/%name/old-rpm-changelog.txt)
The "right" N is probably hard to determine.
500 lines. Last 20 Changelog entries. Whatever. The kernel-default (and kernel-source,...) all have changelog since 2009. Would also help with the ridiculously big RPM database: seife@strolchi:~> du -sh /usr/lib/sysimage/rpm/ 149M /usr/lib/sysimage/rpm/ seife@strolchi:~> du -sb /usr/lib/sysimage/rpm/ 155553792 /usr/lib/sysimage/rpm/ seife@strolchi:~> for i in `rpm -qa;do rpm -q --changes $i;done|wc -c 80379915 More than half of the RPM database is just changelogs. ...and it would improve the ridiculously bloated repository metadata that needs to be downloaded, even though these are at least compressed. IMNSHO this would be a huge gain with relatively little effort: just enhance format_spec service to trim & archive %{name}.changes ;-) Bonus: this would make format_spec do at least one useful thing ;-P Alternatively this could be done inside build.rpm, by /usr/lib/build/changelog2spec -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org