Skip to content

oars 0.5.4

Choose a tag to compare

@github-actions github-actions released this 12 Nov 20:53
· 387 commits to main since this release
  • Wire format 7 and field list 14 are unchanged from 0.5.3 (CAPTURE_VERSION 35); the pool reads formats 3 to 7.
  • oars pool join takes you from nothing to a first deposit and your first fetch in one command: it runs login, deposit, outbox --explain, deposit --send for each batch not yet sent, and fetch in order, shows what each step does, and when a step stops, running it again continues from there (a held sign-in, an unsent batch, and a sent batch are not done twice). It needs --harness-version, as fetch does, and with --json it explains on stderr before the first send.
  • oars pool outbox and oars pool outbox --explain no longer fail with "Invalid string length" on a large outbox (about 6,500 sessions): they print one batch at a time, and --json writes the batches one at a time when one string would be too long.
  • oars pool deposit --send ended by Ctrl-C now exits 130, the shell convention for an interrupt; the text is unchanged, and any other way of stopping keeps its exit code.
  • oars pool remove <hash> removes one batch and its queued raw copies from this machine's outbox and keeps that session out of every later deposit, the background sender's included, until --restore; nothing is sent, and it refuses while a send holds the lock.
  • oars pool deposit --send now says the pool may already have received the batch when the connection drops after the request went out, and marks nothing sent.