14 Feb
2008
14 Feb
'08
12:04
Hi! Could you, please, review the attached patch for libzypp? It implements the feature to keep the downloaded packages on disk cache and it's able to reuse existing cached files. The patch applies cleanly against trunk, almost applies against jump_sat ;-) The downloaded packages are stored (by default at) /var/cache/zypp/packages/<alias>/<arch>/<package>.rpm Keep packages behavior is enabled/disabled by repository. Add 'keeppackages=1' to .repo file. The configuration: zypp.conf ========= Added 'packagesdir' option to zypp.conf to re-define a prefix to keep the downloaded packages. Default is '/var/cache/zypp/packages' a.repo ===== Added 'keeppackages' option to .repo parser. Set to 1 to keep the packages. Stano