summaryrefslogtreecommitdiffstats
path: root/func/overlord/cmd_modules/call.py
Commit message (Collapse)AuthorAgeFilesLines
* Add support for forcing some long running methods to be called in async mode ↵Krzysztof A. Adamski2008-06-291-0/+9
| | | | from command line.
* add a "summary" to the cmd_module classes so the help can get to them.Adrian Likins2008-06-261-0/+1
| | | | | | | make "func help" work again. Sorta. It's better, but it's still not right. At least it doesnt traceback now. remove a spurious debug statement in the command parser
* check for empty method list on call cmd. dont traceback ifAdrian Likins2008-06-261-0/+5
| | | | we get one
* Fix options.async and options.forks problem.Krzysztof A. Adamski2008-06-261-0/+2
|
* Jobthing status codes cleanup.Krzysztof A. Adamski2008-06-061-2/+2
|
* Return unformated results from do().Krzysztof A. Adamski2008-05-311-4/+4
|
* Added --jobthing option to 'call' cmd_module.Krzysztof A. Adamski2008-05-311-3/+13
|
* Added --sort option to 'call' cmd_module.Krzysztof A. Adamski2008-05-311-5/+12
|
* Added --async option to 'call' cmd_module.Krzysztof A. Adamski2008-05-311-0/+37
|
* add "--pickle" support for dumping call data in python pickle format.Adrian Likins2008-04-081-1/+6
|
* don't use interactive mode, but print out the results directly from the "call"Adrian Likins2008-04-081-2/+8
| | | | | | | | | | commandline module. Probably needs to get revisited at some point, since being able to use the api's the cmdline module expose could be useful, and printing directly like this is a bit odd. The above changes fix --json/--raw/--xmlrpc output for "call"
* move command.py:BaseCommand() to it's own module, base_command.pyAdrian Likins2008-03-281-3/+3
| | | | | update the cmd_modules/* classes accordingly also cleanup some imports in the cmd_modules/* classes
* add a BaseCommand class to func/overlord/command.py.Adrian Likins2008-03-281-14/+10
| | | | | | | | | | | | | This class adds data about the default settings for the Overlord class that the various cmd_module classes were hardcoding, notable DEFAULT_PORT. update all the cmd_modules/* classes to use the new BaseCommand class. Remove any DEFAULT_PORT references. Also remove the ill advised --port option some of them had, since this doesnt really make much sense. Progress on https://fedorahosted.org/func/ticket/31
* Changing func/func/overlord/client.py:Client() to Overlord(). Client() stillAdrian Likins2008-03-281-5/+9
| | | | | | | works but will dive a deprecation warning. First pass at this refactor. I think just about everything has been updated, but some questions remain. Like if client.py needs a name change.
* Our client.command.Command class looks for 'usage', not 'useage'Luke Macken2008-01-141-1/+1
|
* more deletions of shebangs.Steve 'Ashcrow' Milner2008-01-131-2/+0
|
* Integrating the multiplexer feature (forkbomb.py) with func's Client module. ↵Michael DeHaan2007-11-301-4/+14
| | | | This can be wired up to other modules as well, but I've only added it to "call" for now. To use it, pass in the option --forks=N, ex --forks=3 on the command line as an option to "call". The default is forks==1 which completely bypasses the fork code, just to ensure we don't break anything using the Func API that might not like it. (However I'm pretty sure it would be fine).
* Make pretty printer be the default print option, and make a new option for ↵Michael DeHaan2007-10-251-6/+13
| | | | | | raw output that just uses Python print.
* add "copyfile" commandline module that knows how to get the localAdrian Likins2007-10-121-0/+15
| | | | | | file, it's perms, and call the remote end correctly add copyright blurb to other modules
* make func_command use the new handleArguments method fromAdrian Likins2007-10-091-10/+9
| | | | | | | | | | | | | | | | command.Command. Use this to fetch the hostnamegoo client.py: pull out expand_servers to module scope, and isServer(). This method basically tries to see if what we think is hostnamegoo is actually hostnamegoo. Kind of a guess atm. cmd_modules/call.py: change this so it doesn't do it's own parsing out of the hostname goo, instead using that from func_command (aka, the top level command parser) cmd_modules/show.py: just a cmd line module in early development
* add a couple alternatice serializers just for kicksAdrian Likins2007-10-081-8/+35
|
* create a func/overkiad/cmd_modules sub dirAdrian Likins2007-10-081-0/+58
add it to the setup use new func_command module for base class of commands move Call class to cmd_modules/call update scripts/func to use new commandline class