Open lrupp opened 4 years ago
@poeml @lrupp @plugwash It seems that the openSUSE project has solved this issue by offering a defined subset of most frequently downloaded files. Perhaps a similar approach could work the Raspbian project. If so, could you close this issue?
Copied from: https://github.com/poeml/mirrorbrain/issues/121
I'm using mirrorbrain for the raspbian project and while most mirrors carry our whole tree sometimes we get mirrors which we would like to use but that only carry part of our file tree. It would be very handy if mirrorbrain would support this by having a prefix that is added to filenames when scanning and removed from filenames before redirecting.
poeml commented:
Yes, a logical approach. I had similar situations in the past, but mostly solved them by talking to the mirror admin to change their setup, but it is often hard to reach them, and one doesn't want to hassle them.
It requires a field in the database for storing the missing path segment, and then using it exactly how you describe.
Existing databases need to be migrated.