[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH 3/3] Add command line option to disable use of .ne
From: |
Tomas Hozza |
Subject: |
Re: [Bug-wget] [PATCH 3/3] Add command line option to disable use of .netrc |
Date: |
Tue, 16 May 2017 10:45:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 12.05.2017 22:12, Giuseppe Scrivano wrote:
> Hi Tomas,
>
> Tomas Hozza <address@hidden> writes:
>
>> Although internally code uses option for (not) reading .netrc for
>> credentials, it was not possible to turn this behavior off on command
>> line. Note that it was possible to turn it off using wgetrc.
>>
>> Idea for this change came from Bruce Jerrick (address@hidden).
>> Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1425097
>
> wouldn't "-e netrc=off" be sufficient?
>
> Regards,
> Giuseppe
>
Hello Giuseppe.
Possibly yes. The only downside is that this is not documented in man page nor
in help message. I think that's the reason why the reporter in Fedora bug also
proposed that this new option should be added.
If you don't want to add new option, maybe just documenting the possibility to
turn off reading of .netrc would be good enough.
Please let me know what is your preference as I don't have one.
Thanks.
Regards,
Tomas
--
Tomas Hozza
Associate Manager, Software Engineering - EMEA ENG Mainstream RHEL
PGP: 1D9F3C2D
UTC+2 (CEST)
Red Hat Inc. http://cz.redhat.com
[Bug-wget] [PATCH 1/3] Added tests for HTTP authentication using credentials from .netrc, Tomas Hozza, 2017/05/12