snapcraft messages are too green

Bug #1692765 reported by Leo Arias
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

I think we are abusing with the green color for snapcraft messages.

For example, if we run snapcraft init followed by snapcraft snap, all the messages printed are green, which makes the color lose its purpose. (see the attached screenshot).

Maybe, something like this would me nicer

Created snap/snapcraft.yaml. <- green
Edit the file to your liking or run `snapcraft` to get started <- white
Preparing to pull my-part <- white
Pulling my-part <- white
Preparing to build my-part <- white
Building my-part <- white
Staging my-part <- white
Priming my-part <- white
Snapping 'my-snap-name' | <- white
Snapped my-snap-name_0.1_amd64.snap <- green

We have to do this analysis for all the commands, and decide when we want to highlight a successful result and when we just want to print information that shouldn't stand out too much.

Tags: ui
Revision history for this message
Leo Arias (elopio) wrote :
Revision history for this message
Cris Dywan (kalikiana) wrote :

So this is when there's no output from any stages, right? How about making it green only if the following command has some output? And/ or alternating colors, say blue and green?

Changed in snapcraft:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.