| CARVIEW |
Select Language
HTTP/2 200
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: PHPSESSID=ll9rrbn9ueu5rtn4d2rpuqgqp5; path=/
content-type: text/html; charset=UTF-8
date: Sat, 27 Dec 2025 22:56:04 GMT
server: Apache
pkgsrc.se | The NetBSD package collection
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
mail
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
print
regress
security
shells
sysutils
bkt
textproc
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./sysutils/bkt, Subprocess caching utility
[
Branch: CURRENT, Version: 0.8.2, Package name: bkt-0.8.2, 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.
Navigation:
-
Browse pkgsrc
(this page)
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
regress
security
shells
sysutils
bkttextproc
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./sysutils/bkt, Subprocess caching utility
[
CVSweb ] [
Homepage ] [
RSS ] [
Required by ] [
Add to tracker ]
Branch: CURRENT, Version: 0.8.2, Package name: bkt-0.8.2, 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: 36.4 KBVersion history: (Expand)
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
- (2025-07-15) Package has been reborn
- (2025-07-15) Package deleted from pkgsrc
- (2024-12-02) Updated to version: bkt-0.8.2
- (2024-09-30) Updated to version: bkt-0.8.1
CVS history: (Expand)
| 2025-11-25 07:59:32 by Thomas Klausner | Files touched by this commit (1) |
Log message: bkt: use github instead of dead HOMEPAGE |
| 2024-12-02 15:05:20 by pin | Files touched by this commit (3) | |
Log message: sysutils/bkt: update to 0.8.2 - Bookkeeping release, no changes from 0.8.1. |
| 2024-09-30 20:53:17 by pin | Files touched by this commit (3) | |
Log message: sysutils/bkt: update to 0.8.1 What's Changed - Separate cache directories are now used per-user, avoiding permission issues \ on multi-user systems, #35 |
| 2024-01-25 11:02:10 by pin | Files touched by this commit (3) | |
Log message:
sysutils/bkt: update to 0.8.0
What's Changed
- --ttl is now a required flag. Historically it arbitrarily defaulted to one
minute; to preserve this behavior you can set BKT_TTL=1m in the environment
that's executing bkt (#48 and #27)
- Swapped from Instant to SystemTime for TTL arithmetic and related operations
(#45)
- Scopes are now base-64 encoded to support scope names that don't happen to
be valid file names (#51)
- Improve error message on permission failures (#35)
API Changes
- CacheStatus::Hit(Instant) has been replaced with CacheStatus::Hit(SystemTime)
|
| 2023-08-29 08:31:50 by pin | Files touched by this commit (2) | |
Log message: sysutils/bkt: update to 0.7.1 - Patch release to pick up the fix for #44 which was a regression introduced in 0.7.0. |
| 2023-08-28 10:18:51 by pin | Files touched by this commit (2) | |
Log message: sysutils/bkt: update to 0.7.0 What's Changed - stdout/stderr are now streamed as the subprocess is executing, rather than output only once the subprocess completes (#43). - NotFound errors during cleanup are now ignored (#42). - Improved error handling for malformed executables (#37). API Changes - New methods Bkt::retrieve_streaming and Bkt::refresh_streaming have been added for library users that want to stream output, however these methods are subject to change and should be treated as experimental. |
| 2023-04-13 20:07:05 by pin | Files touched by this commit (3) | |
Log message: sysutils/bkt: update to 0.6.1 - Patch release adjusting how --help's output is wrapped. |
| 2023-04-03 13:04:04 by pin | Files touched by this commit (3) | |
Log message: sysutils/bkt: update to 0.6.0 What's Changed - Support environment variables BKT_TTL, BKT_SCOPE, and BKT_CACHE_DIR as alternatives for flags --ttl, --scope, and --cache-dir, respectively (#15) - Added support for keying the cache off one or more files' last-modified time via the --modtime flag (#10). - --discard_failures is included in the cache key, meaning bkt -- foo and bkt --discard_failures -- foo will be cached separately. - Added CI test coverage of feature="debug" behavior. - Fixed flaky tests that relied unnecessarily on how file modtimes change (#14) API Changes - Bkt::discard_failures() is now set on CommandDesc, and affects the cache key. - Added a CommandState type, making CommandDesc safe to persist and pass around. Environment details like the working directory and environment variables are captured when the CommandState instance is constructed. - Bkt::retrieve and Bkt::refresh now return more metadata about the cache state (e.g. whether there was a cache hit or miss). - Upgraded to Clap v4 (#25). |
