The NetBSD Project

CVS log for pkgsrc/sysutils/bkt/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / bkt

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Dec 2 14:05:20 2024 UTC (2 months, 2 weeks ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
sysutils/bkt: update to 0.8.2

 - Bookkeeping release, no changes from 0.8.1.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Sep 30 18:53:16 2024 UTC (4 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -2 lines
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

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jan 25 10:02:10 2024 UTC (12 months, 3 weeks ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
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)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Aug 29 06:31:50 2023 UTC (17 months, 2 weeks ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
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.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 08:18:51 2023 UTC (17 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -8 lines
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.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Apr 13 18:07:04 2023 UTC (22 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
sysutils/bkt: update to 0.6.1

 - Patch release adjusting how --help's output is wrapped.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Apr 3 11:04:04 2023 UTC (22 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
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).

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Apr 6 09:55:37 2022 UTC (2 years, 10 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
sysutils/bkt: update to 0.5.4

-Patch release to aid packaging for Debian (see #12).
 No new functionality vs. 0.5.2

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Mar 14 10:18:08 2022 UTC (2 years, 11 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -4 lines
sysutils/bkt: update to 0.5.3

-Patch release to aid packaging for Debian (see #12).
 No new functionality vs. 0.5.2.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Feb 7 09:17:55 2022 UTC (3 years ago) by pin
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
sysutils/bkt: update to 0.5.2

-Handle (i.e. ignore) BrokenPipe errors, which indicate stdout/stderr were
 closed without reading all output.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 1 19:17:29 2022 UTC (3 years ago) by pin
Branches: MAIN
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>