Neo-Store
Neo-Store copied to clipboard
Repository index parsing failure isn't helpful
Hi, I am the maintainer of the Fluffychat Repository at https://nightly.fdroid.fluffychat.im/index-v1.json
This repo works fine with the official fdroid app, however we got a report that neostore reports this as invalid.
As you may see this is a rather huge nightly repo with around 1305 releases in one app alone (Fluffychat).
Neostore doesn't give me any indications what's wrong with it apart from saying that it is incorrect, and other fdroid apps work fine with this. So it would be great if someone can help me to make it work with this store as well. The index is generated using the fdroid update command of fdroidserver. So it's a rather standard setup.
I would love to find a solution to this if someone can give me some indications or try to debug it :)
I guess releases' number is the issue here… if you've already looked into the code, you'll see that Release objects are included (in a list form) in Product which is saved in a Room-DB. I didn't consider this amount of kept releases for one app, which may be the issue. A DB refactoring is planned between v0.9 and v1, which would solve this issue.
Ah ok :)
Yeah this is just a push and forget nightly repo. So we have a release basically in every commit with this. 😅
So a fix for now would'be to set a reasonable upper limit (this is also good for sustainability reasons ;-) )
git_mirror_size_limit might help?
Hey @Efreak, nope, it's not about the repo size, it's about the size of the field Releases in the object Product
A smaller repo will have fewer releases in it. If the smaller mirror is used in place of the main repo, it might fix your issue. (I'm not sure if the mirrors contain metadata for releases they don't include)
Is there a reason moving old releases to the archive doesn't work?