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

 
 

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

Submitter:  None
Submitted:  Fri 29 Feb 2008 05:05:12 PM UTC
   
 
Category:  Feature Request Severity:  3 - Normal
Priority:  4 Status:  Confirmed
Privacy:  Public Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.11
Operating System:  GNU/Linux Reproducibility:  Every Time
Fixed Release:  None Planned Release:  1.15
Regression:  None Work Required:  0 - Hours
Patch Included:  Yes
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
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>
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 Files:
   
   
Comment:
   

Attached Files
file #15146:  wget_nv-verbodity.diff added by None (3KiB - 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
  • -email is unavailable- added by macias
  • -email is unavailable- added by micahcowan (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-08-25 macias Carbon-Copy- Added -email is unavailable-
    2008-08-25 micahcowan StatusNone Confirmed
    2008-08-25 micahcowan Summarymake non verbose (-nv) switch more verbose allow progress bar for non verbose (-nv) mode
    2008-02-29 micahcowan Priority5 - Normal 4
        Planned ReleaseNone 1.15
        Work RequiredNone 0 - Hours
    2008-02-29 None Attached File- Added wget_nv-verbodity.diff, #15146

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code