yadab-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Yadab-devel] projects-results.txt


From: Henrik Sandklef
Subject: Re: [Yadab-devel] projects-results.txt
Date: Tue, 17 May 2011 19:50:44 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10

On 05/07/2011 03:13 PM, Patrik Willard wrote:
a question regarding the summary file.

IF connection state isn't 0 (ok), i.e. when connetion has failed, what,
if anything, will the succeeding fields contain?

doc/overview.txt
--------------------------------------
Status values:
   -10  not yet executed
   ......
   -2   yadab found prob
   -1   not used
    0   ok
    1.. Errors from program

So a connection failure should look like

  ......;1:-1:-1 ......

  1 (or rather >0) indicates that there was some problem with
    action/"phase"

 -1 indicates that the action/"phase" has not been performed


Will I see

GNU
Xnee:vcs:gnu-cnee-cvs:arm-lenny:arm-lenny:armv5tejl:GNU/Linux:unknown;1::::::::

or

GNU
Xnee:vcs:gnu-cnee-cvs:arm-lenny:arm-lenny:armv5tejl:GNU/Linux:unknown;1:-2:-2:-2:-2:-2:-2:-2:-2

? (The state part of the examples is the only thing changed)

And I only selected error state -2 as an example.

Close to -1  ;)

-2 will be used for .... hmmm, some imaginable strange state in yada internally. Really indicating a stupid programmer ;) So within a week I'll produce one.

I need to know this because the current (former) script handled this by
checking if connection state was 0, and only in that case did it store
the other states for that build.

I am kindof guessing that if there is a connection error, we cannot get
any useful state data to store in the db, and it would thus be a waste
to store anything for these builds.

Do you agree?

I agree ....

/Patrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3FRXAACgkQzmOKvob1mmKVjQCfRuV/MUlvGzftOk06QTricg11
oZsAnjUCZTikC+MfeTdymSxsba9QifCh
=RZ1G
-----END PGP SIGNATURE-----

_______________________________________________
Yadab-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/yadab-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]