RFC: adding a tinderdaemon
Oliver Lehmann
lehmann at ans-netz.de
Sun Jul 3 06:41:41 EDT 2005
Ok,
here is the first try:
http://pofo.de/tmp/patch-tinderd
http://pofo.de/tmp/BuildPortsQueue.pm
http://pofo.de/tmp/Host.pm
http://pofo.de/tmp/tinderd
looks like:
olivleh1 at kartoffel scripts> ./tc addHost
olivleh1 at kartoffel scripts> ./tc addBuildPortsQueueEntry -b 6-CURRENT-amd64-cvs
-d devel/gmake -p 1
olivleh1 at kartoffel scripts> ./tc addBuildPortsQueueEntry -b 6-CURRENT-amd64-cvs
-d mail/sylpheed -p 2
olivleh1 at kartoffel scripts> ./tc addBuildPortsQueueEntry -b 6-CURRENT-amd64-cvs
-d devel/gettext
olivleh1 at kartoffel scripts> ./tc addBuildPortsQueueEntry -b 6-CURRENT-amd64-cvs
-d mail/sylpheed2 -p 1
olivleh1 at kartoffel scripts> ./tc listBuildPortsQueue
+=====+===========================+=====================================+=====+
| Id | Build Name | Port Directory | Pri |
+=====+===========================+=====================================+=====+
| 11 | 6-CURRENT-amd64-cvs | devel/gmake | 1 |
+-----+---------------------------+-------------------------------------+-----+
| 14 | 6-CURRENT-amd64-cvs | mail/sylpheed2 | 1 |
+-----+---------------------------+-------------------------------------+-----+
| 12 | 6-CURRENT-amd64-cvs | mail/sylpheed | 2 |
+-----+---------------------------+-------------------------------------+-----+
| 13 | 6-CURRENT-amd64-cvs | devel/gettext | 10 |
+-----+---------------------------+-------------------------------------+-----+
olivleh1 at kartoffel scripts> ./tc listBuildPortsQueue -r
11:6-CURRENT-amd64-cvs:devel/gmake
14:6-CURRENT-amd64-cvs:mail/sylpheed2
12:6-CURRENT-amd64-cvs:mail/sylpheed
13:6-CURRENT-amd64-cvs:devel/gettext
olivleh1 at kartoffel scripts> su
Password:
root at kartoffel scripts> ./tinderd
Going to build devel/gmake on 6-CURRENT-amd64-cvs
Going to build mail/sylpheed2 on 6-CURRENT-amd64-cvs
Going to build mail/sylpheed on 6-CURRENT-amd64-cvs
Going to build devel/gettext on 6-CURRENT-amd64-cvs
INFO: Nothing to do. Sleeping 120 seconds.
^C
root at kartoffel scripts> ./tc listBuildPortsQueue
+=====+===========================+=====================================+=====+
| Id | Build Name | Port Directory | Pri |
+=====+===========================+=====================================+=====+
root at kartoffel scripts>
I'll work on the webinterface when this first part here is done and checked in
more or less.
--
Oliver Lehmann
http://www.pofo.de/
http://wishlist.ans-netz.de/
More information about the tinderbox-list
mailing list