Valentin Maerten
542fe465e9
✨ feat(output): add gitlab output mode ( #2806 )
...
Adds a new `gitlab` output style that wraps each task's output in GitLab
CI collapsible section markers. Section IDs are generated automatically
so that start and end markers always match and stay unique per
invocation — even when the same task runs multiple times in one job.
Options: `collapsed` (maps to GitLab's native `[collapsed=true]`) and
`error_only` (Task-level behavior, identical to `group.error_only`).
Also introduces `output-ci-auto` (taskrc + TASK_OUTPUT_CI_AUTO env var)
that auto-selects a CI-aware output style when a supported CI runner is
detected (currently `GITLAB_CI=true` → gitlab) and no output style is
explicitly configured. Keeps the Taskfile neutral so local devs are not
forced into CI-shaped output.
Refs #2806 .
2026-04-22 14:10:55 +02:00
Valentin Maerten
2ed77716be
feat(config): add environment variable support for all taskrc options ( #2607 )
2026-02-18 18:58:13 +01:00
Valentin Maerten
026c899d90
feat: support self-signed certificates for remote taskfiles ( #2537 )
2026-01-25 18:51:30 +01:00
Valentin Maerten
6dedcafd7d
feat(vars): add interactive prompting for required variables ( #2579 )
2026-01-22 21:20:45 +01:00
Valentin Maerten
6660afc8d2
feat: auto-detect color output in CI environments ( #2569 )
2025-12-18 08:40:37 +01:00
Valentin Maerten
4ec6c453bd
feat: add remote.cache-dir taskrc option ( #2572 )
2025-12-18 08:32:11 +01:00
Valentin Maerten
a40ddd4949
refactor: optimize fuzzy matching with lazy initialization ( #2523 )
2025-12-07 21:43:26 +01:00
Andrey Nering
9b99866224
feat: add --failfast and failtest: true to control dependencies ( #2525 )
2025-12-07 17:23:08 -03:00
Maciej Lech
72a349b0e9
feat: add --trusted-hosts CLI and remote.trusted-hosts config for remote tasks ( #2491 )
...
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com >
2025-12-07 12:17:54 +01:00
Valentin Maerten
4836d42828
fix: cache expiry in Taskrc was not working ( #2423 )
2025-09-16 19:35:12 +02:00
Andrey Nering
43cb64e6cc
fix: address panic if a config file is not available
2025-09-11 10:02:51 -03:00
Pete Davison
4ae3071845
feat: nested json ( #2415 )
...
* feat: nested json
* feat: remove up_to_date from json output when --no-status flag is set
* feat: restrict use of --nested with --json and --list/--list-all
2025-09-11 10:26:59 +01:00
Valentin Maerten
0fdb5e8665
feat: add some config to taskrc.yml ( #2389 )
...
Co-authored-by: Pete Davison <pd93.uk@outlook.com >
2025-09-10 17:57:52 +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