[Bug 233988] [patch] freebsd-update: improve progress output on terminals

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 13 18:17:52 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233988

            Bug ID: 233988
           Summary: [patch] freebsd-update: improve progress output on
                    terminals
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: tom at hur.st

Created attachment 200086
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200086&action=edit
Initial patch against head/usr.sbin/freebsd-update

This patch replaces freebsd-update's "...1030....1040...." progress reporting
with this:

    Fetching 8786 patches. 1030/8786 (11%)

A couple more dots in the middle wouldn't go amiss, but there's some odd
conditional logic for them based on verbose level, and I'm not going to mess
about with that too much until I've actually tested with them.

The old style remains if STDOUT isn't a tty, so users running it on a cronjob
shouldn't see any change.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list