On 15/07/14 03:30, Paul Wise wrote: > On Tue, Jul 15, 2014 at 8:45 AM, Daniel Lintott wrote: > >> Only advice I can give you can find in >> https://lists.debian.org/debian-mentors/2014/07/msg00153.html > > Negotiations with sourceforge are continuing but it looks like we may > have to adopt the RSS based redirector code. >
Indeed it looks like that may be be the best way to proceed at least until SF.net can provide a solution. When I wrote the RSS parser script I have tried to make it seamlessly fit with the old redirector.. so it could be fitted in place of, but currently the is one difference. The links in the current redirector are written displayed (in source) as: > <a href='vpcs-0.5b0-src.tbz'>vpcs-0.5b0-src.tbz</a><br/> Which results in the following link: > https://qa.debian.org/watch/sf.php/vpcs/vpcs-0.5b0-src.tbz For some reason (maybe server configuration difference) I wasn't able to achieve exactly the same in my RSS based redirector... So in the page source I have: > <a href='/debian/sf.php/vpcs/vpcs-0.5b2-src.tbz'>vpcs-0.5b2-src.tbz</a><br/> Note the addition of the directory and script name, which may break some of the regex's (it did for me). I had to add this in the source as I couldn't get the link displayed with the slash argument when I tested it on my servers. It may be that I've missed something obvious... so feel free to correct me! Regards Daniel
signature.asc
Description: OpenPGP digital signature