search for: best_name

Displaying 3 results from an estimated 3 matches for "best_name".

Did you mean: test_name
2015 Oct 13
6
[PATCH 0/4] rpm: Choose providers better (RHBZ#1266918).
Fix for https://bugzilla.redhat.com/show_bug.cgi?id=1266918
2015 Oct 13
0
[PATCH 4/4] rpm: Choose providers better (RHBZ#1266918).
..." " names); + let cmp name1 name2 = + let len1 = String.length name1 and len2 = String.length name2 in + if len1 <> len2 then compare len1 len2 + else compare name1 name2 in + let names = List.sort cmp names in + let best_name = List.hd names in + if !settings.debug >= 2 then + printf "supermin: rpm: multiple providers: picked %s\n" best_name; + Some best_name + with Not_found -> None let rpm_get_all_requires pkgs = let get pkg = @@ -226,20 +260,9 @@ let rpm_get_...
2015 Oct 13
1
[PATCH v2] rpm: Choose providers better (RHBZ#1266918).
This is v2 of the 4/4 patch from the original series. Changes: - memoize the function this time - check packages are installed using rpm_package_of_string However I didn't combine the two case together, because the code is a bit simpler with them separate. Rich.