• 
      

    Add utilities for running install processes and outputting debug info.

    Review Request #13462 — Created Dec. 26, 2023 and submitted

    Information

    rbinstall
    master

    Reviewers

    The new rbinstall.process module includes two utilities, debug() and
    run().

    debug() will output debug information to the console when the
    RBINSTALL_DEBUG environment variable is set to 1, optionally showing a
    custom prefix.

    run() will run a command, streaming output and raising an exception on
    errors. If RBINSTALL_DRY_RUN is set to 1, then the command won't
    actually be run.

    Successfully tested these with the rest of the installer.

    Summary ID
    Add utilities for running install processes and outputting debug info.
    The new `rbinstall.process` module includes two utilities, `debug()` and `run()`. `debug()` will output debug information to the console when the `RBINSTALL_DEBUG` environment variable is set to 1, optionally showing a custom prefix. `run()` will run a command, streaming output and raising an exception on errors. If `RBINSTALL_DRY_RUN` is set to 1, then the command won't actually be run.
    0ca2d075e1afd8e604be6d21707b15ae93c47079
    chipx86
    maubin
    1. Ship It!
    2. 
        
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (cf5d342)