Skip to content

Improve readability for .gitpod.yml task log output #15010

@axonasif

Description

@axonasif

Is your feature request related to a problem? Please describe

Tasks execution feels quite verbose and could confuse a new user to understand what's actually happening due to the duplicated printouts.
Screenshot 2022-11-28 at 8 10 08 PM

This is specially more important when you're creating templates and want to provide the user with some instructions in the terminal. For example, in template-flutter, as a workaround we're having to clear the whole terminal.

Describe the behaviour you'd like

Something like this:
Screenshot 2022-11-28 at 8 08 28 PM

This is done by executing bash with the task in cmdline instead of sending to the pty that causes the duplicate printouts. For long tasks source command is used in cmdline from a pipe.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions