Skip to content

cli: show analysis progress on an interactive terminal #191

Description

@DaisukeYoda

pyscn shows progress bars on stderr when it runs in an interactive terminal. It estimates the remaining time from the timings of earlier runs, which it caches.

polyscan prints nothing until the analysis finishes. Large repositories therefore look stalled.

Proposal: show progress on stderr when stderr is a TTY, and show nothing otherwise.

Reference: pyscn service/progress_manager.go, service/timing_cache.go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions