Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (parse_synthesis__XS) enable to read xz & bzip2 compressed synthesis | Thierry Vignaud | 2012-06-22 | 3 | -15/+37 |
| | |||||
* | (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 | 2 | -60/+33 |
| | |||||
* | (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.' | ||||
* | (_selected_size_filesize) simplify | Thierry Vignaud | 2012-06-22 | 1 | -5/+1 |
| | |||||
* | (ranges_overlap) switch to use rpmds | Thierry Vignaud | 2012-06-22 | 2 | -51/+13 |
| | | | | | | | | | | 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! | ||||
* | minor style enhancements | Thierry Vignaud | 2012-06-22 | 1 | -7/+3 |
| | |||||
* | 4.74.7 | Thierry Vignaud | 2012-06-19 | 2 | -1/+3 |
| | |||||
* | (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 | 2 | -1/+2 |
| | | | | | | | | | | | | | 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... | ||||
* | 4.64.6 | Thierry Vignaud | 2012-06-18 | 2 | -1/+3 |
| | |||||
* | (spec2srcheader) simplify now that we don't support rpm-4.8 anymore | Thierry Vignaud | 2012-06-18 | 2 | -10/+1 |
| | |||||
* | (obsoletes_overlap) drop 'direction' parameter | Thierry Vignaud | 2012-06-18 | 3 | -5/+8 |
| | | | | | | | 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 |
| | |||||
* | provides_overlap() defaults to direction=1 | 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 |
| | |||||
* | 4.54.5 | Thierry Vignaud | 2012-06-17 | 2 | -1/+3 |
| | |||||
* | (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 | 2 | -35/+4 |
| | | | | | | | | | | | 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 | 2 | -16/+19 |
| | | | | xpush_simple_list_str() | ||||
* | resplit all functions using return_files() into Pkg_files() | Thierry Vignaud | 2012-06-17 | 1 | -6/+15 |
| | |||||
* | resplit all functions using return_list_number() into Pkg_files_mtime() | Thierry Vignaud | 2012-06-17 | 1 | -21/+32 |
| | |||||
* | (return_files,Pkg_fullname) silent 2 compiler warnings | Thierry Vignaud | 2012-06-17 | 1 | -2/+2 |
| | |||||
* | 4.44.4 | Thierry Vignaud | 2012-06-15 | 2 | -1/+3 |
| | |||||
* | (cb_overlap_s) optimize packing | Thierry Vignaud | 2012-06-15 | 1 | -2/+2 |
| | |||||
* | explain some #undef | Thierry Vignaud | 2012-06-15 | 1 | -0/+1 |
| | |||||
* | (ranges_overlap,obsoletes_overlap) drop unused no_promote parameter | Thierry Vignaud | 2012-06-15 | 4 | -22/+13 |
| | | | | | | | | rationale: it was never set to 0 for nearly a decade this should have been ripped rigth after commit r227323 by pixel on Sep 7 2007: "simplify: nopromoteepoch is always 1 (no caller ever define it)" | ||||
* | (return_list_uint_16) rename as return_list_number() | Thierry Vignaud | 2012-06-15 | 1 | -24/+8 |
| | | | | | | | | rationale: rpmtdGetNumber() works for every kind of numeric container (RPM_NUMERIC_CLASS) regardless of its internal presentation (8/16/32/64-bit integer) (return_list_uint32_t) drop it as it's now useless | ||||
* | (Db_traverse_tag) simplify | Thierry Vignaud | 2012-06-15 | 1 | -3/+1 |
| | |||||
* | simplify using RPMTAG_NVR | Thierry Vignaud | 2012-06-15 | 2 | -19/+14 |
| | |||||
* | (return_files) fix a compiler warning | Thierry Vignaud | 2012-06-15 | 1 | -1/+1 |
| | |||||
* | (return_list_tag,update_obsoletes,update_provides) use proper accessors | Thierry Vignaud | 2012-06-15 | 1 | -7/+5 |
| | |||||
* | (return_files) fix RPMTAG_OLDFILENAMES case | Thierry Vignaud | 2012-06-15 | 1 | -1/+2 |
| | | | | | | | | | | | was broken since commit r250325 by pixel on Tue Dec 9 2008 +0000: "- adapt to rpm 4.6 changes: headerGetEntry -> headerGet" previously count was initialized the right way this show it's unused since it's broken for 4 years this is a theoric issues since RPMTAG_(BASENAMES|DIRINDEXES|_DIRNAMES) date from 1999... | ||||
* | 4.34.3 | Thierry Vignaud | 2012-06-14 | 2 | -1/+3 |
| | |||||
* | (update_provides_files) fix support for RPMTAG_OLDFILENAMES | Thierry Vignaud | 2012-06-14 | 1 | -6/+6 |
| | | | | | | | | | it is broken since commit r250325 by pixel on Tue Dec 9 2008 (4 years!!!): "- adapt to rpm 4.6 changes: headerGetEntry -> headerGet" previously 'list' was initialized the right way note: still needed for the testsuite | ||||
* | (return_files) use proper accessors in the RPMTAG_OLDFILENAMES case | Thierry Vignaud | 2012-06-14 | 2 | -4/+4 |
| | |||||
* | (return_files) use proper API for freeing memory | Thierry Vignaud | 2012-06-14 | 1 | -4/+6 |
| |