Homec4science

Add a console progress bar

Authored by epriestley <git@epriestley.com> on Aug 27 2013, 14:14.

Description

Add a console progress bar

Summary:
Ref T988. This is pretty fluff, but we have a few processes that do long-running processing and either don't report progress or do something relatively un-useful like printing a lot of dots.

Provide a progress bar with reasonable behaviors (notably: awareness of TTYs, of --trace, of console widths, and of exceptions).

Test Plan: Ran progress_bar.php script under all the special conditions it notes.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, chad

Maniphest Tasks: T988

Differential Revision: https://secure.phabricator.com/D6813

Details

Committed
epriestley <git@epriestley.com>Aug 27 2013, 14:14
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU4dc37df2bd86: Make PhutilDocblockParser slightly more liberal in finding "@special"…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU4dfb8857a7db: Add a console progress bar (authored by epriestley <git@epriestley.com>).Aug 27 2013, 14:14