Snapcraft doesn't store build logs

Bug #1590807 reported by Sebastien Bacher
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Medium
Unassigned
snapcraft (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

snapcraft doesn't seem to store build logs by default nor to provide an option to do that, that's something that e.g deb packaging tools do and that comes often handy for debugging (you might have the interesting part out of your buffer or want to go back at looking at something the next day)

Changed in snapcraft:
status: New → Triaged
importance: Undecided → Medium
Simon Quigley (tsimonq2)
Changed in snapcraft:
assignee: nobody → Simon Quigley (tsimonq2)
status: Triaged → In Progress
Simon Quigley (tsimonq2)
summary: - doesn't store build logs
+ Snapcraft doesn't store build logs
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapcraft (Ubuntu):
status: New → Confirmed
Simon Quigley (tsimonq2)
Changed in snapcraft:
status: In Progress → New
assignee: Simon Quigley (tsimonq2) → nobody
status: New → Confirmed
Leo Arias (elopio)
Changed in snapcraft:
status: Confirmed → Triaged
Revision history for this message
Leo Arias (elopio) wrote :

Hey Sebastian,

We are working on recording a manifest of what happened during the build, like the packages that were installed, and info about the machine. Is that what you want, or do you want the full output printed to stdout?

Changed in snapcraft:
status: Triaged → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

having the full log would be useful for the reason stated in the bug description (looking for deprecations warning in the log later for example)

Changed in snapcraft:
status: Incomplete → New
Revision history for this message
Leo Arias (elopio) wrote :

Thanks seb. I'm marking this as Triaged.

We improved a little the stuff we print to the terminal. Now we need to improve logging and also the way we call subprocess when we capture the output.

This will require touching pieces of code everywhere, but now that we are using a nicer cli library it doesn't sound like a terrible job.

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

Duplicates of this bug

Other bug subscribers