Valentin Maerten
c8a3ecc7fa
rename const
2025-04-23 10:44:21 +02:00
Valentin Maerten
c8ff248999
feat: read cache expiry from taskrc and env
2025-04-22 08:48:34 +02:00
Andrey Nering
3976e8372a
chore: move the experiments
package out of the internal/
dir
...
Closes #2014
2025-04-21 13:55:56 -03:00
Pete Davison
c5afffb551
feat: recursive config search ( #2166 )
...
* refactor: experiments flags
* refactor: args.Parse
* feat: recursive search for taskrc files
* feat: consolidate some code into new fsext package
* feat: add tests for search and default dir
* fix: linting issues
2025-04-19 12:20:33 +01:00
Pete Davison
a84f09d45f
feat: remote taskfile improvements (cache/expiry) ( #2176 )
...
* feat: cache as node, RemoteNode and cache-first approach
* feat: cache expiry
* feat: pass ctx into reader methods instead of timeout
* docs: updated remote taskfiles experiment doc
* feat: use cache if download fails
2025-04-19 12:12:08 +01:00
Jay Berkenbilt
e65159f613
docs: clarify --dir
flag ( #2123 )
...
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>
2025-04-17 23:10:57 +00:00
Pete Davison
2a92b70bc2
feat: better functional options ( #2147 )
2025-03-31 21:49:00 +01:00
Timothy Rule
532644d7f8
feat: create NoSort sorter for CLI sort option "none" ( #2125 )
2025-03-16 13:17:14 +00:00
Pete Davison
ffeb3bcc3f
refactor: executor functional options ( #2085 )
...
* refactor: executor functional options
* refactor: minor tidy up of list code
* fix: WithVersionCheck missing from call to NewExecutor
* feat: docstrings for structs with functional options
* refactor: prefix the functional options with the name of the struct they belong to
2025-03-10 20:38:25 +00:00
Pete Davison
6ce798e16c
feat: experiments logging improvements ( #2049 )
...
* feat: warn when enabling inactive experiments
* feat: TASK_ environment prefix
* feat: calculate experiment enabled/active instead of storing
* refactor: rename GetTaskVar to GetTaskEnv
* feat: experiments tests
2025-02-08 23:02:51 +00:00
Oleksandr Redko
bc844246d4
chore: allow using only github.com/go-task/task/v3/errors package ( #1926 )
2024-11-30 12:00:58 -03:00
Norbert Hauriel
28a96d1427
docs(flags.go): flag description typo ( #1905 )
2024-11-04 12:58:48 +00:00
Valentin Maerten
ddccd1bb61
feat: add TASK_OFFLINE env and expose it as a special variable ( #1716 )
...
Co-authored-by: Pete Davison <pd93.uk@outlook.com>
2024-09-21 11:17:15 -04:00
Pete Davison
3747b2ab7f
feat: completion command ( #1157 )
2024-09-02 19:21:53 +00:00
Valentin Maerten
76030c9146
feat(remote): add a command to clear the cache ( #1639 )
...
* feat(remote): add a command to clear the cache
* Update cmd/task/task.go
Co-authored-by: Andrey Nering <andrey@nering.com.br>
* rebase
---------
Co-authored-by: Andrey Nering <andrey@nering.com.br>
2024-06-28 17:42:16 +01:00
Pete Davison
ddd9964db7
feat: warn about move from any variables to map variables ( #1618 )
2024-04-24 21:40:52 +01:00
Pete Davison
cbc19d35ea
feat: root remote taskfiles
2024-03-25 19:13:27 +00:00
Pete Davison
d30539c17e
refactor: move flags into their own package ( #1521 )
...
* feat: move flags to their own package
* refactor: move flag validation into flags package
2024-02-29 00:12:19 +00:00