Note how to redirect debug messages to file.
Check worker exists before removing
Batch interface set resources for condor
wq pool communicates resources to batch and worker
Merge pull request #516 from btovar/batch_communicate_resources

Batch communicate resources
Return a partial count for tracer read.

8c070ac70076bb6462b030e5876962759f4ce0e9 introduced new behavior which would
cause the tracer to return an error (-1) if any ptrace(PEEKDATA, ...) failed.
Certain system calls like ioctl expect a partial read instead. This commit
restores the old behavior.

I've also added some extra debug output on error to help identify these
failures in the future. Before any ptrace error would just be silently ignored
which could hide a problem that reappears as something worse later.

Fixes #518.
let parrot_package_run use the ld-linux.so file in the package.
Add --env-list parameter into parrot_package_run

This allows the user to use their own environment variables file.
Add --env-list parameter into chroot_package_run

This allows the user to use their own environment variables file.
check whether the path parameter of line_process is empty.
Merge remote-tracking branch 'ccl/pull/519/head'.

* ccl/pull/519/head:
  check whether the path parameter of line_process is empty.
  Add --env-list parameter into chroot_package_run
  Add --env-list parameter into parrot_package_run
  let parrot_package_run use the ld-linux.so file in the package.
Add advanced pattern matching facilities.

This commit adds much more advanced pattern matching facilities to CCTools. The
pattern matcher is pulled from Lua 5.2 source code. Lua's pattern matching is
documented in [1]. Lua is distributed under the MIT license which is GPLv2
compatible.

The total lines of code are:

    $ wc -l dttools/src/pattern.c dttools/src/luapatt.c dttools/src/pattern.h
    78 dttools/src/pattern.c
    329 dttools/src/luapatt.c
    25 dttools/src/pattern.h
    432 total

Which is a pretty small price for what it gives us. For example, we can now do:

    const char *subject = "option =  42";
    char *number = NULL;
    ptrdiff_t where = pattern_match(subject, "^option%s*=%s*(%d+)$", &number);
    if (where >= 0) {
        n = atoi(number); /* 42 */
        free(number);
    }

[1] http://www.lua.org/manual/5.2/manual.html#6.4.1
Add advanced pattern matching facilities.

* ccl/pull/520/head:
  Add advanced pattern matching facilities.
add spectool (download, combine and repeat experiments)
add an example specification file
add more info to remote-dependencies items (is-redirected; redirected-location; checksum)
let remote_dependencies_check func support redirection
add comment into package.json's remote-dependencies
create one spectool dir under cctools
change 'remote-dependencies' into the format of 'package-structure'