Neo-Store icon indicating copy to clipboard operation
Neo-Store copied to clipboard

Add Cloudflare to list of supported F-Droid mirrors

Open mariobrostech opened this issue 3 years ago • 8 comments

Hi,

Is there any way that Cloudflare can be added to the list of supported F-Droid mirrors when tapping on the arrow next to the F-Droid repository URL?

Here's the direct link to the repo: https://cloudflare.f-droid.org/repo?fingerprint=43238D512C1E5EB2D6569F4A3AFBF5523418B82E0A3ED1552770ABB9A9C9CCAB

Thanks in advance!

mariobrostech avatar Jan 23 '22 17:01 mariobrostech

Perhaps similar to https://github.com/Iamlooker/Droid-ify/issues/163 ?

mahdi1234 avatar Jan 24 '22 21:01 mahdi1234

It is, but I opened this issue because I saw that mirrors were already an implemented feature for the F-Droid repo.

mariobrostech avatar Jan 24 '22 21:01 mariobrostech

Ahh you're right, didn't notice. But you can only select one and it fetches everything whereas official app alternates. Got it - in your case adding custom url would solve it.

mahdi1234 avatar Jan 24 '22 21:01 mahdi1234

Yeah, changing the URL solves it, but I agree that the feature could be a bit more intuitive (a dropdown arrow is small and hard to notice, and I didn't realize it was there right away), and it should also be able to support multiple mirrors, like the official app.

mariobrostech avatar Jan 24 '22 21:01 mariobrostech

So what do you think the implementation should be like?

As far as I understood from this conversation,

We should simplely give option to add more repos and allow them to be easier to select?

But according to #163 we should periodically test the performance of each repo and select the most performamt

First one seem like a feasible feature to implement but usability will not be improve vastly. You will need to check performance on your own.

And second doesnt seem that feasible to me atleast (I would like some suggestions @machiav3lli )

I will look into what Official F-Droid actually implemented.

Of I am wrong about this interpretation kindly correct me.

Iamlooker avatar Jan 24 '22 21:01 Iamlooker

What I think is easy to answer:

  • the app should come up with list of all official f-droid mirrors
  • mirrors should be user selectable (one or multiple)
  • adding custom mirror should be possible
  • app should somehow alternate those mirrors

What I have no answer to:

  • should all be enabled by default - probably not (Europe vs Asia makes huge difference)
  • which should be enabled by default and how to decide

I don't think app should periodically check performance ... but maybe could have a on demand "test" option.

mahdi1234 avatar Jan 24 '22 21:01 mahdi1234

For those who wish not to use the Cloudflare mirror (there are plenty), it shouldn't be enforced based on mirror performance.

yephny avatar Feb 13 '22 17:02 yephny

should all be enabled by default - probably not (Europe vs Asia makes huge difference)

I think we can easily make it disabled by default only within EU since that's controversial. For other places, enabled by default obviously gives more benefits over disadvantages.

And anyone can change the settings for themselves. This no enforcement.

proletarius101 avatar Feb 23 '22 22:02 proletarius101

Should be fixed on 1.0.0. Using auto-rotation on mirrors is an another issue #163

machiav3lli avatar Apr 23 '24 20:04 machiav3lli