#161: Install fails when trac-hacks is down
------------------------+----------------------
Reporter: jdreimann | Owner: gjm
Type: defect | Status: assigned
Priority: blocker | Milestone:
Component: installer | Version:
Resolution: | Keywords:
------------------------+----------------------
Comment (by gjm):
If we are allowed to we could serve a few pages out of our
issues.apache.org/bloodhound area that act as a python package index,
making use of the mod_rewrite to redirect for packages we don't know about
to pypi, something like this:
{{{
RewriteCond /var/www/pypi/$1 !-f
RewriteCond /var/www/pypi/$1 !-d
RewriteRule ^/bloodhound/pypi/(.*)$ http://pypi.python.org/pypi/$1
[P,L]
}}}
pages of this form would probably be good enough:
{{{
#!html
<html>
<body>
<h1>TracAccountManager Distributions</h1>
<ul>
<li><a
href="https://bitbucket.org/olemis/bloodhound-t-h.o/downloads/TracAccountManager-0.3.2.tar.gz">TracAccountManager-0.3.2.tar.gz</a>
</ul>
</body>
</html>
}}}
given a name like {{{/var/www/pypi/TracAccountManager/index.html}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/161#comment:5>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker