bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] warning about unknown .wgetrc directives


From: Darshit Shah
Subject: Re: [Bug-wget] warning about unknown .wgetrc directives
Date: Fri, 4 Apr 2014 17:14:07 +0200

On Fri, Apr 4, 2014 at 4:40 PM, Giuseppe Scrivano <address@hidden> wrote:

> Hi Karl,
>
> address@hidden (Karl Berry) writes:
>
> > Giuseppe et al.,
> >
> > I suggest making unknown .wgetrc directives a warning (and just ignore
> > them, proceeding on normally), rather than a failure.  For purposes of
> > compatibility - a person might have a brand-new wget on system A, but
> > for whatever reason, have to run an older wget on system B.  But it's
> > convenient to have the same wget regardless.
>
> In general I tend to agree with you as it makes easier to reuse
> the .wgetrc file but I think problems with unknown directives should
> still be threated as errors.
> It may happen that we will add some security related directive,
> and while users rely on wget to honor that, wget instead will simply
> ignore it and give the impression it works.
>
> Unless we add something like --ignore-wgetrc-errors...
>
I think that's over-engineering the problem.

Some time ago, Tim, if I remember correctly proposed using version lines.
So, newer commands can be marked as valid under a certain version only. The
whole scheme can be made backward compatible by assuming the lack of a
version line to imply the current version.

-- 
Thanking You,
Darshit Shah


reply via email to

[Prev in Thread] Current Thread [Next in Thread]