News for hackers. Stuff that matters.
Re:New F-Droid repository format for faster and smaller updates by jeroenhd on Thursday March 02, 2023 @11:25PM (#35005797)
It's not strictly necessary, but if the entire repo can fit inside 8MiB of compressed data I can understand why they chose this rather than server-side search. That's "three clicks on Twitter" in terms of data, not exactly the end of the world, though less is always better. F-Droid's main servers are always overloaded anyway, so just sending a nice and cacheable compressed archive seems like a fine trade-off to me.
Re:New F-Droid repository format for faster and smaller updates by gnramires on Friday March 03, 2023 @03:57AM (#35007326)
It would be nice to use some kind of delta compression to only download latest changes. There could be a version-stamp on your local data, the client would send the timestamp to the server, and it would send a delta from your version to current version of db (easy to cache). Integrity checks would be important I think.
Re:New F-Droid repository format for faster and smaller updates by ptx on Friday March 03, 2023 @06:03AM (#35008082)
That's essentially what they're announcing, isn't it?
Re:New F-Droid repository format for faster and smaller updates by gnramires on Friday March 03, 2023 @07:25AM (#35008612)
Woops, yes. I didn't read the article, and thought it was referring to apk diffs, my apologies.

That said, apk diffs seem important as well, some updates are significantly large (more than 100MB) and see frequent updates. Although in that case it might need to cache apks which requires space as well (I would opt in, though!).

Re:New F-Droid repository format for faster and smaller updates by eighthave on Tuesday March 07, 2023 @06:06AM (#35053995)
We welcome contributions to support APK diffs, it would make a big impact: https://gitlab.com/fdroid/fdroidclient/-/issues/450