Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | (compare_pkg,compare) style: variables | Thierry Vignaud | 2012-06-22 | 1 | -11/+4 |
| | |||||
* | (compare_pkgs,compare) style: indent after last changes | Thierry Vignaud | 2012-06-22 | 1 | -18/+16 |
| | |||||
* | (get_e_v_r) factorize code | Thierry Vignaud | 2012-06-22 | 1 | -60/+32 |
| | |||||
* | (compare_evrs) factorize comparing EVRs | Thierry Vignaud | 2012-06-22 | 1 | -29/+23 |
| | |||||
* | (Pkg_compare) kill noop test | Thierry Vignaud | 2012-06-22 | 1 | -2/+2 |
| | | | | test is useless since initial URPM import 10 years ago | ||||
* | (Pkg_compare_pkg) minor cleanup | Thierry Vignaud | 2012-06-22 | 1 | -3/+0 |
| | |||||
* | (pack_header) add intended brackets that pixel forgot to add in commit | Thierry Vignaud | 2012-06-22 | 1 | -1/+2 |
| | | | | | | | | | | | r225637 on Thu Aug 9 2007: '- "suggests" are no more handled as "requires" - resolve_requested support "suggests": a newly suggested package is installed as if required (can be disabled with option no_suggests) nb: URPM.xs change is quite complex since suggests are mostly seen as requires inside rpmlib.' | ||||
* | (ranges_overlap) switch to use rpmds | Thierry Vignaud | 2012-06-22 | 1 | -51/+11 |
| | | | | | | | | | | should have been done right away 9 years ago instead of reimplementing older rpmRangesOverlap() in commit r11141 by fpons on Tue Apr 29 2003: "first try of 4.2 compatible perl-URPM, missing verify_signature, new version 0.83" francois I hate you! | ||||
* | (rpmRunTransactions_callback) make comment more understandable | Thierry Vignaud | 2012-06-19 | 1 | -1/+1 |
| | |||||
* | (rpmRunTransactions_callback) workaround changes in rpm-4.10.0 resulting in ↵ | Thierry Vignaud | 2012-06-19 | 1 | -1/+0 |
| | | | | | | | | | | | | | fd leaks (mga#6453) rationale: commit 4c1f7e335de1724661ce63c53186d161ab71a63f changed rpm-4.10 so that fdFree() always return NULL whereas previously it would return the supposedly free'd fd back if the fd had remaining references. This prevent us to call fdClose() thus to really close the fd we should not close fdLink() which set ref counter to 2 anyway... | ||||
* | (spec2srcheader) simplify now that we don't support rpm-4.8 anymore | Thierry Vignaud | 2012-06-18 | 1 | -10/+0 |
| | |||||
* | (obsoletes_overlap) drop 'direction' parameter | Thierry Vignaud | 2012-06-18 | 1 | -3/+2 |
| | | | | | | | also fix 'direction' default value for provides_overlap() it was broken since commit r4914 on 2012-06-13: "(provides_overlap) alias it with obsoletes_overlap (saves another 1.1% of code size)" | ||||
* | (update_provides_files) use proper API for freeing memory | Thierry Vignaud | 2012-06-18 | 1 | -2/+2 |
| | |||||
* | (parse_hdlist__XS,parse_rpm) simplify, reduce stack usage | Thierry Vignaud | 2012-06-18 | 1 | -10/+8 |
| | |||||
* | (xpush_simple_list_str) preallocate the stack | Thierry Vignaud | 2012-06-18 | 1 | -1/+2 |
| | |||||
* | (push_rflags) factorize code | Thierry Vignaud | 2012-06-18 | 1 | -18/+15 |
| | |||||
* | (spec2srcheader) typo fix in comment | Thierry Vignaud | 2012-06-18 | 1 | -1/+1 |
| | |||||
* | pass NULL for default prefix to rpmtsSetRootDir() | Thierry Vignaud | 2012-06-18 | 1 | -3/+3 |
| | | | | it gracelly handles it | ||||
* | (buildtime,get_tag) simplify | Thierry Vignaud | 2012-06-18 | 1 | -12/+4 |
| | |||||
* | (pack_list) drop now unused 'check_flag' parameter | Thierry Vignaud | 2012-06-17 | 1 | -7/+6 |
| | |||||
* | drop support for old mdv2008.0 suggests (RPMTAG_REQUIRENAME + | Thierry Vignaud | 2012-06-17 | 1 | -35/+3 |
| | | | | | | | | | | | RPMSENSE_MISSINGOK) drop suport for old suggests: RPMTAG_REQUIRENAME + RPMSENSE_MISSINGOK (as done in Mandriva 2008.0) since mdv 2008.1, we use SuSE style suggets (RPMTAG_SUGGESTSNAME) we don't support them since that (and we dropped them from testsuite in december 2008) | ||||
* | (buildtime,get_tag) simplify | Thierry Vignaud | 2012-06-17 | 1 | -12/+8 |
| | |||||
* | (buildarchs,get_tag) better style | Thierry Vignaud | 2012-06-17 | 1 | -34/+17 |
| | |||||
* | alias mose Pkg_*_nosense() functions | Thierry Vignaud | 2012-06-17 | 1 | -17/+11 |
| | |||||
* | (Pkg_buildarchs) simplify now that all remaining aliases use ↵ | Thierry Vignaud | 2012-06-17 | 1 | -16/+17 |
| | | | | xpush_simple_list_str() |