Allow mirroring both archives and implementations
commit7f87baceeafa5ba39f84b90af8157292cf98eb18
authorThomas Leonard <talex5@gmail.com>
Sat, 14 Jul 2012 16:28:32 +0000 (14 17:28 +0100)
committerThomas Leonard <talex5@gmail.com>
Sat, 14 Jul 2012 17:21:55 +0000 (14 18:21 +0100)
tree17e19503b9cddfe4f2ac29056fa614c77edaf5fb
parent5e7088f6d3e00ce311e5127984ec6e6d9c536879
Allow mirroring both archives and implementations

If an archive isn't found, we try to find a mirror for the archive. If that
fails, we try to find a mirror for the whole implementation. This allows us
to cope with the two common cases:

1) we have exact copies of the original archives, and the mirror can send us to them
2) we have generated a new archive for the whole implementation from the cache
tests/Hello-new.xml
tests/Hello.xml
tests/server.py
tests/testdownload.py
zeroinstall/injector/fetch.py
zeroinstall/injector/scheduler.py