Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the invalid build-package on error #355

Merged

Conversation

sergiusens
Copy link
Collaborator

The error that results from using an invalid build-package
is not very specific. This exposes the KeyError raised by apt.

LP: #1547672

Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com

The error that results from using an invalid build-package
is not very specific. This exposes the KeyError raised by apt.

LP: #1547672

Signed-off-by: Sergio Schvezov <sergio.schvezov@ubuntu.com>
@sergiusens sergiusens force-pushed the bugfix/1547672/mention-the-package branch from af961a0 to 8bc9e05 Compare March 1, 2016 07:28
@kyrofa
Copy link
Contributor

kyrofa commented Mar 1, 2016

Yeah, much better! 👍

'Could not find all the "build-packages" required in '
'snapcraft.yaml\n')
"Could not find a required package in 'build-packages': "
'"The cache has\nno package named \'inexistent-package\'"\n')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The newline in here is throwing me. Why is it here and not in the other test below?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dedent usage in snapcraft.main

sergiusens added a commit that referenced this pull request Mar 1, 2016
…ckage

Expose the invalid build-package on error
@sergiusens sergiusens merged commit f4b75f9 into canonical:master Mar 1, 2016
@sergiusens sergiusens deleted the bugfix/1547672/mention-the-package branch March 1, 2016 12:38
kalikiana pushed a commit to kalikiana/snapcraft that referenced this pull request Apr 6, 2017
…on-the-package

Expose the invalid build-package on error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants