Source

css / lib / python / cs / app / pilfer.py

Author Commit Message Labels Comments Date
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: action_operator: a couple of comments
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: fix call to os.path.exists, add tracing to queued operations
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: save: add overwrite keyword (default false)
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: replace Byzantine save function with simple and direct method for saner augumentation later
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: add "-j jobs" option to tune parallelism
Cameron Simpson avatarCameron Simpson
cs.threada, cs.app.pilfers: add func_sig optional parameter to RunTreeOp factory function to allow easy submission of functions other than many-to-many; import convertors from cs.app.pilfer and adapt the latter to use func_sig
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: converted functions are now generators since cs.threads.runTree now handles arbitrary iterables
Cameron Simpson avatarCameron Simpson
cs.threads: update docstring for runTree
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: Pilfer: use a lock around .print() operations, use Pilfer.print in "print" action
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: debugging tweaks and tidyups.
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: add X() tracing debug function.
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: implement s/regexp/replacement/g
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: up parallelism to 4, add a little debug, action_operator(): start Pfx slightly later
Cameron Simpson avatarCameron Simpson
Automated merge with file:///Users/cameron/hg/css
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: syntaxic support for == comparison actions
Cameron Simpson avatarCameron Simpson
cs.app.mailfiler,cs.app.pilfer,cs.configutils: supplant watched_file_property with file_property
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: reshape the lambda for "see" too
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: move to new RunTreeOp.mode usage form and make a small reforulation of some lambdas
Cameron Simpson avatarCameron Simpson
cs.threads.runTree(), cs.app.pilfer: rename RunTreeOp.copy to .copystate
Cameron Simpson avatarCameron Simpson
cs.threads: runTree(): add .branch attribute to RunTreeOp, if not None contains a function to dispatch in parallel as RunTreeOp(op.branch, op.fork, op.copy, None) with the current items
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: implement "per" action (forks and copies state), make one_test actions fork
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: make "title" act a bit like a browser - return URL if no title.
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: "first" and "last" actions.
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: Pilfer.set_user_vars(**kw): set user variable values from kw args.
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: use underscores in multiword action names
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: Pilfer: add a state lock for Pilfer.
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: default .urls-seen filename, load seen URLs on initialisation
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: bugfix "..", docstring for has_exts
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: move .ext selection action into action_operator
Cameron Simpson avatarCameron Simpson
cs.app.pilfer: Pilfer.{seen_urls,see,seen} not a watched file property any more
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.