Watch more than one directory tree for modification.
authorDiane Trout <diane@caltech.edu>
Sat, 30 May 2009 01:07:08 +0000 (01:07 +0000)
committerDiane Trout <diane@caltech.edu>
Sat, 30 May 2009 01:07:08 +0000 (01:07 +0000)
commitbdb3dad08d7fa045db9de765f5c117e71f2ae0a1
treeb2fe07c855d3f644492cfd7f5a60bf9d6c1c1ae2
parentc033f39021bfb9fb9a5968da4de2b6b1437689f8
Watch more than one directory tree for modification.
I also added code to record which directory watch, and what entry in that
directory was being created (AKA whatever element of the runfolder is being
touched, I record the root of the runfolder directory).

To support this I changed the config option in the benderjab file from
watchdir to watchdirs to make it a bit clearer that things have changed.

I still need to work out the communication protocol to copier so it
can figure out what to start copying. Also I'm recording the
watchdirectory, but copier needs access to a different url. So there's
some question about where the right place to map watchdir to copy url source
might be.
htsworkflow/automation/spoolwatcher.py