pr-downloader icon indicating copy to clipboard operation
pr-downloader copied to clipboard

How to add SF mirror to existing mirror list?

Open Licho1 opened this issue 9 years ago • 4 comments

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.

Licho1 avatar Feb 16 '16 21:02 Licho1

atm the system pushes the files to the mirrors, it can't fetch

abma avatar Feb 16 '16 22:02 abma

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?

Licho1 avatar Feb 18 '16 07:02 Licho1

"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

abma avatar Feb 18 '16 11:02 abma

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.

Licho1 avatar Feb 18 '16 16:02 Licho1