[Nix-dev] Tahoe-LAFS in NixOS

Michael Raskin 7c6f434c at mail.ru
Fri Oct 30 06:47:31 CET 2009


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

Zooko Wilcox-O'Hearn wrote:
> I'm a developer of Tahoe-LAFS, which has been packaged for NixOS by  
> Ludovic Courtès:

Hello.

> I would like to add a NixOS buildslave to our buildbot farm:
> 
> http://allmydata.org/buildbot
> 
> That way we can be sure that each new patch that we commit to our  
> darcs repository keeps Tahoe-LAFs working correctly on NixOS.  I just  
> need someone to run a buildslave process on a NixOS machine for that.

I am not sure I understand you correctly here. You ask whether there is
someone with an always-connected NixOS computer who is interested in
getting sure that all Tahoe versions work on NixOS (and will agree to
run buildslave)?

Or do you suppose that the tests will be run by Hydra? Maybe you could
convince Eelco Dolstra to create you a project that has your repository
among its inputs (just like NixOS tracks NixPkgs).

> In a related note, how can I see the commands that the Hydra build  
> executed and the output that it got from the build?  I would like to  

The output is written to the log file. The list of executed commands is
a trickier question. Technically, there is a script that is going to be
executed, but its execution depends on environment variables that are
set in the expression (at least it is so for "tahoe" package). You could
convince us to add "set -x" to the beginning of the build script if it
is actually needed.

> understand how Hydra decides if the build has succeeded.  It would  

All the commands in the build script returned zero.

> probably be good for it to decide that the build succeeded if "python  
> setup.py test" exits with exit code 0.  :-)

Can this be run with sockets (to avoid guessing what ports are safe to
use so that two simultaneous builds don't clash)? If yes, this surely
can be in the end of the build script.

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

iQEcBAEBAgAGBQJK6n3yAAoJEE6tnN0aWvw3BlcIAIbmo60A2h2Px2QmkE+yw21X
DVmDDRvTz334RLgSXDHor2jqgGQz98OoXTZk1Q7p7nxT76qlD3uN1VGLK/+YAivf
BIsTlRftFJUdmsGbmmDHR7htaM6XsAM+Y5rlPfZU2HZRKDYlrMrCugh3erHr5AaY
X1PKO1D8EARimXaPbEWs450UOBvm15oGuSdX5FLsgoG7tmBamjGlLL3jZlti7g5j
hgRTOCaXjf+1ersHz68/9f9nr/hI/VDDskfOpxeztmR63CJE4uIhTixQX8SUzfqU
5U2XZAxOZYi2PGnwETuOwSo67xAN+jfgLFEiWRuNwIqRxAec2odM/3Qd2PYRVLg=
=D8ih
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list