CVS commit: pkgsrc/devel/task
"Iku Iwasa" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: pkgsrc
Committed By: iquiw
Date: Sat Aug 22 06:43:44 UTC 2026
Modified Files:
pkgsrc/devel/task: Makefile distinfo go-modules.mk
Log Message:
devel/task: update to 3.53.1
Features
* Remote Taskfiles are now generally available! This has been an
experimental feature for 3 years, but is now enabled by default. Massive
thanks to all those that contributed and gave feedback (too many to list
here). We've also given the Remote Taskfiles documentation a bit of a
polish.
* Added a per-command timeout that terminates a command once it exceeds the
given duration (Go duration syntax). It covers shell commands, task
calls, deferred commands, deps and the if condition, obeys ignore_error,
and reports exit code 124. Callers that join a run: once or when_changed
task already running now honor their own timeout, and inherit that task's
failure instead of being told it succeeded.
* Considerably improve performance of fingerprinting on large repositories
(monorepos). Fingerprinting is up to 86% faster and make up to 70% fewer
memory allocations on the more advanced scenarios. Benchmarks were added
as well. We're basically skipping work when not needed.
* Further improved fingerprinting performance on large repositories:
hashing source files now reuses a single buffer, reducing memory
allocations by ~98% and wall-clock time by ~7%.
* includes.excludes can now exclude a whole namespace: append :* to the
namespace name, e.g. excludes: ['debug:*']. Bare entries still match a
single task name exactly.
* Added support for enum.ref in --interactive prompts. Required vars using
enum.ref now show the selection list like static enums, instead of
falling back to free-form input.
* Added Nushell completions, available via task --completion nu. They
complete task names and aliases, every flag with its description, and the
values of --completion, --output and --sort.
* Added a verbose log line for failed tasks. In --verbose mode, a task
whose command exits non-zero now reports task: "<name>" failed: <error>
instead of stopping without a trace.
Fixes
* Fixed a pinned checksum: not being verified when a remote Taskfile came
from the cache.
* Fixed the fingerprint variable ({{.CHECKSUM}}/{{.TIMESTAMP}}) ignoring a
method: set at the Taskfile level: the variable now follows the same
method resolution as the up-to-date check. Only the variable matching the
effective method is injected, so a task inheriting a Taskfile-level
method: timestamp gets {{.TIMESTAMP}} and no longer a {{.CHECKSUM}}
(which now renders as an empty string), and neither variable is injected
when the effective method is none.
* Fixed ref: in for: matrix: and enum: only accepting literal lists. Refs
computed with template functions like keys or splitList no longer fail
with "must resolve to a list".
* Fixed pressing Esc at an interactive variable prompt not cancelling the
run.
* Fixed joinUrl collapsing the // in a URL scheme (e.g. producing
http:/localhost instead of http://localhost).
* Fixed the JSON schema rejecting ignore_error on a command inside a for
loop. Editors no longer flag a Taskfile that Task runs perfectly fine.
* Fixed the JSON schema rejecting more keys the Taskfile parser accepts:
ignore_error on a task: call, and if, set and shopt on a command inside a
for loop.
Documentation & Website
* Updated taskfile versions doc to mention when version checks were
introduced.
* Load the sidebar data and titles/excerpts from the blog post markdown
document and its frontmatter on the website.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/task/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/task/distinfo \
pkgsrc/devel/task/go-modules.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed)
(text/x-diff, 146.8 KB) - not displayed