Outdated Task version
Newer versions of Task don't have the read available anymore
yes many changes have occurred so woudl be nice to run a update if you get time.
remote files is stable now.
I tried to upgrade but hit the following breakage
go: finding module for package github.com/go-task/task/v3/taskfile/read
go: github.com/titpetric/task-ui/server/config imports
github.com/go-task/task/v3/taskfile/read: module github.com/go-task/task/v3@latest found (v3.43.3), but does not contain package github.com/go-task/task/v3/taskfile/read
I think the ultimate fix for this is to use a subset of the task yaml structures that are required for task-ui and decouple. Can't deal with the breaking change otherwise. But the good news is that it should work without an update, as the schema didn't change. Task UI just invokes the task you have installed in your system.
I forgot a lot about this, but i forget what a good alternative is, maybe it was rundeck? Basically gist with it's own runtime env would be nice, there's also work on a scheduler I did previously which could be repurposed.
This is basically a launcher with no access or privilege control, and I find those things usable when you want to self service some things in a service-provider setting. Used a custom variant for a deployment dashboard, so devs could trigger deploys for what they had. There is convenience, sure, but when you're a single dev, what are you picking this up for? Is the point of it being a small tty-dricen CGI somehow a great fit for you?
On Thu, May 1, 2025, 11:11 Joe @.***> wrote:
joeblew999 left a comment (titpetric/task-ui#7) https://github.com/titpetric/task-ui/issues/7#issuecomment-2844430341
I tried to upgrade but hit the following breakage
go: finding module for package github.com/go-task/task/v3/taskfile/readgo: github.com/titpetric/task-ui/server/config imports github.com/go-task/task/v3/taskfile/read: module @.*** found (v3.43.3), but does not contain package github.com/go-task/task/v3/taskfile/read
— Reply to this email directly, view it on GitHub https://github.com/titpetric/task-ui/issues/7#issuecomment-2844430341, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABY7EFTKNO7IOVPDH3S66T24HQMBAVCNFSM6AAAAABNJOCBHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNBUGQZTAMZUGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I agree .
This is using a technique that is decoupled from task .
https://github.com/aleksandersh/task-tui
I am adding the ability to select what task you want using tab completion to it , which will also work in your web gui too . For monster task files :)
In the end a common way to get a list of tasks , and sub tasks is the way.
https://github.com/livekit/livekit-cli/blob/main/pkg/bootstrap/bootstrap.go looks like another way to do it.
Its using the offical API https://taskfile.dev/reference/package#githubcomgo-tasktaskv3taskfile
Joe, that would still import their model. Not sure if that's the best course here. I have to figure out if task had -l --json. But in the interim, why not.
I'll see what I can do, quick wishlist issues accepted. Ideally there is a design update there, a css/browser bug or two, and a deprecated/old term.js, websocket... hah
Nothing is ever simple, but PRs welcome
On Fri, May 2, 2025, 07:18 Joe @.***> wrote:
joeblew999 left a comment (titpetric/task-ui#7) https://github.com/titpetric/task-ui/issues/7#issuecomment-2846333723
https://github.com/livekit/livekit-cli/blob/main/pkg/bootstrap/bootstrap.go looks like another way to do it.
— Reply to this email directly, view it on GitHub https://github.com/titpetric/task-ui/issues/7#issuecomment-2846333723, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABY7ECAYBOQHEZGGAKCC7T24L52BAVCNFSM6AAAAABNJOCBHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNBWGMZTGNZSGM . You are receiving this because you commented.Message ID: @.***>
I don’t think task has a —json .
The package api looks good though . It’s new and so they want people to bind to it . It looks quite well done . That’s what livekit is binding to .
Wish list :
- tab completion ( via search box ) for large task files , like mine .
- CSS fix obviously .
- ability to do tab completion from cli also . So can start it up in web or cli mode .
This tab completion system looks awesome ,and can be used for the cloud and web . https://github.com/carapace-sh/carapace-bin
For web I was planning to use Datastar .
https://github.com/starfederation/datastar/tree/develop/examples/go/hello-world Allows tab completion and updating if task output .
To allow server management where the server is not at all provisioned inside Cloudflare ( always on ) to run the task web gui , and provision and run tasks on servers . https://github.com/syumai/workers. Been using it for task stuf and other things . Auth is just an overlay system to get to the web gui .
I use task to run one off tasks , but also to run workflows , with Datastar being the forms system.
The last one may be a bash autocompletion script that reads in some info from task, i wonder...
https://github.com/go-task/task/issues/103
Seems like there is some capacity for it if you go installer route, would need to dig into it a bit to see how it was implemented. Not sure its a task-ui thing other than making a large task file decently represented with an UI.
On Sat, May 3, 2025, 02:12 Joe @.***> wrote:
joeblew999 left a comment (titpetric/task-ui#7) https://github.com/titpetric/task-ui/issues/7#issuecomment-2848302811
I don’t think task has a —json .
The package api looks good though . It’s new and so they want people to bind to it . It looks quite well done .
Wish list :
- tab completion ( via search box ) for large task files , like mine .
- CSS fix obviously
- ability to do tab completion from cli also . So can start it up in web or cli mode .
This tab completion system looks awesome ,and can be used for the cloud and web . For web I was planning o use Datastar .
https://github.com/starfederation/datastar/tree/develop/examples/go/hello-world Allows tab completion and updating if task output .
— Reply to this email directly, view it on GitHub https://github.com/titpetric/task-ui/issues/7#issuecomment-2848302811, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABY7EBK7VA3XOXBITOAE7L24QCXZAVCNFSM6AAAAABNJOCBHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNBYGMYDEOBRGE . You are receiving this because you commented.Message ID: @.***>
Hey again :)
I read the link to the Issue you have... But its a data driven problem, so a normal solution will not work I feel.
https://github.com/carapace-sh/carapace-bin/blob/master/completers/task_completer/cmd/root.go seems better .... I have not tried it yet though.
But carapace looks seriously amazing. It's kind of amazing how many systems it supports too. Seriously a big effort.
I see its tab completion system as being the same as what we can do for the Web GUi too. Its not a tab, but a lookup when you stop typing, that gets the tasks that match, like "aaa:bbb:ccc", how tasks are typically describes. Maybe we should call it ":" / colon completion :) Causes thats the delimiter for tasks in a taskfile system. :)
Currently I decoupled from task:
task -l --jsondidn't provide enough detail (internal, interactive,...)task --summarydoesn't provide json/yaml
Just went with reading the taskfile from disk. This has a few caveats, namely that "include" doesn't pull in the tasks for that area, so who knows how crippled this is now. I think it was one of the main reasons why i went with the API in the first place.
Open new issues for remaining concerns.
probably best way to make it simple
Getting includes working with remotes will be tricky ? I think it's a huge mistake to not support remote includes as its a super power feature, but I can understand you wanted to KISS.