aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* simplify styleThierry Vignaud2013-02-031-2/+1
|
* (update_provides) clean unused variableThierry Vignaud2013-01-291-2/+0
|
* enhance docThierry Vignaud2013-01-291-0/+10
|
* fix docThierry Vignaud2013-01-291-1/+4
| | | | | (should have been done in commit r230048 by pixel on 2007-09-27: "handle promotion via obsolete, not only provides")
* (update_provides) document ->info caseThierry Vignaud2013-01-291-0/+2
|
* (rpmRunTransactions_callback) handle new RPMCALLBACK_INST_STOPThierry Vignaud2013-01-291-0/+2
| | | | (redundant with INST_CLOSE_FILE...)
* add support for callback_errorThierry Vignaud2013-01-293-2/+28
|
* remove wrong commentThierry Vignaud2013-01-291-1/+0
|
* bump copyrigh yearsThierry Vignaud2013-01-292-2/+2
|
* document callbacksThierry Vignaud2013-01-292-0/+29
|
* (parse_synthesis) document return valueThierry Vignaud2013-01-291-0/+3
|
* (return_list_tag) simplify/factorizeThierry Vignaud2013-01-291-11/+12
|
* (call_package_callback,rpmRunTransactions_callback) optimize: preextend ↵Thierry Vignaud2013-01-291-8/+10
| | | | stack if needed
* 4.234.23Thierry Vignaud2013-01-202-1/+3
|
* document traverse_db*() return valuesThierry Vignaud2013-01-201-0/+6
|
* (push_in_depslist) factorize common code for adding a package to {depslist}Thierry Vignaud2013-01-201-29/+18
|
* (stream2header,spec2srcheader) simplifyThierry Vignaud2013-01-201-10/+3
|
* (parse_line) make it more readableThierry Vignaud2013-01-201-3/+2
|
* (Urpm_stream2header) simplifyThierry Vignaud2013-01-201-2/+1
|
* (pack_header) separate the suggests & requires casesThierry Vignaud2013-01-201-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 lengthThierry Vignaud2013-01-201-6/+2
|
* (parse_line) simplifyThierry Vignaud2013-01-201-13/+18
|
* add commentsThierry Vignaud2013-01-201-0/+2
|
* (_is_selected_or_installed ) fix scoring locale packagesThierry Vignaud2013-01-202-1/+3
| | | | revert part of commit r5052 (June 28 2012, "light speedups")
* typo fixThierry Vignaud2012-12-171-1/+1
|
* 4.224.22Thierry Vignaud2012-12-172-1/+3
|
* prevent creating empty transactions in rare casesThierry Vignaud2012-12-172-1/+3
| | | | (that cause rpm to abort on assert while creating a new pool)
* enhanced logThierry Vignaud2012-12-171-1/+2
|
* RPMFILE_EXCLUDE & RPMFILE_UNPATCHED were drop from external API in rpm-4.11Thierry Vignaud2012-12-172-3/+2
| | | | | RPMFILE_UNPATCHED is no more used and RPMFILE_EXCLUDE only exists during spec parse (see rpm commit 8d277bbb)
* 4.21.14.21.1Thierry Vignaud2012-12-072-1/+3
|
* (EVR) fix it on packages from rpmdb (was ok on synthesis ones) (mga#7739)Thierry Vignaud2012-12-072-2/+7
|
* 4.214.21Thierry Vignaud2012-12-042-1/+3
|
* (find_required_package) previous commit enables us to not reinvent ↵Thierry Vignaud2012-12-041-3/+2
| | | | packages_providing()
* (packages_providing) sort package ids before returning themThierry Vignaud2012-12-042-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 Vignaud2012-12-041-1/+1
|
* 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)