RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Releasing rpm-5.0.1

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 28 Jan 2008 - 21:23:09 CET
Message-Id: <A5849286-D31A-4848-BFFF-C25A498F843F@mac.com>

On Jan 28, 2008, at 12:59 PM, Jeff Johnson wrote:

>
> The real fixing is deeper, enriching the return codes from  
> rpmtsCheck() to
> reflect whether problems were found.
>
> I've attached a patch that fixes your immediate problem, but I need  
> to check
> a few more code paths, and I may return rpmRC instead of {0, 1, 2}  
> integers.
>

Here's the nest evolutionary patch to permit 0/1/2 return codes from  
rpmtsCheck.

My next attempt will use RPMRC_OK/RPMRC_NOTFOUND/RPMRC_FAIL
instead of 0/1/2 as return codes.

I may also attempt to parameterize whether rpmtsCheck() returns with  
1st failure,
or with all failures, included in problem sets. Returning 1st  
failure, as well as skipping
"known good" checks,  are quite important speed-up if not using the  
rpmtsCheck() callback.

73 de Jeff


Received on Mon Jan 28 21:23:17 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.