Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | trying to get this a bit more workable. | Preston Cody | 2008-02-17 | 1 | -4/+4 |
| | | | | svn path=/branches/new-fu/; revision=358 | ||||
* | let's actually run the jobs we get...untested | Andrew Gaffney | 2008-01-12 | 1 | -3/+26 |
| | | | | svn path=/branches/new-fu/; revision=350 | ||||
* | use proper form for send_command() | Andrew Gaffney | 2008-01-12 | 1 | -2/+2 |
| | | | | svn path=/branches/new-fu/; revision=349 | ||||
* | test script for Scire::Job | Andrew Gaffney | 2008-01-08 | 1 | -0/+26 |
| | | | | svn path=/branches/new-fu/; revision=345 | ||||
* | handle a non-zero exitcode from the communicator | Andrew Gaffney | 2008-01-07 | 1 | -0/+9 |
| | | | | svn path=/branches/new-fu/; revision=342 | ||||
* | write out script_data to file | Andrew Gaffney | 2008-01-07 | 2 | -18/+34 |
| | | | | | | | | determine UID/GID of run_as user beforehand so we can change the owner of the script we just wrote exec the script we wrote out instead of dummy commands add set_script_file() function svn path=/branches/new-fu/; revision=341 | ||||
* | exit with -2 if run_as user can't be found | Andrew Gaffney | 2008-01-06 | 1 | -3/+4 |
| | | | | | | always try to get exitstatus svn path=/branches/new-fu/; revision=340 | ||||
* | check proper variable after forking | Andrew Gaffney | 2008-01-06 | 1 | -2/+15 |
| | | | | | | add code to setuid() before job execution svn path=/branches/new-fu/; revision=339 | ||||
* | add in exec() call | Andrew Gaffney | 2008-01-06 | 1 | -1/+3 |
| | | | | svn path=/branches/new-fu/; revision=337 | ||||
* | remove unneeded module | Andrew Gaffney | 2008-01-06 | 1 | -3/+0 |
| | | | | svn path=/branches/new-fu/; revision=336 | ||||
* | move Scire.pm to Scire/Job.pm and fix scireclient.pm to use the new paths | Andrew Gaffney | 2008-01-06 | 2 | -1/+2 |
| | | | | svn path=/branches/new-fu/; revision=335 | ||||
* | break out the Communicator code. | Preston Cody | 2008-01-06 | 2 | -88/+89 |
| | | | | svn path=/branches/new-fu/; revision=334 | ||||
* | fill out run() a bit more | Andrew Gaffney | 2008-01-06 | 1 | -1/+45 |
| | | | | svn path=/branches/new-fu/; revision=333 | ||||
* | add stub for run() | Andrew Gaffney | 2008-01-06 | 1 | -0/+5 |
| | | | | svn path=/branches/new-fu/; revision=332 | ||||
* | condense check_job_dir() with a loop | Andrew Gaffney | 2008-01-06 | 1 | -19/+8 |
| | | | | svn path=/branches/new-fu/; revision=331 | ||||
* | move code that talks to server into talk_to_server(), which forks before ↵ | Andrew Gaffney | 2008-01-05 | 2 | -20/+46 |
| | | | | | | doing its thing in order to drop privileges svn path=/branches/new-fu/; revision=330 | ||||
* | change set_filename() to load_jobfile() | Andrew Gaffney | 2008-01-05 | 1 | -2/+2 |
| | | | | svn path=/branches/new-fu/; revision=329 | ||||
* | only import open2 from IPC::Open2 | Andrew Gaffney | 2008-01-05 | 1 | -1/+1 |
| | | | | svn path=/branches/new-fu/; revision=328 | ||||
* | move SERVER_STDIN and SERVER_STDOUT inside the class hash | Andrew Gaffney | 2008-01-05 | 1 | -11/+8 |
| | | | | svn path=/branches/new-fu/; revision=326 | ||||
* | don't need SERVER_STDIN and SERVER_STDOUT here | Andrew Gaffney | 2008-01-05 | 1 | -1/+0 |
| | | | | svn path=/branches/new-fu/; revision=325 | ||||
* | move bits of the server communication into Scire.pm | Andrew Gaffney | 2008-01-05 | 2 | -71/+97 |
| | | | | svn path=/branches/new-fu/; revision=324 | ||||
* | don't stick 'script' in the hash | Andrew Gaffney | 2008-01-05 | 1 | -1/+1 |
| | | | | svn path=/branches/new-fu/; revision=321 | ||||
* | initial commit of Scire.pm | Andrew Gaffney | 2008-01-05 | 1 | -0/+37 |
| | | | | svn path=/branches/new-fu/; revision=320 | ||||
* | fix parse_response() regex to ignore trailing whitespace | Andrew Gaffney | 2008-01-02 | 1 | -1/+1 |
| | | | | svn path=/branches/new-fu/; revision=315 | ||||
* | fixin up get_jobs a bit. | Preston Cody | 2008-01-02 | 1 | -11/+18 |
| | | | | svn path=/branches/new-fu/; revision=313 | ||||
* | add debug to response line | Preston Cody | 2008-01-02 | 1 | -7/+20 |
| | | | | | | | added other paths to check_job_dir fixed up get_job a bit. svn path=/branches/new-fu/; revision=310 | ||||
* | chomp the line read from client_key | Andrew Gaffney | 2008-01-01 | 1 | -3/+2 |
| | | | | svn path=/branches/new-fu/; revision=303 | ||||
* | switch config location to /etc/scire/ | Andrew Gaffney | 2007-12-31 | 1 | -1/+11 |
| | | | | | | add config defaults to scireclient svn path=/branches/new-fu/; revision=301 | ||||
* | fixing up registering and identifying code. | Preston Cody | 2007-12-31 | 1 | -11/+13 |
| | | | | svn path=/branches/new-fu/; revision=299 | ||||
* | remove dead code | Andrew Gaffney | 2007-12-31 | 1 | -7/+3 |
| | | | | | | add a few extra options to the ssh invocation svn path=/branches/new-fu/; revision=298 | ||||
* | cleaned up the debugging. took out existing jobs lines. | Preston Cody | 2007-12-31 | 1 | -9/+7 |
| | | | | svn path=/branches/new-fu/; revision=292 | ||||
* | add get_interface_info() to get MAC/IP for register_client() | Andrew Gaffney | 2007-12-31 | 1 | -2/+12 |
| | | | | svn path=/branches/new-fu/; revision=290 | ||||
* | remove END block as it seems unnecessary, since it looks like ssh dies by ↵ | Andrew Gaffney | 2007-12-30 | 1 | -7/+0 |
| | | | | | | itself when the STDIN and STDOUT are closed svn path=/branches/new-fu/; revision=277 | ||||
* | add END block and clean up errors | Andrew Gaffney | 2007-12-30 | 1 | -8/+15 |
| | | | | svn path=/branches/new-fu/; revision=276 | ||||
* | remove run_test() stuff | Andrew Gaffney | 2007-12-30 | 1 | -7/+0 |
| | | | | svn path=/branches/new-fu/; revision=274 | ||||
* | modify all code using send_command() to pass output through parse_response() | Andrew Gaffney | 2007-12-30 | 1 | -10/+8 |
| | | | | svn path=/branches/new-fu/; revision=273 | ||||
* | implement debug() and modify all current code to use it | Andrew Gaffney | 2007-12-30 | 1 | -6/+14 |
| | | | | svn path=/branches/new-fu/; revision=272 | ||||
* | implement parse_response() | Andrew Gaffney | 2007-12-30 | 1 | -4/+5 |
| | | | | svn path=/branches/new-fu/; revision=271 | ||||
* | move get_response() code into send_command() since nothing else uses it | Andrew Gaffney | 2007-12-30 | 1 | -7/+7 |
| | | | | svn path=/branches/new-fu/; revision=270 | ||||
* | big changes. adding a whole bunch of code to flesh this out. | Preston Cody | 2007-12-30 | 1 | -15/+88 |
| | | | | svn path=/branches/new-fu/; revision=268 | ||||
* | if to unless b/c of possible undef. | Preston Cody | 2007-12-26 | 1 | -2/+2 |
| | | | | svn path=/branches/new-fu/; revision=265 | ||||
* | move connection string building into its own function | Andrew Gaffney | 2007-12-24 | 1 | -38/+52 |
| | | | | | | | | move most of global stuff inside run_main react properly to responses from IDENTIFY command move the job_dir check into its own function svn path=/branches/new-fu/; revision=263 | ||||
* | musta been too drunk to not remember mkpath. | Preston Cody | 2007-12-24 | 1 | -1/+2 |
| | | | | svn path=/branches/new-fu/; revision=261 | ||||
* | rename verbose to debug | Andrew Gaffney | 2007-12-24 | 1 | -10/+26 |
| | | | | | | split identify and register svn path=/branches/new-fu/; revision=260 | ||||
* | config touchups. | Preston Cody | 2007-12-24 | 1 | -19/+55 |
| | | | | | | | added a register function. it needs a fingerprint or digest to verify the client. svn path=/branches/new-fu/; revision=259 | ||||
* | use a match and capture instead of split for parsing config file lines | Andrew Gaffney | 2007-12-24 | 1 | -2/+3 |
| | | | | svn path=/branches/new-fu/; revision=257 | ||||
* | ok, where to begin.... | Andrew Gaffney | 2007-12-24 | 1 | -17/+63 |
| | | | | | | | | | | | | SCIRE_CONFIG_FILE is no longer a constant so it can be overriden via commandline basic commandline parsing helper function for sending/receiving and creating the connection move my test code into run_test() function temporary connection_command override for development fix a few syntax errors random other changes that I can't be bothered to think of svn path=/branches/new-fu/; revision=256 | ||||
* | adding config-related stuff. | Preston Cody | 2007-12-24 | 1 | -6/+39 |
| | | | | svn path=/branches/new-fu/; revision=254 | ||||
* | add servercmd comment | Andrew Gaffney | 2007-12-23 | 1 | -0/+1 |
| | | | | svn path=/branches/new-fu/; revision=253 | ||||
* | initial perl-based client and server with shiny IPC | Andrew Gaffney | 2007-12-23 | 1 | -0/+23 |
svn path=/branches/new-fu/; revision=252 |