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

Re: packages search results



Haha cute... Now the ftp links are all http. I guess that's cool. http is
generally better...
seems like you could just add a type flag to the server entry and change the
protocol that way. or write a regexp that checks for
/^ftp/ and change the protocol that way (which is a hack)

I guess it doesn't matter really but it might be misleading for people that
copy and paste the link into a ftp program. This way you won't have to
remove the ftp only links either.

<li><a
href="http://ftp.debian.org/debian/dists/potato/main/binary-i386/misc/mysql-
server_3.22.32-6.deb">ftp.debian.org/debian</a>
<li><a
href="http://http.us.debian.org/debian/dists/potato/main/binary-i386/misc/my
sql-server_3.22.32-6.deb">http.us.debian.org/debian</a>
<li><a
href="http://ftp.us.debian.org/debian/dists/potato/main/binary-i386/misc/mys
ql-server_3.22.32-6.deb">ftp.us.debian.org/debian</a>

should be:

<li><a
href="ftp://ftp.debian.org/debian/dists/potato/main/binary-i386/misc/mysql-s
erver_3.22.32-6.deb">ftp.debian.org/debian</a>
<li><a
href="http://http.us.debian.org/debian/dists/potato/main/binary-i386/misc/my
sql-server_3.22.32-6.deb">http.us.debian.org/debian</a>
<li><a
href="ftp://ftp.us.debian.org/debian/dists/potato/main/binary-i386/misc/mysq
l-server_3.22.32-6.deb">ftp.us.debian.org/debian</a>

-Ryan

----- Original Message -----
From: "James A. Treacy" <treacy@debian.org>
To: "Ryan White" <rwhite@collectivenet.net>
Cc: <debian-www@lists.debian.org>
Sent: Tuesday, April 24, 2001 10:49 PM
Subject: Re: packages search results


> On Fri, Apr 13, 2001 at 05:32:02PM -0700, Ryan White wrote:
> > All the packages search results have ftp:// in front of the href. This
is a
> > problem when going to http.us.
> >
> I don't see the problem. Just tried the URL below and it works. I
> downloaded the file using the http.us.debian.org link. As long as all
> the http.us sites (it uses a dns round robin) are up to date, there
> should be no problem.
>
> >
http://packages.debian.org/cgi-bin/download.pl?file=dists%2Fpotato%2Fmain%2F
> > binary-i386%2Fdevel%2Flibmm10_1.0.11-1.deb&md5sum=c3
> >
> > It has been this way for about 3 months now. I kept hoping that someone
> > would fix it. It would REALLY appreciate it if you can fix this so I can
> > paste the http address for wget!
> >
> Once we understand what the problem is, it will be fixed.
>
> As an aside, do any of the other web people mind if I switch the links
> to use http? Only two of the sites would need to be removed in this
> case: ftp-linux.cc.gatech.edu and ftpfreesoftware.com.
>
> --
> James (Jay) Treacy
> treacy@debian.org
>



Reply to: