Dear all,
It seems that wget version has had the -C (cache) option removed when it went from 1.9 to version 1.10, this happened somewhere between Centos 3.5 and 4.2.
Does anyone know why the -C option was removed and how I can get it back? Other than regressing wget.....
Regards
Pete
Peter Farrow wrote on Thu, 17 Nov 2005 13:16:52 +0000:
Does anyone know why the -C option was removed and how I can get it back?
They only removed the short option name, probably because you had to use on/off as well (and it's on by default), use --no-cache.
Kai
Quoting Peter Farrow peter@farrows.org:
Dear all,
It seems that wget version has had the -C (cache) option removed when it went from 1.9 to version 1.10, this happened somewhere between Centos 3.5 and 4.2.
Does anyone know why the -C option was removed and how I can get it back? Other than regressing wget.....
The short option was removed, and long option name changed to --no-cache. There were some other options changed too (--http-passwd and proxy-passwd to --http-password and --proxy-password). Would be nice if the old options were kept for backward compatibility...
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Yes I agree about the compatibility, very brainless to just go and remove them, I can't imagine how many scripts thats going to break let alone all my stuff... It changed from Centos 4.1 to 4.2, Wget versions 1.9 to 1.10
the best thing is to regress Wget or bypass it from the yum update process, can anyone remind me of what to put in yum to avoid updating wget?
Pete
Aleksandar Milivojevic wrote:
Quoting Peter Farrow peter@farrows.org:
Dear all,
It seems that wget version has had the -C (cache) option removed when it went from 1.9 to version 1.10, this happened somewhere between Centos 3.5 and 4.2.
Does anyone know why the -C option was removed and how I can get it back? Other than regressing wget.....
The short option was removed, and long option name changed to --no-cache. There were some other options changed too (--http-passwd and proxy-passwd to --http-password and --proxy-password). Would be nice if the old options were kept for backward compatibility...
This message was sent using IMP, the Internet Messaging Program.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thu, 2005-11-17 at 15:02 +0000, Peter Farrow wrote:
Yes I agree about the compatibility, very brainless to just go and remove them, I can't imagine how many scripts thats going to break let alone all my stuff... It changed from Centos 4.1 to 4.2, Wget versions 1.9 to 1.10
Well, I'm not going to debate what they should/shouldn't have done. And I agree, it's always an issue in a revision (and not a major version upgrade).
But also remember that POSIX, SUS, LSB, etc... standards sometimes force these changes. I don't think that happened here, but just keep that in mind for some things. ;->
Wasn't blaming anyone here, just letting off steam....
:-)
Bryan J. Smith wrote:
On Thu, 2005-11-17 at 15:02 +0000, Peter Farrow wrote:
Yes I agree about the compatibility, very brainless to just go and remove them, I can't imagine how many scripts thats going to break let alone all my stuff... It changed from Centos 4.1 to 4.2, Wget versions 1.9 to 1.10
Well, I'm not going to debate what they should/shouldn't have done. And I agree, it's always an issue in a revision (and not a major version upgrade).
But also remember that POSIX, SUS, LSB, etc... standards sometimes force these changes. I don't think that happened here, but just keep that in mind for some things. ;->
On 11/17/05, Peter Farrow peter@farrows.org wrote:
Wasn't blaming anyone here, just letting off steam....
You have every right to blame someone!!! IMHO, the absolute worst feature of FOSS is the love developers have for changing a very round wheel that rolls quite well to something prettier from a design standpoint but less effective and that breaks everything in sight. No one from the kernel to glibc to lowly useful tools like wget is exempt from this mania.
-- Collins Richey Debugging is twice as hard as writing the code ... If you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan
On Friday 18 November 2005 22:10, Collins Richey wrote:
You have every right to blame someone!!! IMHO, the absolute worst feature of FOSS is the love developers have for changing a very round wheel that rolls quite well to something prettier from a design standpoint but less effective and that breaks everything in sight. No one from the kernel to glibc to lowly useful tools like wget is exempt from this mania.
This is why there was at one time three separate versions of OpenSSL in the distribution. That is indeed one of the downsides to open source, since the software is subject to the whims and fancies of its developers. And the right hand knoweth not what the left had doeth.
On Thu, 2005-11-17 at 15:02 +0000, Peter Farrow wrote:
Yes I agree about the compatibility, very brainless to just go and remove them, I can't imagine how many scripts thats going to break let alone all my stuff... It changed from Centos 4.1 to 4.2, Wget versions 1.9 to 1.10
the best thing is to regress Wget or bypass it from the yum update process, can anyone remind me of what to put in yum to avoid updating wget?
Pete
in /etc/yum.conf add a line:
exclude=wget
Aleksandar Milivojevic wrote:
Quoting Peter Farrow peter@farrows.org:
Dear all,
It seems that wget version has had the -C (cache) option removed when it went from 1.9 to version 1.10, this happened somewhere between Centos 3.5 and 4.2.
Does anyone know why the -C option was removed and how I can get it back? Other than regressing wget.....
The short option was removed, and long option name changed to --no-cache. There were some other options changed too (--http-passwd and proxy-passwd to --http-password and --proxy-password). Would be nice if the old options were kept for backward compatibility...
This message was sent using IMP, the Internet Messaging Program.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 17/11/05, Peter Farrow peter@farrows.org wrote:
Yes I agree about the compatibility, very brainless to just go and remove them, I can't imagine how many scripts thats going to break let alone all my stuff... It changed from Centos 4.1 to 4.2, Wget versions 1.9 to 1.10
the best thing is to regress Wget or bypass it from the yum update process, can anyone remind me of what to put in yum to avoid updating wget?
Would a wget shell alias or function that tests for the presence of " -C " and replaces it with the long option be worthwhile?
And you can see the changelog for the RPM which may explain the justification for the change with something like...
$ rpm -q --changelog wget
Will.
On Thu, 2005-11-17 at 15:02 +0000, Peter Farrow wrote:
Yes I agree about the compatibility, very brainless to just go and remove them, I can't imagine how many scripts thats going to break let alone all my stuff... It changed from Centos 4.1 to 4.2, Wget versions 1.9 to 1.10
the best thing is to regress Wget or bypass it from the yum update process, can anyone remind me of what to put in yum to avoid updating wget?
Put "exclude=wget" in the [updates] section (and anywhere else that might be a source for wget), but I'd fix the scripts instead.
Phil