plague 0.3 status
by Dan Williams
Hi,
I've committed the last of the code for what I believe will be plague 0.3. This
includes changes to allow more than one builder instance on a single machine.
If there are no other bugs found before tommorow afternoon, I'm going to tag
plague 0.3, and add it to extras CVS and shove a package through the build
system. Current CVS has built about 90 packages without problems on the Aurora
build cluster so far.
One thing that would be nice to have before then though: scripts or better
README directions for SSL cert setup. Without using custom OpenSSL config
files, the directions are quite confusing, but its an afternoon of work to hack
together some scripts to do it all too. If any wants to volunteer :)
Seth: I think when we switch over the Extras build system to 0.3, we should fire
up a 2nd builder on ppc1 if only so we're actually using both processors. Sound
OK?
Dan
18 years, 8 months
[PATCH] Cleanup help message in plague-client
by Josh Boyer
Hi all,
This patch cleans up the Usage message in plague-client by listing all
of the available commands and moving them into a function. It also adds
a help command, which I think was asked for by Jef.
thx,
josh
Index: extras-buildsys/client/client.py
===================================================================
--- extras-buildsys.orig/client/client.py
+++ extras-buildsys/client/client.py
@@ -300,22 +300,27 @@ def getEmailAddress():
return config_email
-
+def Usage():
+ print "Usage:\npackage-client.py <command>\n"
+ print " <command> is one of:"
+ print " build [package_name] [cvs_tag | srpm_path] [target]"
+ print " list"
+ print " list <status>"
+ print " list <email> <status>"
+ print " kill <jobid>"
+ print " update_builders"
+ print " list_builders"
+ print " pause"
+ print " unpause"
+ print " is_paused"
+ print " requeue <jobid>"
+ print " detail <jobid>"
+ print " help"
+ print ""
if __name__ == '__main__':
if len(sys.argv) < 2:
- print "Usage:\npackage-builder.py <command>\n"
- print " <command> is one of:"
- print " build [package_name] [cvs_tag | srpm_path] [target]"
- print " list"
- print " list <status>"
- print " list <email> <status>"
- print " kill <jobid>"
- print " update_builders"
- print " list_builders"
- print " pause"
- print " unpause"
- print ""
+ Usage()
sys.exit(1)
# Write out config file if it doesn't exist
@@ -365,7 +370,11 @@ if __name__ == '__main__':
pause(server, False)
elif cmd == 'is_paused':
is_paused(server)
+ elif cmd == 'help':
+ Usage()
+ sys.exit(1)
else:
print "Unknown command."
+ Usage()
sys.exit(1)
18 years, 9 months