aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 4.204.20Thierry Vignaud2012-12-032-1/+3
|
* (Db_traverse_tag_find) fix a rare segfaultThierry Vignaud2012-12-032-0/+4
| | | | | | | | | | | | | | | | | | | | | found accidently could be triggered by the following (calling enough times either requires() or provides() while traversing rpm db) which resulting in an "Invalid read of size 8": use URPM; my $db = URPM::DB::open()->traverse_tag_find('whatprovides', 'kernel', sub { my ($p) = @_; warn $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires; return 1; }); bug introduced in commit r4947 on June 14 2012: "(_run_cb_while_traversing) introduce this helper"
* fix previous commitThierry Vignaud2012-12-031-1/+1
|
* 4.184.19Thierry Vignaud2012-12-022-1/+3
|
* (Pkg_description, Pkg_sourcerpm) split UTF-8 strings from raw stringsThierry Vignaud2012-12-021-23/+31
| | | | functions, then simplify
* drop ->disttag (unused, was introduced by pok just before the fork)Thierry Vignaud2012-12-022-3/+1
|
* (update_provide_entry) kill itThierry Vignaud2012-11-291-11/+6
|
* Mageia copyrightThierry Vignaud2012-11-291-0/+1
|
* typo fixThierry Vignaud2012-11-291-1/+1
|
* syntax fix (Guillaume Rousse)Thierry Vignaud2012-11-251-0/+4
|
* make clear those functions are not related to macrosThierry Vignaud2012-11-221-0/+2
|
* (Pkg_suggests) alias it on *_nonsenseThierry Vignaud2012-11-212-8/+4
| | | | (it should have been named suggests_nosense in the first place, bad pixel...)
* alias obsoletes/provides/requiresThierry Vignaud2012-11-211-29/+13
|
* (requires_nosense) alias it to other *_nosense() functionsThierry Vignaud2012-11-211-9/+2
|
* (Pkg_requires_nosense) stop passing RPMTAG_REQUIREFLAGSThierry Vignaud2012-11-211-1/+1
| | | | | | | | | | | | | | | | rationale: it was passing RPMTAG_REQUIREFLAGS as flags instead of since commit r225637 from pixel on 2007-08-09 that added initial suggests support by that time, suggests were basically RPMTAG_REQUIRENAME + RPMSENSE_MISSINGOK. in mdv2008.1, they were re-implemented the SuSe way with RPMTAG_SUGGESTSNAME. since we no more support old mdv2008.0 suggests since commit r4974 on 2012-06-17 ("drop support for old mdv2008.0 suggests"), we no longer try to distinct requires from suggests by looking at tag flags so don't need to pass RPMTAG_REQUIREFLAGS anymore (needed for next commit)
* 4.184.18Thierry Vignaud2012-11-212-1/+3
|
* further bump threshold for detecting looping foreverThierry Vignaud2012-11-212-1/+2
|
* workaround a segfault (mga#8158)Thierry Vignaud2012-11-212-2/+4
| | | | | | | | | 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")
* (callback_list_str_xpush_requires) kill it since it's now identical to ↵Thierry Vignaud2012-11-211-17/+2
| | | | callback_list_str_xpush()
* 4.174.17Thierry Vignaud2012-11-192-1/+3
|
* bump threshold for detecting looping forever (mga#8106)Thierry Vignaud2012-11-192-1/+2
|
* drop header_filename (long obsolete, no more use)Thierry Vignaud2012-11-192-21/+2
|
* 4.164.16Thierry Vignaud2012-11-162-1/+3
|
* (unsatisfied_requires) (slightly) optimizeThierry Vignaud2012-11-161-2/+2
|
* (resolve_requested__no_suggests_) prevent urpmi from looping forever when ↵Thierry Vignaud2012-11-162-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (...)
* explain the 'flags' signifianceThierry Vignaud2012-11-011-0/+15
|
* rename FLAG_RATE as FLAG_RATE_MASK as it really is a maskThierry Vignaud2012-11-011-4/+4
|
* rename FLAG_ID as FLAG_ID_MASK as it really is a maskThierry Vignaud2012-11-011-8/+8
|
* (Pkg_id,Pkg_setid) simplify by having a temporary variableThierry Vignaud2012-11-011-4/+6
|
* applying similar styling to other callersThierry Vignaud2012-11-011-4/+2
|
* (Trans_traverse) style after previous commit (2/2)Thierry Vignaud2012-11-011-2/+1
|
* (Trans_traverse) simplify using _run_cb_while_traversing() (1/2)Thierry Vignaud2012-11-011-10/+1
|
* (_run_cb_while_traversing) enable to pass additional flagsThierry Vignaud2012-11-011-5/+5
| | | | | | (Db_traverse,Db_traverse_tag) discard callback results prior to introducing _run_cb_while_traversing() in commit r4947 on Jun 14 2012: "(_run_cb_while_traversing) introduce this helper"
* (Urpm_verify_rpm) simplifyThierry Vignaud2012-10-161-4/+1
|
* reduce the scope of some variables (thanks cppcheck)Thierry Vignaud2012-10-161-9/+7
|
* (unused_variable) kill unused functionThierry Vignaud2012-10-161-4/+0
|
* kill dead commentThierry Vignaud2012-10-161-1/+0
| | | | | (should have been dropped along commit r6166 on 2012-10-05: "(Trans_run) drop support for repackage (non working since rpm-4.6 in 2009)")
* 4.15.14.15.1Thierry Vignaud2012-10-112-1/+3
|
* adjust doc accordinglyThierry Vignaud2012-10-051-1/+0
|
* (Trans_run) drop support for repackage (non working since rpm-4.6 in 2009)Thierry Vignaud2012-10-052-8/+2
| | | | | | should have been done right after commit r251061 by pixel on Tue Jan 2009: "- drop urpmi.recover (no more possible with rpm 4.6 which doesn't handle --repackage)"
* let's have a link in docThierry Vignaud2012-09-271-1/+1
|
* 4.154.15Thierry Vignaud2012-09-272-1/+3
|
* rename find_candidate_packages_() as find_candidate_packages()Thierry Vignaud2012-09-262-7/+8
|
* remove deprecated find_chosen_packages() & find_candidate_packages()Thierry Vignaud2012-09-262-17/+3
|
* (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
|
* add EVR method for rpmdrakeThierry Vignaud2012-09-213-0/+34
|
* 4.144.14Thierry Vignaud2012-09-212-1/+3
|