Closed relan closed 8 years ago
You seem to have dived into the codebase - have you tried to patch the bug? :)
I can more or less read Go code due to its similarity to other C-like languages, but I'll have to learn it to write the code.
No worries. Just wanted to make sure you didn't think that patches weren't welcome.
Confirming that now it works. Thanks for the quick fix!
I have a question about the current APK concept. As I understand it, it's the latest stable version of an app. So, versioncode
in the app CV sets the boundary between release and pre-release versions.
This works well until we have multiple APKs for various architectures with different vercodes. For example, an app has the following APKs in the repo (version string: version code, arch):
CV should probably have versioncode
set to 34 (?). But which APK to select (32 or 34) depends on the device. So, we need ABI, SDK, etc. filters. But fdroidcl download
command is meant to be used without any connected devices. How will it work with filters?
This is why #6 is needed. Otherwise, we could have some sort of "default" device with its details stored in the cache.
I'm on the latest master:
I have IceCat 38.6 installed on my device while F-Droid repository contains only 38.7.1.
fdroidcl crashes here:
As far as I understand,
runUpgrade()
tries to find current APK among APKs in the repo. This is not always the case, e.g. when APK has been moved to the archive and user tries to upgrade it after that.I known that I won't be able to upgrade IceCat anyway due to #5. This issue is about upgrading APKs missing in the repo to the versions that are in the repo.