Commits

Author Commit Message Labels Comments Date
Cameron Simpson
cs.app.pilfer: move to new RunTreeOp.mode usage form and make a small reforulation of some lambdas
Cameron Simpson
cs.threads: RunTreeOp and runTree(): replace op.fork with op.mode, supporting None, "PARALLEL", and "FORK"
Cameron Simpson
cs.threads.runTree(), cs.app.pilfer: rename RunTreeOp.copy to .copystate
Cameron Simpson
cs.threads_tests: test__01_same_fork: convert runTree() result to list from an iterable for comparison
Cameron Simpson
Automated merge with file:///Users/cameron/hg/css
Cameron Simpson
cs.threads: runTree(): recast "items" as more generic "input", and clarify that only forked operations need input to be iterable, and that suhc functions return iterables that are chained together
Cameron Simpson
cs.threads: runtree(): accept bare functions in the operator list and convert them to RunTreeOps
Cameron Simpson
cs.threads: runTree: make op.func optional (branches often may not have an op.func), wait for background runs to complete before return
Cameron Simpson
cs.threads: runTree(): remove operationQ deque - using a more parallel approach for op.branch
Cameron Simpson
cs.threads: op.branch is now a callable returning an iterable of operators to perform the branch
Cameron 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
cs.threads: runTree: wrap operators iteration in a queue to allow branching by queuing more operators
Cameron Simpson
mysql-show-grants: fetch user GRANTs from mysql db, code adapted from cpmysql
Cameron Simpson
cs.app.pilfer: implement "per" action (forks and copies state), make one_test actions fork
Cameron Simpson
cs.app.pilfer: make "title" act a bit like a browser - return URL if no title.
Cameron Simpson
cs.app.pilfer: "first" and "last" actions.
Cameron Simpson
cs.app.pilfer: Pilfer.set_user_vars(**kw): set user variable values from kw args.
Cameron Simpson
cs.app.pilfer: use underscores in multiword action names
Cameron Simpson
cs.app.pilfer: Pilfer: add a state lock for Pilfer.
Cameron Simpson
cs.threads: bugfix race condition: use a lock around .idle deque tests and manipulation
Cameron Simpson
cs.urlutils: import cs.logutils.D for debugging
Cameron Simpson
cs.app.pilfer: default .urls-seen filename, load seen URLs on initialisation
Cameron Simpson
cs.app.pilfer: bugfix "..", docstring for has_exts
Cameron Simpson
cs.app.pilfer: move .ext selection action into action_operator
Cameron Simpson
cs.app.pilfer: Pilfer.{seen_urls,see,seen} not a watched file property any more
Cameron Simpson
Automated merge with file:///Users/cameron/hg/css
Cameron Simpson
cs.app.pilfer: make fork/copy semantics more obvious
Cameron Simpson
cs.app.pilfer: implement user_var assignments via fictitious Pilfer.format method, move function wrapper functions out
Cameron Simpson
rig-adzapper: mark all parents as available for round robin
Cameron Simpson
squid-peerage: clean up allow/deny logic for peers with/without "*" in their patterns
  1. Prev
  2. Next