Path to this page:
Subject: CVS commit: pkgsrc/devel/task
From: Iku Iwasa
Date: 2025-05-05 03:57:38
Message id: 20250505015738.8631DFBE3@cvs.NetBSD.org
Log Message:
devel/task: update to 3.43.3
Pkgsrc changes:
* Remove -ldflags for version and sum as the version is provided from
version.txt in the package.
Upstream changes:
v3.43.3
* Reverted the changes made in #2113 and #2186 that affected the
USER_WORKING_DIR and built-in variables.
This fixes #2206, #2195, #2207 and #2208.
v3.43.2
* Fixed regresion of CLI_ARGS being exposed as the wrong type.
v3.43.1
* Significant improvements were made to the watcher. We migrated from
watcher to fsnotify. The former library used polling, which means Task had
a high CPU usage when watching too many files. fsnotify uses proper the
APIs from each operating system to watch files, which means a much better
performance. The default interval changed from 5 seconds to 100
milliseconds, because now it configures the wait time for duplicated
events, instead of the polling time.
* The Map Variables experiment was made generally available so you can now
define map variables in your Taskfiles!.
* Wildcards can now match multiple tasks.
* Added the ability to loop over the files specified by the generates
keyword. This works the same way as looping over sources.
* Added the ability to resolve variables when defining an include
variable.
* A few changes have been made to the Remote Taskfiles experiment:
* Cached files are now prioritized over remote ones.
* Added an --expiry flag which sets the TTL for a remote file cache. By
default the value will be 0 (caching disabled). If Task is running in
offline mode or fails to make a connection, it will fallback on the
cache.
* .taskrc files can now be used from subdirectories and will be searched for
recursively up the file tree in the same way that Taskfiles are.
* The default taskfile (output when using the --init flag) is now an
embedded file in the binary instead of being stored in the code.
* Improved the way we report the Task version when using the --version flag
or {{.TASK_VERSION}} variable. This should now be more consistent and
easier for package maintainers to use.
* Fixed a bug where globstar (**) matching in sources only resolved the
first result.
* Fixed a bug where sorting tasks by "none" would use the default sorting
instead of leaving tasks in the order they were defined.
* Fixed Fish completion on newer Fish versions.
* Fixed a bug where undefined/null variables resolved to an empty string
instead of nil.
* The USER_WORKING_DIR special now will now properly account for the --dir
(-d) flag, if given.
* Fix Fish completions when --global (-g) is given.
* Fixed variables not available when using defer:.
Files: