./sysutils/bkt, Subprocess caching utility

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.5.4, Package name: bkt-0.5.4, Maintainer: pkgsrc-users

bkt (pronounced bucket) is a subprocess caching utility written in Rust,
inspired by bash-cache.
Wrapping expensive process invocations with bkt allows callers to reuse recent
invocations without complicating their application logic. This can be useful in
shell prompts, interactive applications such as fzf, and long-running programs
that poll other processes.

When bkt is passed a command it hasn't seen before (or recently) it executes
the command synchronously and caches its stdout, stderr, and exit code.
Calling bkt again with the same command reads the data from the cache and
outputs it as if the command had been run again.


Master sites:

Filesize: 26.294 KB

Version history: (Expand)


CVS history: (Expand)


   2022-04-06 11:55:37 by pin | Files touched by this commit (3) | Package updated
Log message:
sysutils/bkt: update to 0.5.4

-Patch release to aid packaging for Debian (see #12).
 No new functionality vs. 0.5.2
   2022-03-14 11:18:08 by pin | Files touched by this commit (3) | Package updated
Log message:
sysutils/bkt: update to 0.5.3

-Patch release to aid packaging for Debian (see #12).
 No new functionality vs. 0.5.2.
   2022-02-07 10:17:55 by pin | Files touched by this commit (2) | Package updated
Log message:
sysutils/bkt: update to 0.5.2

-Handle (i.e. ignore) BrokenPipe errors, which indicate stdout/stderr were
 closed without reading all output.
   2022-02-01 20:17:29 by pin | Files touched by this commit (5)
Log message:
sysutils/bkt: import package

bkt (pronounced bucket) is a subprocess caching utility written in Rust,
inspired by bash-cache.
Wrapping expensive process invocations with bkt allows callers to reuse recent
invocations without complicating their application logic. This can be useful in
shell prompts, interactive applications such as fzf, and long-running programs
that poll other processes.

When bkt is passed a command it hasn't seen before (or recently) it executes
the command synchronously and caches its stdout, stderr, and exit code.
Calling bkt again with the same command reads the data from the cache and
outputs it as if the command had been run again.