Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2018 18:17:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233988] [patch] freebsd-update: improve progress output on terminals
Message-ID:  <bug-233988-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233988

            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@FreeBSD.org
          Reporter: tom@hur.st

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

This patch replaces freebsd-update's "...1030....1040...." progress reporti=
ng
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 cronj=
ob
shouldn't see any change.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233988-227>