Skip to content
Snippets Groups Projects

show the status output on failure

Merged Caleb Connolly requested to merge caleb/status-on-failure into master
4 files
+ 18
10
Compare changes
  • Side-by-side
  • Inline
Files
4
  • There is a lot of context and state management needed when using
    pmbootstrap, sometimes it can be a lot to keep in your head. Let's print
    the output of "pmbootstrap status" when stuff goes wrong, this might
    help remind people if e.g. their pmaports checkout is on the wrong
    branch, or they're building for the wrong device.
    
    Additionally, don't print the "run pmbootstrap log for details" message
    if pmbootstrap was called with --details-to-stdout
    
    Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
+ 1
1
@@ -554,7 +554,7 @@ def lint(args: PmbArgs) -> None:
def status(args: PmbArgs) -> NoReturn:
pmb.helpers.status.print_status(args)
pmb.helpers.status.print_status()
# Do not print the DONE! line
sys.exit(0)
Loading