octave-maintainers
[Top][All Lists]
Advanced

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

Re: pkg netlist


From: David Bateman
Subject: Re: pkg netlist
Date: Tue, 27 Feb 2007 23:41:07 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Bob Weigel wrote:
>> I had an issue with the idea of the pkgget command. Sourceforge requests
>> that all downloads go through a specific interface rather than directly
>> to one of the mirrors. They request this so that file download
>> statistics are correct. So this means that yes you will be able to go to
>> one of the mirror to get a package like
>>
>> http://ovh.dl.sourceforge.net/sourceforge/octave/signal-1.0.0.tar.gz
>>
>> but Sourceforge doesn't like you to do it. Until recently you couldn't
>> wget the package download page to get the package, but it appears they
>> have fixed this issue and so running wget on
>>
>> http://downloads.sourceforge.net/octave/signal-1.0.0.tar.gz?download
>>
> 
>>From the command line
> curl -L 
> "http://downloads.sourceforge.net/octave/octave-forge-2006.07.09.tar.gz?download";
>  
> 
> works.  If -L is dropped it does not work. (-L essentially enables "following 
> of redirects"). As you mentioned wget works using the sourceforge-preferred 
> URL
> 
> wget 
> "http://downloads.sourceforge.net/octave/octave-forge-2006.07.09.tar.gz?download";
>  
> 
> I don't have urlwrite.oct compiled on my machine, but I am assuming that you 
> tried it on yours and it failed.  However, based on the fact that Octave uses 
> the curl library, I think it is a matter of finding the switch in the source 
> code to tell curl to follow redirects.
> 
> Bob
> 
> 
> 

I added code to the octave-forge CVS to create a file with the MD5 sum
of all of the package files and add it to the website. I've uploaded it
to the test website in

http://octave.dbateman.org/packages.md5

You should be able to use this file to identify the new packages and
check the integrity of downloaded files. This would be easier if the
m5sum function I sent earlier today was in octave :-)

Cheers
David



reply via email to

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