[ANN] dirwatch-0.0.3

I guess this is different from directorywatcher, no?
Do you have rpa version?

kind regards -botp

···

Ara.T.Howard [mailto:Ara.T.Howard@noaa.gov] wrote:

Subject: [ANN] dirwatch-0.0.3

I guess this is different from directorywatcher, no?

quite a bit. dirwatch maintains a database mirror of a directory's contents.
the contents are compared against the database each time dirwatch is run and
certain configurable actions taken. note that it does not run constantly and,
since it maintains state, be cron'd at certain itervals. it should be nfs
clean (including running on the same directory using the same log file from
different hosts simoultaneously). the actions can be configured to easily
handle directories containing several hundred thousand files. because of it's
nature (stateful and periodic) you also detect 'existing' files using it to
implement a kind of smart tmpwatch.

Do you have rpa version?

not yet - i haven't exactly desided how to handle dependancies and am thinking
of doing something like

   file dirwatch/lib/arrayfields.rb

   begin
     require 'arrayfields'
   rescue LoadError
     (inline arrayfields)
   end

so that the user need download only one package... also there are some
changes on the horzion to sqlite that i'm not sure how to handle... also it's
quite young (though we are using in production like all of our 'experimental'
software ;-))

cheers.

-a

···

On Sat, 16 Oct 2004, [iso-8859-1] "Peña, Botp" wrote:
--

EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
PHONE :: 303.497.6469
When you do something, you should burn yourself completely, like a good
bonfire, leaving no trace of yourself. --Shunryu Suzuki

===============================================================================