aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
Commit message (Collapse)AuthorAgeFilesLines
* add a commentPascal Rigaux2007-08-311-1/+1
|
* - disable "dropping tags from rpm header" until we can safely use itPascal Rigaux2007-08-291-1/+1
|
* - spec2srcheader: workaround parseSpec returning a header where ->arch is setPascal Rigaux2007-08-281-0/+4
| | | | | | to %{_target_cpu} whereas we really want a header similar to .src.rpm (see #32824)
* - allow running transaction with justdb optionPascal Rigaux2007-08-231-0/+2
|
* - fix dropping tags from rpm header.Pascal Rigaux2007-08-121-27/+62
| | | | | | it hasn't work since MDK8.1 and rpm 4.0. it may break urpmi!! but potentially allows a much smaller hdlist.cz :)
* - allow running transaction with replagekgs optionPascal Rigaux2007-08-111-0/+2
|
* add documentationPascal Rigaux2007-08-101-0/+3
|
* there is no use retrying after a headerRead failure since headerRead may havePascal Rigaux2007-08-101-14/+0
| | | | | | | | consumed part of the input, and so next headerRead will read in the middle of a header, and so always fail. The only real solution is to ensure rpmlib don't timeout too quickly (and fd->rd_timeoutsecs is rpmlib internal only, so we can't hint it from here. in any case 1sec timeout is really too low)
* - compilation fixes on rpm < 4.4.8Pascal Rigaux2007-08-091-1/+1
|
* compilation fixes on rpm < 4.4.8Pascal Rigaux2007-08-091-2/+10
|
* - "suggests" are no more handled as "requires"Pascal Rigaux2007-08-091-9/+71
| | | | | | | | | - 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.
* - add $trans->Element_version and $trans->Element_releasePascal Rigaux2007-08-031-0/+20
|
* - Urpm_read_config_files properly return the value to perlOlivier Thauvin2007-07-041-2/+3
| | | | - kill useless var dcl
* - fix parseSpec argumentOlivier Thauvin2007-07-041-1/+3
|
* - add osscore() and archscore() function to evaluate computer compatiblity ↵Olivier Thauvin2007-07-041-0/+35
| | | | to an arbitrary value
* - add Pkg_is_platform_compat() and Urpm_platformscore() coming with rpm 4.4.8Olivier Thauvin2007-07-041-1/+48
|
* - make is_arch_compat rpm 4.4.8 compliantOlivier Thauvin2007-06-191-2/+16
|
* - hack on $pkg->is_arch_compat to make it return true for noarch packagesPascal Rigaux2007-06-121-2/+3
| | | | | when using rpm 4.4.8 (#31314)
* - new release, 1.631.63Pascal Rigaux2007-05-091-0/+10
| | | | | - add $trans->Element_fullname
* - 1.611.61Pascal Rigaux2007-04-271-0/+19
| | | | | | | | | - add $trans->NElements and $trans->Element_name to be able to display name of uninstalled package in callback_uninst - fix b--obsoletes-->a and c--conflicts-->a prompting for upgrading a (need a fix in urpmi which rely on the $state->{rejected} to upgrade (-U) b instead of installing (-i) it)
* - make read_config_files() the load error code1.59Olivier Thauvin2007-03-011-12/+43
| | | | | | - URPM::read_config_files return success true/false - load config file at module load - the config is tagged as load only in case of success, so reloading after error will retry anyway
* use SvTRUE() instead of SvIV() for boolean values 1.53Pascal Rigaux2007-01-081-7/+7
| | | | | (this gets rid of: Argument "" isn't numeric in subroutine entry at blib/lib/URPM/Build.pm line 68.)
* - much stricter synthesis parsing. fail on first errorPascal Rigaux2006-12-041-5/+14
| | | | | - add test using a buggy synthesis that occured on kenobi
* correctly set "\0"Pascal Rigaux2006-12-041-0/+1
|
* correctly handle gzread error codePascal Rigaux2006-12-041-1/+4
|
* rpmReadPackageFile() can return ok but no header :-/Pascal Rigaux2006-12-011-2/+2
|
* rpmReadPackageFile() can return ok but no header :-/1.51Pascal Rigaux2006-12-011-1/+1
|
* (Trans_add) factorize size to allocateThierry Vignaud2006-11-291-1/+1
|
* (Trans_add) adjust allocated memoryThierry Vignaud2006-11-291-1/+1
|
* (Trans_add) remove guard, proper fix is now enoughThierry Vignaud2006-11-291-1/+0
|
* (Trans_add) fix segfault on ia32 (when one replace "struct foobar" byThierry Vignaud2006-11-291-0/+4
| | | | | "foobar*", he should expect sizeof() to *slightly* differ in results)
* (Trans_add) fix segfault when using --excludepathThierry Vignaud2006-11-291-0/+1
|
* (Trans_add) fix the segfault when using --excludepath (introduced inThierry Vignaud2006-11-291-6/+5
| | | | | | r32435:32440). however, using --excludepath will still segfaults, but later, in rpmtsAddInstallElement() ...
* (Trans_add) fix segfaultThierry Vignaud2006-11-291-1/+1
|
* at least one good header is needed for non compressed hdlist and non empty filePascal Rigaux2006-11-171-0/+2
|
* - parse_hdlist on a simple header was broken because pid was left unset,Pascal Rigaux2006-11-171-1/+1
| | | | | - add some tests for this
* add a wrapper in perl around parse_hdlist and parse_synthesisPascal Rigaux2006-11-151-2/+2
|
* parse_synthesis, parse_hdlist: handle gzip error status instead of relying onPascal Rigaux2006-11-151-9/+20
| | | | | | | | | wether we did read at least one header. This allow "empty" hdlist/synthesis. But it means it is getting stricter, and the headers added to {depslist} would need to be removed if an error occured. Alas i don't know how to do it (a simple splice) in XS. If no better solution, i'll create a wrapper function in perl.
* - cleanup useless imported rpm dclOlivier Thauvin2006-08-071-154/+0
|
* - remove useless declarationOlivier Thauvin2006-08-071-6/+0
|
* Fix a FD leak (patch by Pascal Terjan, bug #24112)Rafael Garcia-Suarez2006-08-041-0/+1
|
* - add comment into code, need reviewOlivier Thauvin2006-07-251-0/+5
|
* That wasn't actually necessaryv1_44Rafael Garcia-Suarez2006-06-121-4/+0
|
* Fix passing of rpmRelocation structure with new layout in 4.4.6Rafael Garcia-Suarez2006-06-121-0/+4
|
* It's nice to be able to compile with rpm 4.4.6, but it's nice to be able toRafael Garcia-Suarez2006-06-011-3/+8
| | | | | compile with older rpms too.
* - rpm 4.4.6 fixesOlivier Thauvin2006-05-311-2/+5
|
* - fix urpmi .spec: aka ensure the rpm config is read with all macros before ↵Olivier Thauvin2006-05-231-0/+2
| | | | parsing a spec
* Patch by Pascal Terjan to fix a FD leak (bug #22632)Rafael Garcia-Suarez2006-05-221-0/+1
|
* Add function to traverse transactionsRafael Garcia-Suarez2006-04-071-0/+30
|
* RPMTAG_SOURCEPACKAGE is going to be obsolete. Replace it by RPMTAG_SOURCERPM.Rafael Garcia-Suarez2006-04-021-10/+10
|