Named groups of tasks
See original GitHub issueSomething I’m currently doing is grouping related commands by their goal rather than their type, i.e. instead of having all the links together, I have:
#### vim ####
- shell:
- [git submodule update --init --recursive "vim/vim-plug", Installing vim-plug]
- link:
~/.vimrc: vim/.vimrc
~/.vim/autoload/plug.vim: vim/vim-plug/plug.vim
### fish ###
- link:
~/.config/fish/config.fish: fish/config.fish
While this works great, it leads to the output of dotbot not being as easy to parse:
- It’s pretty hard to see where one goal ends and the next begins, even with the green success messages.
- The success messages aren’t a great fit for repetition, it’s a little weird to see “All commands have been executed” multiple times.
Given this, it would be cool to lift this sort of jobs pattern into dotbot itself, so that dotbot can intelligently group output based on the jobs. I’m thinking something like this:
- jobs:
vim:
- shell:
- [git submodule update --init --recursive "vim/vim-plug", Installing vim-plug]
- link:
~/.vimrc: vim/.vimrc
~/.vim/autoload/plug.vim: vim/vim-plug/plug.vim
fish:
- link:
~/.config/fish/config.fish: fish/config.fish
(I’m not particularly for or against the top level jobs
task, but it seems like the easiest way to fit into the current plugin capability.)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Group tasks or resources - Microsoft Support
Group tasks or resources to into similar categories. You can group by status date, resource assignment, costs, and much more.
Read more >Rename Task Groups - TaskRay
In the Projects & Tasks sidebar, locate the task group that you want to rename, hover over its name, and click on the...
Read more >How To Group Tasks in Microsoft Project in 4 Steps | Indeed.com
The ability to group tasks can be a valuable project management ... To do so, select the first row in the “Task Name”...
Read more >Task groups - Amazon Elastic Container Service
A task group name must be 255 or fewer characters. Each task can be in exactly one group. After launching a task, you...
Read more >Group name and Project name in Microsoft Project for the Web
Hi,. as you know, in Microsoft Project for the Web, before you can assign Resource to any Task, you must either create a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great! I’m on it!
I have similar thoughts as expressed in https://github.com/anishathalye/dotbot/issues/225#issuecomment-653208889 and https://github.com/anishathalye/dotbot/issues/35#issuecomment-171951443. tl;dr I don’t really want the YAML config file to slowly grow into a programming language embedded in YAML (e.g. like Ansible). If we really do need those generic programming language constructs like conditionals, perhaps a better solution is to create a DSL embedded in a real programming language (Python, or maybe something else). It’s a tricky design decision to figure out exactly what features to include in our YAML config file. I want to spend a bit more time thinking about that before complicating the semantics of the YAML config any further. Would love to hear your thoughts on this. (I’ve been a bit busy recently; I hope to have a slightly more concrete proposal than the hypothetical examples in https://github.com/anishathalye/dotbot/issues/35#issuecomment-171951443 soon.)