bugGNU Wget - Bugs: bug #47533, [RFE] consolidate metalink options

 
 

bug #47533: [RFE] consolidate metalink options

Submitter:  None
Submitted:  Fri 25 Mar 2016 03:42:18 PM UTC
   
 
Category:  Feature Request Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Dusty Mabe Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  None
Operating System:  None Reproducibility:  None
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 25 Mar 2016 03:42:18 PM UTC, original submission:  


With [1] we would possibly have three options for metalink downloads:

--metalink - for urls that link to a metalink xml file
--input-metalink - for local metalink files on local disk
--metalink-over-http - for urls that have metalink information in http headers

I believe we could combine these all in to one option; --metalink.

Assuming wget --metalink $url is provided:

If provided --metalink file:///path/to/file; then
   process metalink xml file and download target
else if http headers received from $url; then
   process http header metalink information and download target
else if target is xml metalink from $url
   process metalink xml file and download target
else (the $url does not reference a metalink)
   fallback to normal http download of target

We could deprecate the --input-metalink and --metalink-over-http options and phase them out over time. Is this reasonable?

[1] https://savannah.gnu.org/bugs/index.php?47532

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by antbryan
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-25 antbryan Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code