dmwm/CRABClient — pull request #4352 by AndresTanasijczuk (2014-12-12 08:51:50+00:00)
Title: Pass options (maxmemory, maxjobruntime, numcores, priority) to server in resubmit command

This PR intends to fix the following issue: The command crab resubmit accepts a few command line options on top of the obvious --jobids. These other options are: site white/black list, maxmemory, maxjobruntime, numcores and priority. But currently only the --jobids option works. Fixing this requires the client to correctly send the option values to the server and the server correctly read them from the database and pass then to condor. This PR in the client fixes the first. The option values are written into the TaskDB tm_arguments column, which we kind of agreed with Marco that this column should be used for non-static parameter, while static parameters should have each its own column in the TaskDB (will open a GH issue for that).

I tested this patch in my private WM, and it works, in the sense that the parameters are written in the correct place in the DB and with the correct values. The ticket for this issue is https://github.com/dmwm/CRABServer/issues/4501