bugGNU Wget - Bugs: bug #22766, .netrc supersedes .wgetrc

 
 

bug #22766: .netrc supersedes .wgetrc

Submitted by:  Noël Köthe <nok>
Submitted on:  Fri 28 Mar 2008 06:28:54 PM UTC  
 
Category: Program LogicSeverity: 2 - Minor
Priority: 5 - NormalStatus: Confirmed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: 1.11Operating System: GNU/Linux
Reproducibility: Every TimeFixed Release: None
Planned Release: 2.0Regression: None
Work Required: NonePatch Included: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 28 Mar 2008 06:52:08 PM UTC, comment #1:

http://www.mail-archive.com/wget@sunsite.dk/msg10219.html
gives a rationale for .netrc superseding because it's more "specific".

The problem, of course, is that it's not "more specific to Wget", but allows more specific (per-host) settings.

IMO, .wgetrc (and command-line) should supersede, but .wgetrc should also provide the same precision capabilities .netrc does.

Should probably done when path-specific config is done.

Micah Cowan <micahcowan>
Project Administrator
Fri 28 Mar 2008 06:28:54 PM UTC, original submission:

Hello,

a forwarded bug I can reproduce with 1.11.1: http://bugs.debian.org/134765

$ cat .wgetrc
login = anonymous

$ cat .netrc
default login bug134765 password wget

$ LC_ALL=C wget -d ftp://ftp.debian.org/debian/pool/main/w/wget/wget_1.11.1.orig.tar.gz
DEBUG output created by Wget 1.11.1 on linux-gnu.

--2008-03-28 19:27:21-- ftp://ftp.debian.org/debian/pool/main/w/wget/wget_1.11.1.orig.tar.gz
=> `wget_1.11.1.orig.tar.gz'
Resolving ftp.debian.org... 128.101.240.212
Caching ftp.debian.org => 128.101.240.212
Connecting to ftp.debian.org|128.101.240.212|:21... connected.
Created socket 3.
Releasing 0x0000000000653bd0 (new refcount 1).
Logging in as bug134765 ... 220 saens.debian.org FTP server (vsftpd)

--> USER bug134765

530 This FTP server is anonymous only.

The server refuses login.
Closed fd 3
Retrying.

.wgetrc should supersede .netrc IMHO.

Do you agree?

Regards Noèl

Noël Köthe <nok>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Jul 2008 10:14:56 AM UTCatulCarbon-Copy-=>Added atul
    Fri 28 Mar 2008 06:52:45 PM UTCmicahcowanSeverity3 - Normal=>2 - Minor
      StatusNone=>Confirmed
    Fri 28 Mar 2008 06:52:08 PM UTCmicahcowanPlanned ReleaseNone=>2.0

    Back to the top


    Powered by Savane 3.1-cleanup