bugGNU Wget - Bugs: bug #22448, allow progress bar for non verbose...

 
 

bug #22448: allow progress bar for non verbose (-nv) mode

Submitted by:  None
Submitted on:  Fri 29 Feb 2008 05:05:12 PM UTC  
 
Category: Feature RequestSeverity: 3 - Normal
Priority: 4Status: Confirmed
Privacy: PublicAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: OpenRelease: 1.11
Operating System: GNU/LinuxReproducibility: Every Time
Fixed Release: NonePlanned Release: 1.15
Regression: NoneWork Required: 0 - Hours
Patch Included: Yes

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 25 Aug 2008 07:01:59 PM UTC, comment #2:

Maciej Pilichowski recommends this behavior when --progress=bar is explicitly given, in combination with -nv, which had occurred to me as well. However, this is complicated by the way command-line arguments and wgetrc commands are done; we may not wish wgetrc commands to cause this effect.

Micah Cowan <micahcowan>
Project Administrator
Fri 29 Feb 2008 08:31:14 PM UTC, comment #1:

I don't think it'd be appropriate to make such a change to -nv. Perhaps a new option to support -v's progress bar, without the extra stuff (which has been requsted by others).

Micah Cowan <micahcowan>
Project Administrator
Fri 29 Feb 2008 05:05:12 PM UTC, original submission:

Wget non verbose switch is nearly the same as quiet switch. Just one line tells the user when a file finished.

What I miss from non verbose switch is some compact information of the download information like percentage, download rate and ETA. Especially useful to see if a download actually starts or the server is not capable to answer.

This non verbose switch change is very useful for Gentoo where they use Wget to fetch the source tarballs for their packages and sometimes the mirrors are unresponsive. So I can react whereas with actual non verbose switch I could not. Sure there are other examples where this change is useful.

My patch enables that informations to be printed while downloading for non verbose switch.

Example Output:

verbose, default
______________
die@ana:/tmp $ wget http://specs.openoffice.org/chart/ErrorBars.odt
--2008-02-29 17:02:25-- http://specs.openoffice.org/chart/ErrorBars.odt
Auflösen des Hostnamen »specs.openoffice.org«.... 204.16.104.2
Verbindungsaufbau zu specs.openoffice.org|204.16.104.2|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 154159 (151K) [application/vnd.oasis.opendocument.text]
In »ErrorBars.odt« speichern.

100%[===============================>] 150K 123K/s in 1,2s

2008-02-29 17:02:27 (123 KB/s) - »ErrorBars.odt« gespeichert [154159/154159]
die@ana:/tmp $

quiet
______________
die@ana:/tmp $ wget -q http://specs.openoffice.org/chart/ErrorBars.odt
die@ana:/tmp $

non verbose, here we see the change
______________
die@ana:/tmp $ wget -nv http://specs.openoffice.org/chart/ErrorBars.odt
100% 150K 123K/s in 1,2s

2008-02-29 17:02:37 URL:http://specs.openoffice.org/chart/ErrorBars.odt [154159/154159] -> "ErrorBars.odt.1" [1]
die@ana:/tmp $

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #15146:  wget_nv-verbodity.diff added by None (3kB - plain/text - make non verbose switch more verbose)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by macias
  • -unavailable- added by micahcowan (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 25 Aug 2008 08:14:09 PM UTCmaciasCarbon-Copy-=>Added -unavailable-
    Mon 25 Aug 2008 07:01:59 PM UTCmicahcowanStatusNone=>Confirmed
    Mon 25 Aug 2008 06:58:29 PM UTCmicahcowanSummarymake non verbose (-nv) switch more verbose=>allow progress bar for non verbose (-nv) mode
    Fri 29 Feb 2008 08:31:14 PM UTCmicahcowanPriority5 - Normal=>4
      Planned ReleaseNone=>1.15
      Work RequiredNone=>0 - Hours
    Fri 29 Feb 2008 05:05:13 PM UTCNoneAttached File-=>Added wget_nv-verbodity.diff, #15146

    Back to the top


    Powered by Savane 3.1-cleanup