Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | (call_package_callback,rpmRunTransactions_callback) optimize: preextend ↵ | Thierry Vignaud | 2013-01-29 | 1 | -8/+10 | |
| | | | | stack if needed | |||||
* | 4.234.23 | Thierry Vignaud | 2013-01-20 | 2 | -1/+3 | |
| | ||||||
* | document traverse_db*() return values | Thierry Vignaud | 2013-01-20 | 1 | -0/+6 | |
| | ||||||
* | (push_in_depslist) factorize common code for adding a package to {depslist} | Thierry Vignaud | 2013-01-20 | 1 | -29/+18 | |
| | ||||||
* | (stream2header,spec2srcheader) simplify | Thierry Vignaud | 2013-01-20 | 1 | -10/+3 | |
| | ||||||
* | (parse_line) make it more readable | Thierry Vignaud | 2013-01-20 | 1 | -3/+2 | |
| | ||||||
* | (Urpm_stream2header) simplify | Thierry Vignaud | 2013-01-20 | 1 | -2/+1 | |
| | ||||||
* | (pack_header) separate the suggests & requires cases | Thierry Vignaud | 2013-01-20 | 1 | -2/+2 | |
| | | | | | the doble test was needed in mdv2008.0 due to suggests being implemented as requires | |||||
* | (update_provides_files) simplify: let callee compute the length | Thierry Vignaud | 2013-01-20 | 1 | -6/+2 | |
| | ||||||
* | (parse_line) simplify | Thierry Vignaud | 2013-01-20 | 1 | -13/+18 | |
| | ||||||
* | add comments | Thierry Vignaud | 2013-01-20 | 1 | -0/+2 | |
| | ||||||
* | (_is_selected_or_installed ) fix scoring locale packages | Thierry Vignaud | 2013-01-20 | 2 | -1/+3 | |
| | | | | revert part of commit r5052 (June 28 2012, "light speedups") | |||||
* | typo fix | Thierry Vignaud | 2012-12-17 | 1 | -1/+1 | |
| | ||||||
* | 4.224.22 | Thierry Vignaud | 2012-12-17 | 2 | -1/+3 | |
| | ||||||
* | prevent creating empty transactions in rare cases | Thierry Vignaud | 2012-12-17 | 2 | -1/+3 | |
| | | | | (that cause rpm to abort on assert while creating a new pool) | |||||
* | enhanced log | Thierry Vignaud | 2012-12-17 | 1 | -1/+2 | |
| | ||||||
* | RPMFILE_EXCLUDE & RPMFILE_UNPATCHED were drop from external API in rpm-4.11 | Thierry Vignaud | 2012-12-17 | 2 | -3/+2 | |
| | | | | | RPMFILE_UNPATCHED is no more used and RPMFILE_EXCLUDE only exists during spec parse (see rpm commit 8d277bbb) | |||||
* | 4.21.14.21.1 | Thierry Vignaud | 2012-12-07 | 2 | -1/+3 | |
| | ||||||
* | (EVR) fix it on packages from rpmdb (was ok on synthesis ones) (mga#7739) | Thierry Vignaud | 2012-12-07 | 2 | -2/+7 | |
| | ||||||
* | 4.214.21 | Thierry Vignaud | 2012-12-04 | 2 | -1/+3 | |
| | ||||||
* | (find_required_package) previous commit enables us to not reinvent ↵ | Thierry Vignaud | 2012-12-04 | 1 | -3/+2 | |
| | | | | packages_providing() | |||||
* | (packages_providing) sort package ids before returning them | Thierry Vignaud | 2012-12-04 | 2 | -1/+4 | |
| | | | | | | | | | this mean prefering package from first medium when same NEVR exists in several media, thus prefering 64bit media over 32 bit ones (mga#7524) complement commit r2909 on Feb 7 2012: " (find_required_package) really prefer packages from first media, thus fixing downloading noarch packages from 32 bit repository (mga#1603)" | |||||
* | (get_installed_arch) silent a warning (mga#8287) | Thierry Vignaud | 2012-12-04 | 1 | -1/+1 | |
| | ||||||
* | 4.204.20 | Thierry Vignaud | 2012-12-03 | 2 | -1/+3 | |
| | ||||||
* | (Db_traverse_tag_find) fix a rare segfault | Thierry Vignaud | 2012-12-03 | 2 | -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 commit | Thierry Vignaud | 2012-12-03 | 1 | -1/+1 | |
| | ||||||
* | 4.184.19 | Thierry Vignaud | 2012-12-02 | 2 | -1/+3 | |
| | ||||||
* | (Pkg_description, Pkg_sourcerpm) split UTF-8 strings from raw strings | Thierry Vignaud | 2012-12-02 | 1 | -23/+31 | |
| | | | | functions, then simplify | |||||
* | drop ->disttag (unused, was introduced by pok just before the fork) | Thierry Vignaud | 2012-12-02 | 2 | -3/+1 | |
| | ||||||
* | (update_provide_entry) kill it | Thierry Vignaud | 2012-11-29 | 1 | -11/+6 | |
| | ||||||
* | Mageia copyright | Thierry Vignaud | 2012-11-29 | 1 | -0/+1 | |
| | ||||||
* | typo fix | Thierry Vignaud | 2012-11-29 | 1 | -1/+1 | |
| | ||||||
* | syntax fix (Guillaume Rousse) | Thierry Vignaud | 2012-11-25 | 1 | -0/+4 | |
| | ||||||
* | make clear those functions are not related to macros | Thierry Vignaud | 2012-11-22 | 1 | -0/+2 | |
| | ||||||
* | (Pkg_suggests) alias it on *_nonsense | Thierry Vignaud | 2012-11-21 | 2 | -8/+4 | |
| | | | | (it should have been named suggests_nosense in the first place, bad pixel...) | |||||
* | alias obsoletes/provides/requires | Thierry Vignaud | 2012-11-21 | 1 | -29/+13 | |
| | ||||||
* | (requires_nosense) alias it to other *_nosense() functions | Thierry Vignaud | 2012-11-21 | 1 | -9/+2 | |
| | ||||||
* | (Pkg_requires_nosense) stop passing RPMTAG_REQUIREFLAGS | Thierry Vignaud | 2012-11-21 | 1 | -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.18 | Thierry Vignaud | 2012-11-21 | 2 | -1/+3 | |
| | ||||||
* | further bump threshold for detecting looping forever | Thierry Vignaud | 2012-11-21 | 2 | -1/+2 | |
| | ||||||
* | workaround a segfault (mga#8158) | Thierry Vignaud | 2012-11-21 | 2 | -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 Vignaud | 2012-11-21 | 1 | -17/+2 | |
| | | | | callback_list_str_xpush() | |||||
* | 4.174.17 | Thierry Vignaud | 2012-11-19 | 2 | -1/+3 | |
| | ||||||
* | bump threshold for detecting looping forever (mga#8106) | Thierry Vignaud | 2012-11-19 | 2 | -1/+2 | |
| | ||||||
* | drop header_filename (long obsolete, no more use) | Thierry Vignaud | 2012-11-19 | 2 | -21/+2 | |
| | ||||||
* | 4.164.16 | Thierry Vignaud | 2012-11-16 | 2 | -1/+3 | |
| | ||||||
* | (unsatisfied_requires) (slightly) optimize | Thierry Vignaud | 2012-11-16 | 1 | -2/+2 | |
| | ||||||
* | (resolve_requested__no_suggests_) prevent urpmi from looping forever when ↵ | Thierry Vignaud | 2012-11-16 | 2 | -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' signifiance | Thierry Vignaud | 2012-11-01 | 1 | -0/+15 | |
| | ||||||
* | rename FLAG_RATE as FLAG_RATE_MASK as it really is a mask | Thierry Vignaud | 2012-11-01 | 1 | -4/+4 | |
| |