Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using summary with a for loop using tasks is not very descriptive. #1414

Open
hans-d opened this issue Nov 29, 2023 · 0 comments
Open

Using summary with a for loop using tasks is not very descriptive. #1414

hans-d opened this issue Nov 29, 2023 · 0 comments
Labels
area: formatting Changes related to output and formatting. type: enhancement A change to an existing feature or functionality.

Comments

@hans-d
Copy link

hans-d commented Nov 29, 2023

Using summary with a for loop using tasks is not very descriptive.

vars:
  FROM_DIRS: a,b
tasks:
  example:
    desc: Something
    cmds:
      - for: { var: FROM_DIRS, split: ',' }
        task: next-task
        vars:
          DIR: '{{.ITEM}}'

task --summary example

task: example

Something

commands:
 - Task: next-task
 - Task: next-task

Might need vars or

      - for: { var: FROM_DIRS, split: ',' }
        task: next-task
        desc: '{{.task}} {{.ITEM}}'
        vars:
          DIR: '{{.ITEM}}'
  • Task version: v3.31.0
  • Operating system: Debian
  • Experiments enabled: false
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Nov 29, 2023
@vmaerten vmaerten added type: enhancement A change to an existing feature or functionality. area: formatting Changes related to output and formatting. and removed state: needs triage Waiting to be triaged by a maintainer. labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: formatting Changes related to output and formatting. type: enhancement A change to an existing feature or functionality.
Projects
None yet
Development

No branches or pull requests

3 participants