-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
many: make snap pack --check-skeleton error logs consistent (#14547)
* many: make snap pack --check-skeleton error logs consistent This fixes inconsistencies in "snap pack --check-skeleton" error logs consistent. - shows detailed logs only if SNAPD_DEBUG is set. - returns first error caught It should be explored how to aggregate errors with consistency in mind as this is parsed by snapcraft. Signed-off-by: Zeyad Gouda <[email protected]> * snap/pack/pack_test.go: adjust tested file permissions Signed-off-by: Zeyad Gouda <[email protected]> * snap: add error type checks in unit tests Signed-off-by: Zeyad Gouda <[email protected]> * snap/pack: revert to Noticef logger to avoid regressions Signed-off-by: Zeyad Gouda <[email protected]> * cmd/snap: fix flakey TestPackPacksFailsForMissingPaths test Signed-off-by: Zeyad Gouda <[email protected]> --------- Signed-off-by: Zeyad Gouda <[email protected]>
- Loading branch information
1 parent
0a99a8d
commit 7446f59
Showing
5 changed files
with
94 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters