Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove wrong comment | Thierry Vignaud | 2013-01-29 | 1 | -1/+0 |
| | |||||
* | bump copyrigh years | Thierry Vignaud | 2013-01-29 | 1 | -1/+1 |
| | |||||
* | (return_list_tag) simplify/factorize | Thierry Vignaud | 2013-01-29 | 1 | -11/+12 |
| | |||||
* | (call_package_callback,rpmRunTransactions_callback) optimize: preextend ↵ | Thierry Vignaud | 2013-01-29 | 1 | -8/+10 |
| | | | | stack if needed | ||||
* | (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 |
| | |||||
* | RPMFILE_EXCLUDE & RPMFILE_UNPATCHED were drop from external API in rpm-4.11 | Thierry Vignaud | 2012-12-17 | 1 | -3/+0 |
| | | | | | RPMFILE_UNPATCHED is no more used and RPMFILE_EXCLUDE only exists during spec parse (see rpm commit 8d277bbb) | ||||
* | (EVR) fix it on packages from rpmdb (was ok on synthesis ones) (mga#7739) | Thierry Vignaud | 2012-12-07 | 1 | -2/+5 |
| | |||||
* | (Db_traverse_tag_find) fix a rare segfault | Thierry Vignaud | 2012-12-03 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | 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" | ||||
* | (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 | 1 | -3/+0 |
| | |||||
* | (update_provide_entry) kill it | Thierry Vignaud | 2012-11-29 | 1 | -11/+6 |
| | |||||
* | Mageia copyright | Thierry Vignaud | 2012-11-29 | 1 | -0/+1 |
| | |||||
* | (Pkg_suggests) alias it on *_nonsense | Thierry Vignaud | 2012-11-21 | 1 | -8/+2 |
| | | | | (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) | ||||
* | (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() | ||||
* | drop header_filename (long obsolete, no more use) | Thierry Vignaud | 2012-11-19 | 1 | -21/+0 |
| | |||||
* | 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 |
| | |||||
* | rename FLAG_ID as FLAG_ID_MASK as it really is a mask | Thierry Vignaud | 2012-11-01 | 1 | -8/+8 |
| | |||||
* | (Pkg_id,Pkg_setid) simplify by having a temporary variable | Thierry Vignaud | 2012-11-01 | 1 | -4/+6 |
| | |||||
* | applying similar styling to other callers | Thierry Vignaud | 2012-11-01 | 1 | -4/+2 |
| | |||||
* | (Trans_traverse) style after previous commit (2/2) | Thierry Vignaud | 2012-11-01 | 1 | -2/+1 |
| | |||||
* | (Trans_traverse) simplify using _run_cb_while_traversing() (1/2) | Thierry Vignaud | 2012-11-01 | 1 | -10/+1 |
| | |||||
* | (_run_cb_while_traversing) enable to pass additional flags | Thierry Vignaud | 2012-11-01 | 1 | -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) simplify | Thierry Vignaud | 2012-10-16 | 1 | -4/+1 |
| | |||||
* | reduce the scope of some variables (thanks cppcheck) | Thierry Vignaud | 2012-10-16 | 1 | -9/+7 |
| | |||||
* | (unused_variable) kill unused function | Thierry Vignaud | 2012-10-16 | 1 | -4/+0 |
| | |||||
* | kill dead comment | Thierry Vignaud | 2012-10-16 | 1 | -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)") | ||||
* | (Trans_run) drop support for repackage (non working since rpm-4.6 in 2009) | Thierry Vignaud | 2012-10-05 | 1 | -8/+0 |
| | | | | | | 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)" | ||||
* | add EVR method for rpmdrake | Thierry Vignaud | 2012-09-21 | 1 | -0/+30 |
| | |||||
* | Add an alias to Pkg_files to only list doc files. | Pascal Terjan | 2012-08-23 | 1 | -2/+5 |
| | | | | This avoids pushing more than 50k strings on the stack to check if texmf has a README.urpmi | ||||
* | Don't read/write after the string when the synthesis is slightly malformed | Pascal Terjan | 2012-08-10 | 1 | -1/+1 |
| | |||||
* | Do not try to parse current pointer when the line is invalid or empty. | Pascal Terjan | 2012-08-10 | 1 | -1/+2 |
| | | | | This fixes a "Conditional jump or move depends on uninitialised value" during empty synthesis parsing | ||||
* | (spec2srcheader) fix arch of spec header | Thierry Vignaud | 2012-08-10 | 1 | -3/+0 |
| | | | | | | | introduction introduced in commit r5031 on 012-06-25 ("spec2srcheader) simplify using headerPutString()") fixed by simplifying: our changes are no more needed... | ||||
* | (rpmtag_from_string) really enable to traverse rpm db by fullname | Thierry Vignaud | 2012-06-28 | 1 | -1/+1 |
| | |||||
* | (rpmtag_from_string) make it clear we return a DB index | Thierry Vignaud | 2012-06-28 | 1 | -10/+10 |
| | |||||
* | (spec2srcheader) simplify using headerPutString() | Thierry Vignaud | 2012-06-25 | 1 | -10/+1 |
| | |||||
* | do not strip away arch if specifed for Trans_remove() (POK, mdv) | Thierry Vignaud | 2012-06-25 | 1 | -13/+0 |
| | |||||
* | revert commit r4982 on Jun 18 2012 (was: "(push_rflags) factorize code) | Thierry Vignaud | 2012-06-25 | 1 | -15/+18 |
| | | | | thus fixing setting rflags on packages (mga#6532) | ||||
* | (parse_synthesis__XS) enable to read xz & bzip2 compressed synthesis | Thierry Vignaud | 2012-06-22 | 1 | -11/+22 |
| | |||||
* | (buildarchs) renumber due to sparsed numbers | Thierry Vignaud | 2012-06-22 | 1 | -10/+10 |
| |