Bug #16639

Output of the ISO/IMG build is confusing

Added by intrigeri 2019-04-08 13:44:53 . Updated 2019-05-19 16:37:04 .

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
Build system
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

The output (stdout, stderr) of our build system is confusing: it mixes status info we echo on purpose (generally, that’s essentially section headings) with the output of whatever tool we run to implement what the section is about. Similarly, when a build fails, it’s hard to tell what’s the reason: the higher-level error message we display on purpose is generally hidden in the middle of lower-level tools output.

If all the instances of echo in our build source code were using the “E: ”, “I: ”, “W: ” prefix convention, such output would be easier to read. More involved solutions could improve this further but let’s first focus on this low-hanging fruit and see how it goes.

(Reporting from a discussion with segfault.)


Subtasks


Related issues

Related to Tails - Feature #15864: Make onboarding of new developers easier In Progress 2018-08-30

History

#1 Updated by intrigeri 2019-04-08 13:45:02

  • related to Feature #15864: Make onboarding of new developers easier added

#2 Updated by intrigeri 2019-05-19 16:37:04

I’m not going to do this for All The Things, but I’m sneaking some of this into my branch for Bug #16730. I suspect that this approach (improving things in files we touch, as we go) has more chances to succeed than waiting for someone to tackle it all at once.