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
Pete Davison
4d15a8be8f
feat: remove logger from taskfile package ( #2082 )
...
* refactor: remove logger from the taskfile node interface
* refactor: functional options on taskfile.Reader
* feat: use pass in debug/prompt functions to Reader rather than task Logger
* chore: reader docstrings
* fix: typo
2025-02-22 16:00:37 +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
Alexey Palazhchenko
2aa2963565
chore(deps): switch to mainted fork of git-urls
( #1917 )
2024-11-12 09:29:29 +01:00
Valentin Maerten
e6ea0647d7
feat(remote): support include git remote ( #1652 )
2024-09-24 13:44:54 -04:00
Valentin Maerten
6012da7a21
feat(remote): prefix checksums/cached files with the filename ( #1636 )
...
* feat(remote): add the task filename in the checksum / cache filename
* prefix the filename with the lastDir from the path
2024-06-28 17:07:43 +01:00
Pete Davison
651033c5a7
feat: stdin required -t - ( #1623 )
2024-05-08 16:44:05 +01:00
Pete Davison
6b3f8e29bb
fix: optional includes
2024-04-09 12:37:18 +01:00
Pete Davison
64b7d3415a
feat: use timeout in RemoteExists function
2024-03-25 19:13:27 +00:00
Pete Davison
9a5fb38f48
refactor: rename node resolver methods
2024-03-25 19:13:27 +00:00
Pete Davison
68191205c7
feat: don't send entire include to node resolvers
2024-03-25 19:13:27 +00:00
Pete Davison
cbc19d35ea
feat: root remote taskfiles
2024-03-25 19:13:27 +00:00
Pete Davison
3c05c9c6e1
fix: taskfile directory ( #1530 )
...
* fix: taskfile directory
* tests: add tests for special vars when running from a subdirectory
2024-03-04 11:34:44 +00:00
Pete Davison
c7ba42b81a
fix: resolve directory correctly when using --dir
2024-02-22 14:59:54 -06:00
Pete Davison
bb9d582255
feat: stdin node
2024-02-22 14:59:54 -06:00
Pete Davison
dfe39bfb5d
feat: support multiple experiment values
2024-01-11 14:44:04 +00:00
Pete Davison
61c0c32c2a
fix: find and replace mistake
2023-12-29 20:42:30 +00:00
Pete Davison
247c2586c2
refactor: taskfile/ast package ( #1450 )
...
* refactor: ast package
* feat: read -> taskfile
* refactor: taskfile.Taskfile -> taskfile.Read
* refactor: move merge function back into taskfile package
* refactor: rename taskfile.go to read.go
2023-12-29 20:32:03 +00:00