You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Fielder <da...@gmail.com> on 2011/06/13 12:48:46 UTC
SVN 1.7.0. alpha source code
Attempting to download SVN 1.7.0. alpha source code
from http://apache.mirror.anlx.net/subversion/subversion-1.7.0-alpha1.zip
I get this error.
Forbidden
You don't have permission to access /subversion/subversion-1.7.0-alpha1.zip
on this server.
------------------------------
Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch Server at
apache.mirror.anlx.net Port 80
please help
Re: SVN 1.7.0. alpha source code
Posted by Konstantin Kolinko <kn...@gmail.com>.
Just use any other mirror,
http://www.apache.org/mirrors/#uk
2011/6/13 David Fielder <da...@gmail.com>:
> Attempting to download SVN 1.7.0. alpha source code
>
> from http://apache.mirror.anlx.net/subversion/subversion-1.7.0-alpha1.zip
>
> I get this error.
>
> Forbidden
>
> You don't have permission to access /subversion/subversion-1.7.0-alpha1.zip
> on this server.
>
> ________________________________
> Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch Server at
> apache.mirror.anlx.net Port 80
>
> please help
>
>
Re: SVN 1.7.0. alpha source code
Posted by "Hyrum K. Wright" <hy...@mail.utexas.edu>.
On Mon, Jun 13, 2011 at 10:48 AM, David Fielder
<da...@gmail.com> wrote:
> Attempting to download SVN 1.7.0. alpha source code
>
> from http://apache.mirror.anlx.net/subversion/subversion-1.7.0-alpha1.zip
>
> I get this error.
>
> Forbidden
>
> You don't have permission to access /subversion/subversion-1.7.0-alpha1.zip
> on this server.
>
> ________________________________
> Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch Server at
> apache.mirror.anlx.net Port 80
>
> please help
Thanks for letting us know. Apparently some mirrors are less equal
than others, although they all claim to be up-to-date. I've pinged
ASF infra about it, and they'll remove such mirrors from circulation.
Let us know if it happens again.
The immediate solution, as somebody else pointed out, is to select a
different mirror. Unfortunately, the mirror selection dialog on the
download page isn't respected, though it does refresh the page which
then selects a different mirror at random. We're working on getting
this issue cleared up as well.
Thanks again!
-Hyrum
Re: SVN 1.7.0. alpha source code
Posted by sebb <se...@gmail.com>.
On 14 June 2011 10:12, Hyrum K Wright <hy...@hyrumwright.org> wrote:
> Hi Infra!
>
> We received this message from a user earlier today. As it is our
> first release through the Apache mirroring system, I want to ensure
> we're not goofing something up. We're using the standard mirroring
> cgi script, with a template file largely copied from APR. Our
> download page is here:
> http://subversion.apache.org/download/
>
> And our scripts can be found here:
> http://svn.apache.org/repos/asf/subversion/site/publish/download/
>
> Some of the mirrors seem to work fine, such as:
> http://apache.favoritelinks.net/
>
> But a number of mirrors return 403 or 404 error, these include:
> http://mirror.lividpenguin.com/pub/apache/
> http://mirrors.dedipower.com/ftp.apache.org/
> and many others.
I just created an issue to track the faulty mirrors:
https://issues.apache.org/jira/browse/INFRA-3690
> Another (possibly-related) problem occurs when attempting to change
> the mirror. The form submits, but the mirror doesn't change to the
> expected one.
>
> Any pointers on either of the above problems would be appreciated.
>
> Thanks,
> -Hyrum
>
> ---------- Forwarded message ----------
> From: David Fielder <da...@gmail.com>
> Date: Mon, Jun 13, 2011 at 10:48 AM
> Subject: SVN 1.7.0. alpha source code
> To: users@subversion.apache.org
>
>
> Attempting to download SVN 1.7.0. alpha source code
>
> from http://apache.mirror.anlx.net/subversion/subversion-1.7.0-alpha1.zip
>
> I get this error.
>
> Forbidden
>
> You don't have permission to access
> /subversion/subversion-1.7.0-alpha1.zip on this server.
>
> ________________________________
> Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch Server at
> apache.mirror.anlx.net Port 80
>
> please help
>
Re: SVN 1.7.0. alpha source code
Posted by Tony Stevenson <pc...@apache.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 14 Jun 2011, at 21:05, C. Michael Pilato wrote:
> On 06/14/2011 03:41 PM, sebb wrote:
>> Looks like the Change button just selects a random entry from the
>> list, rather than applying the selected entry.
>
> Yes, that's the apparent action. In reality, the default action is "select
> a random mirror", so I suspect that this isn't so much the direct result of
> the Change button being used as it is just a side-effect of the Preferred
> server selection not "taking".
>
> See, the Change button is just a submit button. The
> "?Preferred=SELECTED_ITEM" bit added to the form submission URL is the
> natural behavior for the select box named "Preferred" and whose values come
> directly from the options therein. The mirrors.cgi is supposed to notice
> that bit in the URL query string, validate the preferred URL against the
> configured set of mirrors, and then -- if all is well in that validation
> step -- substitute that preferred URL unto the EZT template (download.html
> in our tree). That's clearly not happening.
>
> I wonder if this script was originally written for CGI and then something
> got fouled up during some retrofitting for WSGI? Maybe some misinteraction
> with the script environment?
>
This is possible, the download.cgi scripts did get a fair bit of attention a while back, and I cant recall what happened exactly, so I will have to trawl through my mail archives for that, if you have any ideas let me know. If not, I'll add it to my todo.
> --
> C. Michael Pilato <cm...@collab.net>
> CollabNet <> www.collab.net <> Distributed Development On Demand
>
Tony
- ---------------------------------------
Tony Stevenson
tony@pc-tony.com // pctony@apache.org
tony@caret.cam.ac.uk
http://blog.pc-tony.com
GPG - 1024D/51047D66
- --------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
iF4EAREIAAYFAk33v6oACgkQZoUdOyVD4yP7bgD/fTmAJu/p6aNxZo6RLBrbDbUs
EtG1EnISDnRu8lYI8HwA/R/cFw4CI+wpaByTmAasQldBA1m/eiMObZ+TQ728/hJh
=PH7R
-----END PGP SIGNATURE-----
Re: SVN 1.7.0. alpha source code
Posted by "C. Michael Pilato" <cm...@collab.net>.
On 06/14/2011 03:41 PM, sebb wrote:
> Looks like the Change button just selects a random entry from the
> list, rather than applying the selected entry.
Yes, that's the apparent action. In reality, the default action is "select
a random mirror", so I suspect that this isn't so much the direct result of
the Change button being used as it is just a side-effect of the Preferred
server selection not "taking".
See, the Change button is just a submit button. The
"?Preferred=SELECTED_ITEM" bit added to the form submission URL is the
natural behavior for the select box named "Preferred" and whose values come
directly from the options therein. The mirrors.cgi is supposed to notice
that bit in the URL query string, validate the preferred URL against the
configured set of mirrors, and then -- if all is well in that validation
step -- substitute that preferred URL unto the EZT template (download.html
in our tree). That's clearly not happening.
I wonder if this script was originally written for CGI and then something
got fouled up during some retrofitting for WSGI? Maybe some misinteraction
with the script environment?
--
C. Michael Pilato <cm...@collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Re: SVN 1.7.0. alpha source code
Posted by sebb <se...@gmail.com>.
On 14 June 2011 19:47, C. Michael Pilato <cm...@collab.net> wrote:
> On 06/14/2011 09:15 AM, C. Michael Pilato wrote:
>> On 06/14/2011 05:40 AM, Hyrum K Wright wrote:
>>> [ dropping infra from this bit, 'cause I believe it to be a local issue. ]
>>>
>>> In trying to debug a problem with our download page, I noticed that it
>>> appears we aren't respecting the Preferred query argument when
>>> selecting a mirror. For instance, going to
>>> http://subversion.apache.org/download/?Preferred=ftp%3A%2F%2Fftp.gbnet.net%2Fpub%2Fapache%2Fdist%2F
>>>
>>> doesn't select the ftp.gbnet.net mirror, as I believe it should.
>>> Instead the mirror cgi picks a mirror as if no Preferred flag was
>>> given.
>>
>> Ours isn't the only instance of a download.cgi script exhibiting this
>> problem, though. See, for example, http://httpd.apache.org/download.cgi,
>> which appears to be having the same issue.
>
> Re-adding infra, as I believe there might be a more global issue here. for
> example, when I visit http://httpd.apache.org/download.cgi and select any
> particular mirror and then click "Change", the mirror I selected is
> represented into the URL of the fetched page (in the Preferred= CGI query
> param), but the mirror I selected is *not* the one chosen as the preferred one.
Looks like the Change button just selects a random entry from the
list, rather than applying the selected entry.
> --
> C. Michael Pilato <cm...@collab.net>
> CollabNet <> www.collab.net <> Distributed Development On Demand
>
>
Re: SVN 1.7.0. alpha source code
Posted by "C. Michael Pilato" <cm...@collab.net>.
On 06/15/2011 03:39 AM, Tony Stevenson wrote:
> I have also made sure it has been applied to the EU, and US mirrors. So
> it should be live for all now.
Looks good. Thanks, Tony.
--
C. Michael Pilato <cm...@collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Re: SVN 1.7.0. alpha source code
Posted by Tony Stevenson <pc...@apache.org>.
On Wed, Jun 15, 2011 at 04:25:07AM +0400, Konstantin Kolinko wrote:
> Looking at the mirrors.cgi script at
> /site/trunk/content/dyn/mirrors/mirrors.cgi at the above link, I
> think there is a bug there.
>
> There is the following code fragment in parse_mirrors():
>
> # Check if the requested Preferred mirror is in the list
> # Note the user-requested mirror doesn't have a trailing-slash
> prefmir=None
> if preferred:
> for mir in mirrors:
> if mir[2][:-1]==preferred:
> prefmir=mir
> break
>
> Index: mirrors.cgi
> ===================================================================
> --- mirrors.cgi (revision 1135864)
> +++ mirrors.cgi (working copy)
> @@ -91,11 +91,11 @@
> break
>
> # Check if the requested Preferred mirror is in the list
> - # Note the user-requested mirror doesn't have a trailing-slash
> + # Note the user-requested mirror may have no trailing-slash
> prefmir=None
> if preferred:
> for mir in mirrors:
> - if mir[2][:-1]==preferred:
> + if mir[2].startswith(preferred):
> prefmir=mir
> break
> # Otherwise pick a preferred mirror from our country
I have patched mirrors.cgi, and initial testing suggests that it has had desired effect.
"Patch submitted by Konstantin Kolinko @gmail.com -- Message-ID: <BA...@mail.gmail.com>"
Sending x1/www/www.apache.org/dyn/mirrors/mirrors.cgi
Transmitting file data .
Committed revision 790972.
I have also made sure it has been applied to the EU, and US mirrors. So it should be live for all now.
Thanks for this.
--
Cheers,
Tony
---------------------------------------
Tony Stevenson
tony@pc-tony.com // pctony@apache.org
tony@caret.cam.ac.uk
http://blog.pc-tony.com
GPG - 1024D/51047D66
--------------------------------------"
Re: SVN 1.7.0. alpha source code
Posted by "C. Michael Pilato" <cm...@collab.net>.
On 06/14/2011 08:25 PM, Konstantin Kolinko wrote:
> Looking at the mirrors.cgi script at
> /site/trunk/content/dyn/mirrors/mirrors.cgi at the above link, I
> think there is a bug there.
>
> There is the following code fragment in parse_mirrors():
>
> # Check if the requested Preferred mirror is in the list
> # Note the user-requested mirror doesn't have a trailing-slash
> prefmir=None
> if preferred:
> for mir in mirrors:
> if mir[2][:-1]==preferred:
> prefmir=mir
> break
>
> The "the user-requested mirror doesn't have a trailing-slash" comment
> is wrong and thus the code following it is wrong.
I could have sworn that I tested this theory and found it bogus earlier
today, but sure enough when I hit ...
http://httpd.apache.org/download.cgi?Preferred=http%3A%2F%2Fapache.ziply.com
... instead of ...
http://httpd.apache.org/download.cgi?Preferred=http%3A%2F%2Fapache.ziply.com%2F
... I get the proper behavior.
> So I think the following patch will fix this (not tested):
I, too, suspect your patch will fix it (also not tested).
--
C. Michael Pilato <cm...@collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Re: SVN 1.7.0. alpha source code
Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/6/15 Daniel Shahaf <d....@daniel.shahaf.name>:
> Rainer Jung wrote on Tue, Jun 14, 2011 at 22:25:35 +0200:
>> On 14.06.2011 20:47, C. Michael Pilato wrote:
>> > On 06/14/2011 09:15 AM, C. Michael Pilato wrote:
>> >> On 06/14/2011 05:40 AM, Hyrum K Wright wrote:
>> >>> [ dropping infra from this bit, 'cause I believe it to be a local issue. ]
>> >>>
>> >>> In trying to debug a problem with our download page, I noticed that it
>> >>> appears we aren't respecting the Preferred query argument when
>> >>> selecting a mirror. �For instance, going to
>> >>> � http://subversion.apache.org/download/?Preferred=ftp%3A%2F%2Fftp.gbnet.net%2Fpub%2Fapache%2Fdist%2F
>> >>>
>> >>> doesn't select the ftp.gbnet.net mirror, as I believe it should.
>> >>> Instead the mirror cgi picks a mirror as if no Preferred flag was
>> >>> given.
>> >>
>> >> Ours isn't the only instance of a download.cgi script exhibiting this
>> >> problem, though. �See, for example, http://httpd.apache.org/download.cgi,
>> >> which appears to be having the same issue.
>> >
>> > Re-adding infra, as I believe there might be a more global issue here. �for
>> > example, when I visit http://httpd.apache.org/download.cgi and select any
>> > particular mirror and then click "Change", the mirror I selected is
>> > represented into the URL of the fetched page (in the Preferred= CGI query
>> > param), but the mirror I selected is *not* the one chosen as the preferred one.
>>
>> Sorry if I'm too late, or the following is not helpful. I noticed and
>> analyzed a similar (same?) problem in October and wrote to infra.
>>
>> Daniel Shahaf responded, but I don't know whether the fix was actually
>> applied.
>>
>> For details please have a look at the mail thread "Two recent bugs in
>> mirrors.cgi" between Daniel and me on October 22nd 2010 on the infra
>> list. I don't know whether there are public links, but the member mail
>> search finds it.
>>
>
> The relevant lists are privately archived, but download.cgi lives in
> a public repository,
> https://svn.apache.org/repos/asf/infrastructure/site/trunk/content/dyn/**/*.cgi
>
Looking at the mirrors.cgi script at
/site/trunk/content/dyn/mirrors/mirrors.cgi at the above link, I
think there is a bug there.
There is the following code fragment in parse_mirrors():
# Check if the requested Preferred mirror is in the list
# Note the user-requested mirror doesn't have a trailing-slash
prefmir=None
if preferred:
for mir in mirrors:
if mir[2][:-1]==preferred:
prefmir=mir
break
The "the user-requested mirror doesn't have a trailing-slash" comment
is wrong and thus the code following it is wrong.
The form that the user submits is generated from the data provided by
this very script and the mirrors there always have the trailing
slashes.
The values without slashes may come a) from bookmarks or links that
use hardcoded old value for "Preferred" argument, b) if something else
is using the mirrors database file directly without appending the
slashes.
So I think the following patch will fix this (not tested):
[[[
Index: mirrors.cgi
===================================================================
--- mirrors.cgi (revision 1135864)
+++ mirrors.cgi (working copy)
@@ -91,11 +91,11 @@
break
# Check if the requested Preferred mirror is in the list
- # Note the user-requested mirror doesn't have a trailing-slash
+ # Note the user-requested mirror may have no trailing-slash
prefmir=None
if preferred:
for mir in mirrors:
- if mir[2][:-1]==preferred:
+ if mir[2].startswith(preferred):
prefmir=mir
break
# Otherwise pick a preferred mirror from our country
]]]
Best regards,
Konstantin Kolinko
Re: SVN 1.7.0. alpha source code
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Rainer Jung wrote on Tue, Jun 14, 2011 at 22:25:35 +0200:
> On 14.06.2011 20:47, C. Michael Pilato wrote:
> > On 06/14/2011 09:15 AM, C. Michael Pilato wrote:
> >> On 06/14/2011 05:40 AM, Hyrum K Wright wrote:
> >>> [ dropping infra from this bit, 'cause I believe it to be a local issue. ]
> >>>
> >>> In trying to debug a problem with our download page, I noticed that it
> >>> appears we aren't respecting the Preferred query argument when
> >>> selecting a mirror. For instance, going to
> >>> http://subversion.apache.org/download/?Preferred=ftp%3A%2F%2Fftp.gbnet.net%2Fpub%2Fapache%2Fdist%2F
> >>>
> >>> doesn't select the ftp.gbnet.net mirror, as I believe it should.
> >>> Instead the mirror cgi picks a mirror as if no Preferred flag was
> >>> given.
> >>
> >> Ours isn't the only instance of a download.cgi script exhibiting this
> >> problem, though. See, for example, http://httpd.apache.org/download.cgi,
> >> which appears to be having the same issue.
> >
> > Re-adding infra, as I believe there might be a more global issue here. for
> > example, when I visit http://httpd.apache.org/download.cgi and select any
> > particular mirror and then click "Change", the mirror I selected is
> > represented into the URL of the fetched page (in the Preferred= CGI query
> > param), but the mirror I selected is *not* the one chosen as the preferred one.
>
> Sorry if I'm too late, or the following is not helpful. I noticed and
> analyzed a similar (same?) problem in October and wrote to infra.
>
> Daniel Shahaf responded, but I don't know whether the fix was actually
> applied.
>
> For details please have a look at the mail thread "Two recent bugs in
> mirrors.cgi" between Daniel and me on October 22nd 2010 on the infra
> list. I don't know whether there are public links, but the member mail
> search finds it.
>
The relevant lists are privately archived, but download.cgi lives in
a public repository,
https://svn.apache.org/repos/asf/infrastructure/site/trunk/content/dyn/**/*.cgi
> Regards,
>
> Rainer
Re: SVN 1.7.0. alpha source code
Posted by Rainer Jung <rj...@apache.org>.
On 14.06.2011 20:47, C. Michael Pilato wrote:
> On 06/14/2011 09:15 AM, C. Michael Pilato wrote:
>> On 06/14/2011 05:40 AM, Hyrum K Wright wrote:
>>> [ dropping infra from this bit, 'cause I believe it to be a local issue. ]
>>>
>>> In trying to debug a problem with our download page, I noticed that it
>>> appears we aren't respecting the Preferred query argument when
>>> selecting a mirror. For instance, going to
>>> http://subversion.apache.org/download/?Preferred=ftp%3A%2F%2Fftp.gbnet.net%2Fpub%2Fapache%2Fdist%2F
>>>
>>> doesn't select the ftp.gbnet.net mirror, as I believe it should.
>>> Instead the mirror cgi picks a mirror as if no Preferred flag was
>>> given.
>>
>> Ours isn't the only instance of a download.cgi script exhibiting this
>> problem, though. See, for example, http://httpd.apache.org/download.cgi,
>> which appears to be having the same issue.
>
> Re-adding infra, as I believe there might be a more global issue here. for
> example, when I visit http://httpd.apache.org/download.cgi and select any
> particular mirror and then click "Change", the mirror I selected is
> represented into the URL of the fetched page (in the Preferred= CGI query
> param), but the mirror I selected is *not* the one chosen as the preferred one.
Sorry if I'm too late, or the following is not helpful. I noticed and
analyzed a similar (same?) problem in October and wrote to infra.
Daniel Shahaf responded, but I don't know whether the fix was actually
applied.
For details please have a look at the mail thread "Two recent bugs in
mirrors.cgi" between Daniel and me on October 22nd 2010 on the infra
list. I don't know whether there are public links, but the member mail
search finds it.
Regards,
Rainer
Re: SVN 1.7.0. alpha source code
Posted by "C. Michael Pilato" <cm...@collab.net>.
On 06/14/2011 09:15 AM, C. Michael Pilato wrote:
> On 06/14/2011 05:40 AM, Hyrum K Wright wrote:
>> [ dropping infra from this bit, 'cause I believe it to be a local issue. ]
>>
>> In trying to debug a problem with our download page, I noticed that it
>> appears we aren't respecting the Preferred query argument when
>> selecting a mirror. For instance, going to
>> http://subversion.apache.org/download/?Preferred=ftp%3A%2F%2Fftp.gbnet.net%2Fpub%2Fapache%2Fdist%2F
>>
>> doesn't select the ftp.gbnet.net mirror, as I believe it should.
>> Instead the mirror cgi picks a mirror as if no Preferred flag was
>> given.
>
> Ours isn't the only instance of a download.cgi script exhibiting this
> problem, though. See, for example, http://httpd.apache.org/download.cgi,
> which appears to be having the same issue.
Re-adding infra, as I believe there might be a more global issue here. for
example, when I visit http://httpd.apache.org/download.cgi and select any
particular mirror and then click "Change", the mirror I selected is
represented into the URL of the fetched page (in the Preferred= CGI query
param), but the mirror I selected is *not* the one chosen as the preferred one.
--
C. Michael Pilato <cm...@collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Re: SVN 1.7.0. alpha source code
Posted by "C. Michael Pilato" <cm...@collab.net>.
On 06/14/2011 05:40 AM, Hyrum K Wright wrote:
> [ dropping infra from this bit, 'cause I believe it to be a local issue. ]
>
> In trying to debug a problem with our download page, I noticed that it
> appears we aren't respecting the Preferred query argument when
> selecting a mirror. For instance, going to
> http://subversion.apache.org/download/?Preferred=ftp%3A%2F%2Fftp.gbnet.net%2Fpub%2Fapache%2Fdist%2F
>
> doesn't select the ftp.gbnet.net mirror, as I believe it should.
> Instead the mirror cgi picks a mirror as if no Preferred flag was
> given.
Ours isn't the only instance of a download.cgi script exhibiting this
problem, though. See, for example, http://httpd.apache.org/download.cgi,
which appears to be having the same issue.
--
C. Michael Pilato <cm...@collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Re: SVN 1.7.0. alpha source code
Posted by Hyrum K Wright <hy...@hyrumwright.org>.
[ dropping infra from this bit, 'cause I believe it to be a local issue. ]
On Tue, Jun 14, 2011 at 9:12 AM, Hyrum K Wright <hy...@hyrumwright.org> wrote:
>...
> Another (possibly-related) problem occurs when attempting to change
> the mirror. The form submits, but the mirror doesn't change to the
> expected one.
In trying to debug a problem with our download page, I noticed that it
appears we aren't respecting the Preferred query argument when
selecting a mirror. For instance, going to
http://subversion.apache.org/download/?Preferred=ftp%3A%2F%2Fftp.gbnet.net%2Fpub%2Fapache%2Fdist%2F
doesn't select the ftp.gbnet.net mirror, as I believe it should.
Instead the mirror cgi picks a mirror as if no Preferred flag was
given.
I don't know if this is because we are running the CGI in a somewhat
unorthodox manner, but it means that users have trouble selecting a
specific mirror, which could be a problem if they are having trouble
with one or more of the existing mirrors (as the original mail to this
thread indicates). I'm not sure how to debug the problem, but offer
it here for future generations.
-Hyrum
Re: Fwd: SVN 1.7.0. alpha source code
Posted by Tony Stevenson <pc...@apache.org>.
On Tue, Jun 14, 2011 at 10:16:46AM +0000, Hyrum K Wright wrote:
> On Tue, Jun 14, 2011 at 9:59 AM, Mark Thomas <ma...@apache.org> wrote:
> > On 14/06/2011 10:26, Tony Stevenson wrote:
> >> On Tue, Jun 14, 2011 at 09:21:48AM +0000, Hyrum K Wright wrote:
> >>> We have asked them to use a different mirror, but several of them (in
> >>> my own testing) appear to have the same problem. For a user
> >>> attempting to get source code, it can be a frustrating experience,
> >>> which ultimately leads to admit defeat and walk away.
> >>
> >> If you fancy patching the cgi, I dont see that it is impossible to do that.
> >
> > No patch required. Only listing mirrors updated since a given timestamp
> > is already supported. See the bottom of this page:
> > http://www.apache.org/dev/mirrors.html
>
> Yes, it is supported, but recommended against, to avoid flooding the
> up-to-date mirrors.
>
> In IRC, Gavin noted that the list will only includes mirrors sync'd in
> the last 24 hours. This information is self-reported, and the issue
> is that mirrors reporting themselves as up-to-date aren't really so
> (they lack the subversion directory).
This is due to the mechanism that is used to check the mirror is upto-date. We check $mirror/DATE this is a file maintained via rsync. However, it is not impossible for someone to modify their rsync job to not include a given path, such as subversion in this case.
Just report them via JIRA, and we will deal with it.
>
> The artifacts in question were added to www.apache.org/dist 5 days ago.
>
> -Hyrum
>
--
Cheers,
Tony
---------------------------------------
Tony Stevenson
tony@pc-tony.com // pctony@apache.org
tony@caret.cam.ac.uk
http://blog.pc-tony.com
GPG - 1024D/51047D66
--------------------------------------"
Re: Fwd: SVN 1.7.0. alpha source code
Posted by Hyrum K Wright <hy...@hyrumwright.org>.
On Tue, Jun 14, 2011 at 9:59 AM, Mark Thomas <ma...@apache.org> wrote:
> On 14/06/2011 10:26, Tony Stevenson wrote:
>> On Tue, Jun 14, 2011 at 09:21:48AM +0000, Hyrum K Wright wrote:
>>> We have asked them to use a different mirror, but several of them (in
>>> my own testing) appear to have the same problem. For a user
>>> attempting to get source code, it can be a frustrating experience,
>>> which ultimately leads to admit defeat and walk away.
>>
>> If you fancy patching the cgi, I dont see that it is impossible to do that.
>
> No patch required. Only listing mirrors updated since a given timestamp
> is already supported. See the bottom of this page:
> http://www.apache.org/dev/mirrors.html
Yes, it is supported, but recommended against, to avoid flooding the
up-to-date mirrors.
In IRC, Gavin noted that the list will only includes mirrors sync'd in
the last 24 hours. This information is self-reported, and the issue
is that mirrors reporting themselves as up-to-date aren't really so
(they lack the subversion directory).
The artifacts in question were added to www.apache.org/dist 5 days ago.
-Hyrum
Re: Fwd: SVN 1.7.0. alpha source code
Posted by Mark Thomas <ma...@apache.org>.
On 14/06/2011 10:26, Tony Stevenson wrote:
> On Tue, Jun 14, 2011 at 09:21:48AM +0000, Hyrum K Wright wrote:
>> We have asked them to use a different mirror, but several of them (in
>> my own testing) appear to have the same problem. For a user
>> attempting to get source code, it can be a frustrating experience,
>> which ultimately leads to admit defeat and walk away.
>
> If you fancy patching the cgi, I dont see that it is impossible to do that.
No patch required. Only listing mirrors updated since a given timestamp
is already supported. See the bottom of this page:
http://www.apache.org/dev/mirrors.html
Mark
Re: Fwd: SVN 1.7.0. alpha source code
Posted by Tony Stevenson <pc...@apache.org>.
On Tue, Jun 14, 2011 at 09:21:48AM +0000, Hyrum K Wright wrote:
> We have asked them to use a different mirror, but several of them (in
> my own testing) appear to have the same problem. For a user
> attempting to get source code, it can be a frustrating experience,
> which ultimately leads to admit defeat and walk away.
If you fancy patching the cgi, I dont see that it is impossible to do that.
>
> I guess my main point was: is there a way to only show mirrors which
> are up-to-date? Alternatively, should non-up-to-date mirrors be
> removed from the rotation? (They can hardly be considered "mirrors"
> if they don't accurately reflect reality.)
Sure, we do often remove mirrors when they fall out of sync, but this is not a daily task, nor is it automatic.
>
> -Hyrum
>
> On Tue, Jun 14, 2011 at 9:15 AM, Tony Stevenson <pc...@apache.org> wrote:
> >
> > Hyrum,
> >
> > Looks like that mirror is badly out of date. The subversion folder doesnt exist.
> >
> > http://apache.mirror.anlx.net/
> >
> > Ask the user to select a different mirror.
> >
> >
> > On Tue, Jun 14, 2011 at 09:12:43AM +0000, Hyrum K Wright wrote:
> >> Hi Infra!
> >>
> >> We received this message from a user earlier today. As it is our
> >> first release through the Apache mirroring system, I want to ensure
> >> we're not goofing something up. We're using the standard mirroring
> >> cgi script, with a template file largely copied from APR. Our
> >> download page is here:
> >> http://subversion.apache.org/download/
> >>
> >> And our scripts can be found here:
> >> http://svn.apache.org/repos/asf/subversion/site/publish/download/
> >>
> >> Some of the mirrors seem to work fine, such as:
> >> http://apache.favoritelinks.net/
> >>
> >> But a number of mirrors return 403 or 404 error, these include:
> >> http://mirror.lividpenguin.com/pub/apache/
> >> http://mirrors.dedipower.com/ftp.apache.org/
> >> and many others.
> >>
> >> Another (possibly-related) problem occurs when attempting to change
> >> the mirror. The form submits, but the mirror doesn't change to the
> >> expected one.
> >>
> >> Any pointers on either of the above problems would be appreciated.
> >>
> >> Thanks,
> >> -Hyrum
> >>
> >> ---------- Forwarded message ----------
> >> From: David Fielder <da...@gmail.com>
> >> Date: Mon, Jun 13, 2011 at 10:48 AM
> >> Subject: SVN 1.7.0. alpha source code
> >> To: users@subversion.apache.org
> >>
> >>
> >> Attempting to download SVN 1.7.0. alpha source code
> >>
> >> from http://apache.mirror.anlx.net/subversion/subversion-1.7.0-alpha1.zip
> >>
> >> I get this error.
> >>
> >> Forbidden
> >>
> >> You don't have permission to access
> >> /subversion/subversion-1.7.0-alpha1.zip on this server.
> >>
> >> ________________________________
> >> Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch Server at
> >> apache.mirror.anlx.net Port 80
> >>
> >> please help
> >>
> >
> > --
> >
> > Cheers,
> > Tony
> >
> >
> > ---------------------------------------
> > Tony Stevenson
> >
> > tony@pc-tony.com // pctony@apache.org
> > tony@caret.cam.ac.uk
> >
> > http://blog.pc-tony.com
> >
> > GPG - 1024D/51047D66
> > --------------------------------------"
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> > Comment: GPGTools - http://gpgtools.org
> >
> > iEYEARECAAYFAk33Js8ACgkQyceSTlEEfWYy2ACcCPF4/qOs1kYfTYh+J8KsEuha
> > xo0AnRahtx8LSe0CalZLHYo/YPmwRNna
> > =zS6O
> > -----END PGP SIGNATURE-----
> >
> >
>
--
Cheers,
Tony
---------------------------------------
Tony Stevenson
tony@pc-tony.com // pctony@apache.org
tony@caret.cam.ac.uk
http://blog.pc-tony.com
GPG - 1024D/51047D66
--------------------------------------"
Re: Fwd: SVN 1.7.0. alpha source code
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Hyrum K Wright wrote on Tue, Jun 14, 2011 at 09:21:48 +0000:
> We have asked them to use a different mirror, but several of them (in
> my own testing) appear to have the same problem. For a user
> attempting to get source code, it can be a frustrating experience,
> which ultimately leads to admit defeat and walk away.
>
> I guess my main point was: is there a way to only show mirrors which
> are up-to-date?
If the first one or two mirrors fail then we [c|sh]ould be directing the
downloader to www.{eu,us}.apache.org itself...?
(and asking him to drop a note to infra@ about the stale mirror)
> Alternatively, should non-up-to-date mirrors be
> removed from the rotation? (They can hardly be considered "mirrors"
> if they don't accurately reflect reality.)
>
> -Hyrum
>
> On Tue, Jun 14, 2011 at 9:15 AM, Tony Stevenson <pc...@apache.org> wrote:
> >
> > Hyrum,
> >
> > Looks like that mirror is badly out of date. The subversion folder doesnt exist.
> >
> > http://apache.mirror.anlx.net/
> >
> > Ask the user to select a different mirror.
> >
> >
> > On Tue, Jun 14, 2011 at 09:12:43AM +0000, Hyrum K Wright wrote:
> >> Hi Infra!
> >>
> >> We received this message from a user earlier today. As it is our
> >> first release through the Apache mirroring system, I want to ensure
> >> we're not goofing something up. We're using the standard mirroring
> >> cgi script, with a template file largely copied from APR. Our
> >> download page is here:
> >> http://subversion.apache.org/download/
> >>
> >> And our scripts can be found here:
> >> http://svn.apache.org/repos/asf/subversion/site/publish/download/
> >>
> >> Some of the mirrors seem to work fine, such as:
> >> http://apache.favoritelinks.net/
> >>
> >> But a number of mirrors return 403 or 404 error, these include:
> >> http://mirror.lividpenguin.com/pub/apache/
> >> http://mirrors.dedipower.com/ftp.apache.org/
> >> and many others.
> >>
> >> Another (possibly-related) problem occurs when attempting to change
> >> the mirror. The form submits, but the mirror doesn't change to the
> >> expected one.
> >>
> >> Any pointers on either of the above problems would be appreciated.
> >>
> >> Thanks,
> >> -Hyrum
> >>
> >> ---------- Forwarded message ----------
> >> From: David Fielder <da...@gmail.com>
> >> Date: Mon, Jun 13, 2011 at 10:48 AM
> >> Subject: SVN 1.7.0. alpha source code
> >> To: users@subversion.apache.org
> >>
> >>
> >> Attempting to download SVN 1.7.0. alpha source code
> >>
> >> from http://apache.mirror.anlx.net/subversion/subversion-1.7.0-alpha1.zip
> >>
> >> I get this error.
> >>
> >> Forbidden
> >>
> >> You don't have permission to access
> >> /subversion/subversion-1.7.0-alpha1.zip on this server.
> >>
> >> ________________________________
> >> Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch Server at
> >> apache.mirror.anlx.net Port 80
> >>
> >> please help
> >>
> >
> > --
> >
> > Cheers,
> > Tony
> >
> >
> > ---------------------------------------
> > Tony Stevenson
> >
> > tony@pc-tony.com // pctony@apache.org
> > tony@caret.cam.ac.uk
> >
> > http://blog.pc-tony.com
> >
> > GPG - 1024D/51047D66
> > --------------------------------------"
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> > Comment: GPGTools - http://gpgtools.org
> >
> > iEYEARECAAYFAk33Js8ACgkQyceSTlEEfWYy2ACcCPF4/qOs1kYfTYh+J8KsEuha
> > xo0AnRahtx8LSe0CalZLHYo/YPmwRNna
> > =zS6O
> > -----END PGP SIGNATURE-----
> >
> >
Re: Fwd: SVN 1.7.0. alpha source code
Posted by Hyrum K Wright <hy...@hyrumwright.org>.
We have asked them to use a different mirror, but several of them (in
my own testing) appear to have the same problem. For a user
attempting to get source code, it can be a frustrating experience,
which ultimately leads to admit defeat and walk away.
I guess my main point was: is there a way to only show mirrors which
are up-to-date? Alternatively, should non-up-to-date mirrors be
removed from the rotation? (They can hardly be considered "mirrors"
if they don't accurately reflect reality.)
-Hyrum
On Tue, Jun 14, 2011 at 9:15 AM, Tony Stevenson <pc...@apache.org> wrote:
>
> Hyrum,
>
> Looks like that mirror is badly out of date. The subversion folder doesnt exist.
>
> http://apache.mirror.anlx.net/
>
> Ask the user to select a different mirror.
>
>
> On Tue, Jun 14, 2011 at 09:12:43AM +0000, Hyrum K Wright wrote:
>> Hi Infra!
>>
>> We received this message from a user earlier today. As it is our
>> first release through the Apache mirroring system, I want to ensure
>> we're not goofing something up. We're using the standard mirroring
>> cgi script, with a template file largely copied from APR. Our
>> download page is here:
>> http://subversion.apache.org/download/
>>
>> And our scripts can be found here:
>> http://svn.apache.org/repos/asf/subversion/site/publish/download/
>>
>> Some of the mirrors seem to work fine, such as:
>> http://apache.favoritelinks.net/
>>
>> But a number of mirrors return 403 or 404 error, these include:
>> http://mirror.lividpenguin.com/pub/apache/
>> http://mirrors.dedipower.com/ftp.apache.org/
>> and many others.
>>
>> Another (possibly-related) problem occurs when attempting to change
>> the mirror. The form submits, but the mirror doesn't change to the
>> expected one.
>>
>> Any pointers on either of the above problems would be appreciated.
>>
>> Thanks,
>> -Hyrum
>>
>> ---------- Forwarded message ----------
>> From: David Fielder <da...@gmail.com>
>> Date: Mon, Jun 13, 2011 at 10:48 AM
>> Subject: SVN 1.7.0. alpha source code
>> To: users@subversion.apache.org
>>
>>
>> Attempting to download SVN 1.7.0. alpha source code
>>
>> from http://apache.mirror.anlx.net/subversion/subversion-1.7.0-alpha1.zip
>>
>> I get this error.
>>
>> Forbidden
>>
>> You don't have permission to access
>> /subversion/subversion-1.7.0-alpha1.zip on this server.
>>
>> ________________________________
>> Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch Server at
>> apache.mirror.anlx.net Port 80
>>
>> please help
>>
>
> --
>
> Cheers,
> Tony
>
>
> ---------------------------------------
> Tony Stevenson
>
> tony@pc-tony.com // pctony@apache.org
> tony@caret.cam.ac.uk
>
> http://blog.pc-tony.com
>
> GPG - 1024D/51047D66
> --------------------------------------"
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: GPGTools - http://gpgtools.org
>
> iEYEARECAAYFAk33Js8ACgkQyceSTlEEfWYy2ACcCPF4/qOs1kYfTYh+J8KsEuha
> xo0AnRahtx8LSe0CalZLHYo/YPmwRNna
> =zS6O
> -----END PGP SIGNATURE-----
>
>
Re: Fwd: SVN 1.7.0. alpha source code
Posted by Tony Stevenson <pc...@apache.org>.
Hyrum,
Looks like that mirror is badly out of date. The subversion folder doesnt exist.
http://apache.mirror.anlx.net/
Ask the user to select a different mirror.
On Tue, Jun 14, 2011 at 09:12:43AM +0000, Hyrum K Wright wrote:
> Hi Infra!
>
> We received this message from a user earlier today. As it is our
> first release through the Apache mirroring system, I want to ensure
> we're not goofing something up. We're using the standard mirroring
> cgi script, with a template file largely copied from APR. Our
> download page is here:
> http://subversion.apache.org/download/
>
> And our scripts can be found here:
> http://svn.apache.org/repos/asf/subversion/site/publish/download/
>
> Some of the mirrors seem to work fine, such as:
> http://apache.favoritelinks.net/
>
> But a number of mirrors return 403 or 404 error, these include:
> http://mirror.lividpenguin.com/pub/apache/
> http://mirrors.dedipower.com/ftp.apache.org/
> and many others.
>
> Another (possibly-related) problem occurs when attempting to change
> the mirror. The form submits, but the mirror doesn't change to the
> expected one.
>
> Any pointers on either of the above problems would be appreciated.
>
> Thanks,
> -Hyrum
>
> ---------- Forwarded message ----------
> From: David Fielder <da...@gmail.com>
> Date: Mon, Jun 13, 2011 at 10:48 AM
> Subject: SVN 1.7.0. alpha source code
> To: users@subversion.apache.org
>
>
> Attempting to download SVN 1.7.0. alpha source code
>
> from http://apache.mirror.anlx.net/subversion/subversion-1.7.0-alpha1.zip
>
> I get this error.
>
> Forbidden
>
> You don't have permission to access
> /subversion/subversion-1.7.0-alpha1.zip on this server.
>
> ________________________________
> Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch Server at
> apache.mirror.anlx.net Port 80
>
> please help
>
--
Cheers,
Tony
---------------------------------------
Tony Stevenson
tony@pc-tony.com // pctony@apache.org
tony@caret.cam.ac.uk
http://blog.pc-tony.com
GPG - 1024D/51047D66
--------------------------------------"
Fwd: SVN 1.7.0. alpha source code
Posted by Hyrum K Wright <hy...@hyrumwright.org>.
Hi Infra!
We received this message from a user earlier today. As it is our
first release through the Apache mirroring system, I want to ensure
we're not goofing something up. We're using the standard mirroring
cgi script, with a template file largely copied from APR. Our
download page is here:
http://subversion.apache.org/download/
And our scripts can be found here:
http://svn.apache.org/repos/asf/subversion/site/publish/download/
Some of the mirrors seem to work fine, such as:
http://apache.favoritelinks.net/
But a number of mirrors return 403 or 404 error, these include:
http://mirror.lividpenguin.com/pub/apache/
http://mirrors.dedipower.com/ftp.apache.org/
and many others.
Another (possibly-related) problem occurs when attempting to change
the mirror. The form submits, but the mirror doesn't change to the
expected one.
Any pointers on either of the above problems would be appreciated.
Thanks,
-Hyrum
---------- Forwarded message ----------
From: David Fielder <da...@gmail.com>
Date: Mon, Jun 13, 2011 at 10:48 AM
Subject: SVN 1.7.0. alpha source code
To: users@subversion.apache.org
Attempting to download SVN 1.7.0. alpha source code
from http://apache.mirror.anlx.net/subversion/subversion-1.7.0-alpha1.zip
I get this error.
Forbidden
You don't have permission to access
/subversion/subversion-1.7.0-alpha1.zip on this server.
________________________________
Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch Server at
apache.mirror.anlx.net Port 80
please help