Ok, it is setup:
- https://mirror.f-droid.org/android-free/repository/repository.xml
- from the VM:
rsync -ax --delete /home/android-rebuilds/testrepo/ mirror.f-droid.org:/var/www/html/android-free/repository/
I think we should follow the conventions of the Google repositories as much as possible. For example repository.xml should have the version number in it for the format that we are using, e.g. repository-12.xml And the dir structure should be the same. Otherwise, I think we’ll see weird issues, since a lot of the Android SDK was not designed to be decentralized and is quite brittle.
Here are some examples:
- https://dl.google.com/android/repository/repository-12.xml
- https://dl.google.com/android/repository/addon.xml
- https://dl.google.com/android/repository/addon-6.xml
- https://dl.google.com/android/repository/sys-img/android/sys-img.xml
- https://dl.google.com/android/repository/sys-img/x86/addon-x86.xml
That also means naming the ZIP files the same, e.g. platform-27_r02.zip or build-tools_r28.0.3-linux.zip