aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
Commit message (Collapse)AuthorAgeFilesLines
* rename "suggests" method as "recommends_nosense"Thierry Vignaud2014-09-121-2/+2
| | | | | in order to reflect reality but keep a suggests alias for compatibility for the time being
* simplify after commit 307fdff9e12f783b01d0275d92c22b4cf7dd020fThierry Vignaud2014-05-141-3/+1
| | | | | | | | | | | its return value is now always () rationale: resolve_rejected() was wrong, since it blindly removes installed pkgs w/o trying to promote anything and @diff_provides can be nicely used to handle rejecting package one by one, then _handle_diff_provides() should do the right job. (spot by perl_checker)
* kill support for kernel-*source-strippedThierry Vignaud2014-05-121-7/+2
| | | | We don't have those since 2004 (10 years+)...
* kill useless "$Id: " linesThierry Vignaud2014-05-091-1/+0
| | | | they're obsolete since switching to git
* kill frenglishThierry Vignaud2014-05-091-2/+2
| | | | | present since commit 74c3cfe40e76d2cf047e7cbc57653298a460b658 (12 years ago...)
* typo fixThierry Vignaud2014-05-091-3/+3
|
* typo fixThierry Vignaud2014-05-071-1/+1
|
* fix warning in debug messageThierry Vignaud2013-12-161-1/+1
| | | | | | | 'Argument "19697|19..." isn't numeric in array element at ...URPM/Resolve.pm' introduced by pixel in commit 1d945d2a483598dc982cf73ae932d83d4e35df9 on Sep 7 2007 ("add some debug messages)
* enhance POD documentationThierry Vignaud2013-11-051-179/+548
|
* (listlength) get rid of itThierry Vignaud2013-11-051-5/+1
|
* (resolve_requested_suggests) small optimizationThierry Vignaud2013-11-051-1/+1
|
* adapt to perl-5.18 random hash keys orderingThierry Vignaud2013-10-031-3/+4
| | | | thus fixing urpmi testsuite...
* fix warning in debug messageThierry Vignaud2013-03-301-1/+1
| | | | | | | (Argument "19697|19719|19..." isn't numeric in array element at ...URPM/Resolve.pm' (introduced by pixel in commit r227273 on Sep 7 2007: "add some debug messages)
* fix selecting right DKMS flavor (mga#9172)Thierry Vignaud2013-03-231-1/+1
|
* add basic support for --downgrade (mga#6655)Thierry Vignaud2013-02-091-4/+4
| | | | | enabling eg to switching back to packages from core/release after having installed some from core/updates_testing, then disabling it
* (_is_selected_or_installed ) fix scoring locale packagesThierry Vignaud2013-01-201-1/+1
| | | | revert part of commit r5052 (June 28 2012, "light speedups")
* prevent creating empty transactions in rare casesThierry Vignaud2012-12-171-1/+1
| | | | (that cause rpm to abort on assert while creating a new pool)
* (find_required_package) previous commit enables us to not reinvent ↵Thierry Vignaud2012-12-041-3/+2
| | | | packages_providing()
* (get_installed_arch) silent a warning (mga#8287)Thierry Vignaud2012-12-041-1/+1
|
* further bump threshold for detecting looping foreverThierry Vignaud2012-11-211-1/+1
|
* workaround a segfault (mga#8158)Thierry Vignaud2012-11-211-2/+2
| | | | | | | | | calling ->provides or ->requires in traverse_tag_find() results in an invalid read if provides/requires list is big (or if called several times) basically reverting commit r6476 on 2012-11-16 ("(unsatisfied_requires) (slightly) optimize")
* bump threshold for detecting looping forever (mga#8106)Thierry Vignaud2012-11-191-1/+1
|
* (unsatisfied_requires) (slightly) optimizeThierry Vignaud2012-11-161-2/+2
|
* (resolve_requested__no_suggests_) prevent urpmi from looping forever when ↵Thierry Vignaud2012-11-161-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some packages are broken alternatively, we could try detecting if diff_provides doesn't change for a couple loops or not going over already rejected packages (selecting/promoting/rejecting the same package forever) eg: gtk+3.0-3.6.1-3.mga3.x86_64 is on the mirrors but not lib64gtk+3_0-3.6.1-3.mga3.x86_64 we will then loop forever: set_rejected: gtk+3.0-3.6.1-2.mga3.x86_64 installed lib64gtk+3_0-3.6.1-2.mga3.x86_64 is conflicting because of unsatisfied gtk+3.0[== 3.6.1-2.mga3] gtk+3.0[*][== 3.6.1-2.mga3] set_rejected: lib64gtk+3_0-3.6.1-2.mga3.x86_64 installed lib64gtk+3.0-devel-3.6.1-2.mga3.x86_64 is conflicting because of unsatisfied lib64gtk+3_0[== 3.6.1] set_rejected: lib64gtk+3.0-devel-3.6.1-2.mga3.x86_64 installed lib64gtk-gir3.0-3.6.1-2.mga3.x86_64 is conflicting because of unsatisfied lib64gtk+3_0[== 3.6.1-2.mga3] set_rejected: lib64gtk-gir3.0-3.6.1-2.mga3.x86_64 installed gtk+3.0-3.6.1-2.mga3.x86_64 is conflicting because of unsatisfied lib64gtk+3_0[== 3.6.1] promoting gtk+3.0-3.6.1-3.mga3.x86_64 because of conflict above unselecting gtk+3.0-3.6.1-3.mga3.x86_64 set_rejected: gtk+3.0-3.6.1-2.mga3.x86_64 (...)
* rename find_candidate_packages_() as find_candidate_packages()Thierry Vignaud2012-09-261-7/+7
|
* remove deprecated find_chosen_packages() & find_candidate_packages()Thierry Vignaud2012-09-261-16/+0
|
* (strict_arch_check,strict_arch_check_installed) simplifyThierry Vignaud2012-09-261-5/+8
|
* introduce any() from MDK::Common and resuse itThierry Vignaud2012-09-261-3/+8
|
* (_find_required_package__kmod) simplifyThierry Vignaud2012-09-261-1/+1
|
* (_handle_conflicts_with_selected) simplifyThierry Vignaud2012-09-261-1/+1
|
* (resolve_requested_suggests) micro-optimizationThierry Vignaud2012-09-171-1/+1
|
* (resolve_requested_suggests) split it out of resolve_requested()Thierry Vignaud2012-09-171-4/+11
|
* (compute_flags) drop compatibility with urpmi <= 4.5-13mdk (2004-07-09)Thierry Vignaud2012-08-101-1/+0
|
* light speedupsThierry Vignaud2012-06-281-3/+3
|
* (_selected_size_filesize) simplifyThierry Vignaud2012-06-221-5/+1
|
* minor style enhancementsThierry Vignaud2012-06-221-7/+3
|
* provides_overlap() defaults to direction=1Thierry Vignaud2012-06-181-2/+2
|
* (ranges_overlap,obsoletes_overlap) drop unused no_promote parameterThierry Vignaud2012-06-151-1/+1
| | | | | | | | rationale: it was never set to 0 for nearly a decade this should have been ripped rigth after commit r227323 by pixel on Sep 7 2007: "simplify: nopromoteepoch is always 1 (no caller ever define it)"
* Revert "(backtrack_selected) help perl_checker"Thierry Vignaud2012-03-191-1/+1
| | | | | This reverts commit 2873 from Feb 1 2012 (perl_checker has better fake packages now)
* (min) kill unused functionThierry Vignaud2012-03-161-1/+0
|
* (listlenght,uniq) enable perl_checker to see how many arguments are expectedThierry Vignaud2012-03-161-2/+10
|
* (find_required_package) perl_checker cleanupThierry Vignaud2012-03-161-1/+1
|
* (property2name,property2name_range,property2name_op_version) enable ↵Thierry Vignaud2012-03-161-3/+8
| | | | perl_checker to see how many arguments are expected
* (_find_packages_obsoleting) fix for a rare unreproductable crash (mga#4425)Thierry Vignaud2012-02-151-0/+1
|
* (find_required_package) really prefer packages from first media, thusThierry Vignaud2012-02-071-1/+1
| | | | fixing downloading noarch packages from 32 bit repository (mga#1603)
* (_selected_size_filesize) fix computing size of added/freed disk spaceThierry Vignaud2012-02-071-1/+5
| | | | | | when updating involves removing some packages (mga#4427) (bug introduced by fpons in r11176 on Jun 26 2003 ("0.91-7mdk"))
* (backtrack_selected) help perl_checkerThierry Vignaud2012-02-011-1/+1
|
* remove some perl_checker hints, better managed in fake packagesThierry Vignaud2012-01-301-1/+0
|
* support kernel 3.x in kmod resolutionOlivier Blin2012-01-151-2/+2
|
* reduce even more perl_checker SNR by also checking against URPM's perlThierry Vignaud2011-09-211-0/+1
| | | | methods instead of only the XS ones