[zypp-devel] Delta RPMs are back
Hi, the delta rpms now work again, we can start generate (test) repos containing them. There are some differences compared to old implementation: - new metadata format (yum-presto, deltainfo.xml) (where to document this?) - delta and package buildtime attributes are dropped, as well as the target package checksum (we never used them) - Delta from _any_ repository can now be applied (repository of origin is now stored in delta created using Repository and sat-extra Id). If we don't want this, or if we want to make it subject to some policy, let me know. - only deltas matching target package names are now fetched into DeltaCandidates list, so some memory/speed will be saved. - the current code is ugly (PackageDelta.cc), so i will beautify it a bit. I would definitely like to reuse LookupAttr code (the as{FooType}() methods at least). I'm just not sure whether to do it now, or post 11.0. cheers, jano ------------------------------------------------------------------------ $ zypper in kile Reading installed packages... The following package is going to be upgraded: kile Overall download size: 4.6 M. No additional space will be used or freed after the operation. Continue? [YES/no]: Downloading package kile-2.0.1rc1-13.x86_64, 4.6 M (11.2 M unpacked) Downloading delta: ./DRPMS/kile-2.0.1rc1-10_2.0.1rc1-13.x86_64.drpm, 170.8 K Downloading: kile-2.0.1rc1-10_2.0.1rc1-13.x86_64.drpm [done] Applying delta: ./kile-2.0.1rc1-10_2.0.1rc1-13.x86_64.drpm [done] Installing: kile-2.0.1rc1-13 [done] $ rpm -q kile kile-2.0.1rc1-13 -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (1)
-
Jan Kupec