Commits

Author Commit Message Labels Comments Date
Cameron Simpson
cs.timeutils: import and bugfix safe sleep function from cs,fileutils_tests
Cameron Simpson
cs.logutils: unconditionally import os.path
Cameron Simpson
cs.app.mailfiler: fix variable name typo
Cameron Simpson
cs.app.mailfiler: WatchedMaildir.rules: now a files_property instead of a file_property in order to monitor included rules files for changes
Cameron Simpson
cs.app.mailfiler: WatchedMaildir.filter(): change variable name for clarity.
Cameron Simpson
cs.fileutils: files_property, make_files_property: perform a FileState stability change after the file load; TODO: does this let us fold file_property and make_file_property in cleanly?
Cameron Simpson
cs.fileutils: docstring typo fixes
Cameron Simpson
cs.fileutils: add files_property, the default mode for make_files_property; fill out docstrings for files_property and make_files_property, fix a couple of other docstring typos
Cameron Simpson
cs.fileutils_tests: unit test for make_files_property, run our own sleep() to cope with short time.sleep() calls
Cameron Simpson
cs.fileutils: make_files_property: handle initial state, adjust some typos, change signature of called inner function
Cameron Simpson
cs.fileutils_tests: longer sleep to ensure poll time arrival
Cameron Simpson
Automated merge with file:///Users/cameron/hg/css
Cameron Simpson
cs.fileutils: unit tests, decrease probe intervals to make tests less tedious, make test strings deliberately different lengths to allow for 1s resolution in file stats
Cameron Simpson
cs.fileutils_tests: set poll_rate=3 in test class to match unit test
Cameron Simpson
cs.fileutils_tests: add unit tests for file_property and make_file_property
Cameron Simpson
cs.fileutils_tests: clean up test lock files during tearDown, add test of lockfile() timeout parameter
Cameron Simpson
cs.fileutils_tests: docstring
Cameron Simpson
cs.fileutils: spelling fix
Cameron Simpson
cs.fileutils: more file_property docstringage
Cameron Simpson
cs.fileutils: add example code to file_property docstrings
Cameron Simpson
Automated merge with file:///Users/cameron/hg/css
Cameron Simpson
cs.fileutils: (UNTESTED) first attempt at make_files_property to monitor multiple files, such as for nested mailfiler rule files
Cameron Simpson
cs/fileutils_tests: catch TimeoutError from nested lockfile instead of EEXIST
Cameron Simpson
cs.fileutils: whitespace
Cameron Simpson
cs.fileutils: raise TimeoutError for timeout==0 instead of EEXIST
Cameron Simpson
cs.timeutils: TimeoutError: should initialisation message properly in __str__
Cameron Simpson
cs.fileutils: set timeout=0 for nested lockfile test to accomodate recent lockfile default params changes (block=False ==> timeout=None)
Cameron Simpson
cs.app.mailfiler: parserules(): replace some old debugging with a simpler sanity check
Cameron Simpson
delif, eth: adapt for Darwin aka MacOSX
Cameron Simpson
dlog: prefix message with command name
  1. Prev
  2. Next