diff options
author | Pascal Terjan <pterjan@gmail.com> | 2015-07-08 22:07:42 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2015-07-08 22:08:30 +0000 |
commit | da3dbe3ff24daa1df99e50717d48f0cd49037af5 (patch) | |
tree | 06fa6bc4b1f3fbf98f5daef6fe8e78af7613e5c0 | |
parent | bf053090d3000ec6aac6630d250188152c68c268 (diff) | |
download | rpmtools-da3dbe3ff24daa1df99e50717d48f0cd49037af5.tar rpmtools-da3dbe3ff24daa1df99e50717d48f0cd49037af5.tar.gz rpmtools-da3dbe3ff24daa1df99e50717d48f0cd49037af5.tar.bz2 rpmtools-da3dbe3ff24daa1df99e50717d48f0cd49037af5.tar.xz rpmtools-da3dbe3ff24daa1df99e50717d48f0cd49037af5.zip |
Do not load file sizes from synthesis in non incremental mode
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | genhdlist2 | 9 |
2 files changed, 8 insertions, 4 deletions
@@ -1,3 +1,6 @@ +- do not load file sizes from synthesis in non incremental mode (minor + performance optimisation) + Version 7.00 - 7 September 2014, by Thierry Vignaud - synthesis format change: @@ -197,12 +197,13 @@ sub build { map { $_ => open_xml_filter("$media_info_dir/$_.xml${xml_info_suffix}.tmp", $xml_info_filter) } @$xml_media_info }; - # keep real filesizes from synthesis since hdlist no more have filesizes since 2008 - # else URPM will put a bogus estimation: - my $sizes = get_filesize_from_synthesis($urpm, $rpms_todo, $synthesis); - if (-e $hdlist && !$b_no_incremental) { print "filtering $hdlist into hdlist.cz.tmp\n" if $verbose >= 0; + + # keep real filesizes from synthesis since hdlist no more have filesizes since 2008 + # else URPM will put a bogus estimation: + my $sizes = get_filesize_from_synthesis($urpm, $rpms_todo, $synthesis); + filter_existing_hdlist($urpm, $rpms_todo, $hdlist, $out, $sizes); } |