yadab-devel
[Top][All Lists]
Advanced

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

Re: [Yadab-devel] Project/Client to html page


From: Patrik Willard
Subject: Re: [Yadab-devel] Project/Client to html page
Date: Sat, 09 Apr 2011 23:32:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Lanikai/3.1.9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/09/2011 10:47 PM, Henrik Sandklef wrote:
> On 04/08/2011 12:36 AM, Patrik Willard wrote:
> 
>> SNIP
> 
> 
>>> Here "Project name" and "Client name" really is the name of the
>>> directories which are non important for the build-server software.
>>
>>> I propose to change it to the following
>>
>>> # Project directory
>>> # Client directory
>>> # Project name
>>> # Client name
>>> # Connection status
>>> # Return value from setup
>>> # Return value from unpack
>>> # Return value from prepare
>>> # Return value from clean
>>> # Return value from build
>>> # Return value from check
>>> # Return value from install
>>
>>> Then "Project directory" and "Client directory" can (shall) be ignored
>>> by the build server software. The build server should only use the names.
>>
>>
>>> Does that sound ok?
>>
>>
>> How would this affect the colon-separated summary?
>> Would this mean that the two first "fields" on each row in the summary
>> should be ignored?
>> If so, they yes by all means, go ahead :)
>> If not, please clarify further.
> 
> Example:
>   project1:client1:Xnee CVS:Bruckner:1:0:0:0:0:0:0:0

So that would be a yes :)

> In the example above, the project1 and client1 are directories and
> needed to create links to the actual (text) reports in the table on the
> daily report page. Like this:

When I think about it, what is stopping us from "normalizing" the
project and client names (replacing everything not [a-zA-Z0-9-_] with
"_" or whatever) and do away with the "projectX" "clientY" (where X and
Y are positive integers) altogether?

I am pretty sure that I have already built the database to cope with
such an event (with the exception that if two people give their systems
an identical hostname, they will be identified as the same client, which
probably is unsatisfactory.)

(How does yadab handle that right now? Say if I set up a build-client,
how would the host go about assigning me a client number?)

> <td class="setup ok"><a
> href="buildlogs/2011-04-01/projects/project1/clients/client2/setup.txt">OK</a></td>
> <td class="unpack ok"><a
> href="buildlogs/2011-04-01/projects/project1/clients/client2/unpack.txt">OK</a></td>
> <td class="prepare ok"><a
> href="buildlogs/2011-04-01/projects/project1/clients/client2/prepare.txt">OK</a></td

Off-topic: oh how optimistic of you ("<td class="... *ok*">) ;)

> We (imho) also need to add info on OS, ARCH. This can be done using the
> sys-info-long.txt file. So we might as well get the client name (NODE)
> info from the same file, so I suggest to remove
> 
>               # Client name
> 
> from the projects-results.txt file. New "look":
> 
> 
>>> # Project directory
>>> # Client directory
>>> # Project name
>>> # Connection status
>>> # Return value from setup
>>> # Return value from unpack
>>> # Return value from prepare
>>> # Return value from clean
>>> # Return value from build
>>> # Return value from check
>>> # Return value from install
> 

I support this :)

Just to verify that I am on the same wavelength: the project name should
also go into the database (alongside the project directory), as well as
architecture, hostname and OS (with the client), right?

> 
> 
> /hesa

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

iEYEARECAAYFAk2g0E4ACgkQzmOKvob1mmKD+gCfWkZjxMQfF5NOQ45jNYofNX0V
RNcAnjLvGQomoRJLc/JYLV8SUPmQQqCH
=QVQz
-----END PGP SIGNATURE-----



reply via email to

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