Snapcraft doesn't store build logs

Bug #1590807 reported by Sebastien Bacher on 2016-06-09
This bug affects 3 people
Affects Status Importance Assigned to Milestone
snapcraft (Ubuntu)

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) on 2016-06-13
Changed in snapcraft:
assignee: nobody → Simon Quigley (tsimonq2)
status: Triaged → In Progress
Simon Quigley (tsimonq2) on 2016-06-30
summary: - doesn't store build logs
+ Snapcraft doesn't store build logs
Launchpad Janitor (janitor) wrote :

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

Changed in snapcraft (Ubuntu):
status: New → Confirmed
Simon Quigley (tsimonq2) on 2016-08-01
Changed in snapcraft:
status: In Progress → New
assignee: Simon Quigley (tsimonq2) → nobody
status: New → Confirmed
Leo Arias (elopio) on 2017-03-19
Changed in snapcraft:
status: Confirmed → Triaged
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
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
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers