pr-downloader
pr-downloader copied to clipboard
How to add SF mirror to existing mirror list?
I cannot find a place to add a mirror, zero-k has copy of all maps and it should serve as one of springfiles mirror for pr-downloader.
atm the system pushes the files to the mirrors, it can't fetch
ZK does pull from SF, so it should contain all maps (7m check interval), can it still be added to list to be used by downloaders?
"can", yes, but code has to be changed.
more specific:
- the mirror has to be added to the db
- (re)verification has to be disabled for this mirror https://github.com/springfiles/upq/blob/master/jobs/reverify.py#L18
- automatic upload has to be disabled for this mirror: https://github.com/springfiles/upq/blob/master/jobs/upload.py#L90
Hmm, hardcoding it there sounds simple but you would probably want some db flag for that.. Oh well, the URL is http://zero-k.info/autoregistrator/maps/ Also server has a rapid copy which could be utilized for faster downloads.