Now anki will prompts for upgradation. It's annoying! There is a patch to disable it. See https://bugzilla.redhat.com/show_bug.cgi?id=869440 Reproducible: Always
Should be fixed in 2.0.12. Thanks!
Should this patch be introduced in stable arch?
(In reply to Yichao Zhou from comment #2) > Should this patch be introduced in stable arch? There is a waiting period of 30 days usually for new patches. In this case it's relatively simple patch. I'll push for stabilization of a new version of Anki in mid August.
Hello, today my anki-2.0.12 prompts for upgrade again. Not fixed?
Yes, I also noticed this. We are setting suppressUpdate=True in aqt/profiles.py, which is supposed to suppress the update warnings, but it does not. Unfortunately this seems not to work and there is no documentation of the code. Can you inquire upstream?
Created attachment 362605 [details, diff] patch for the anki-2.0.12 ebuild which changes a different autoupdate setting There are two settings, updates and suppressUpdates. Reading the anki-2.0.12 code, it seems that suppressUpdates is intended to be a version number which should be ignored when checking for updates. In fact, by analyzing ~/Anki/prefs.db, it seems to be used to keep track of the update I just refused. 'updates', on the other hand, is used in aqt/update.py on line 47 to terminate LatestVersionFinder before any other checks. Modifying the ebuild to change 'updates' instead of 'suppressUpdates' (see attachment) seems to disable updates here (please note that you may need to get rid of your anki settings (~/Anki) in order to test whether the autoupdater is still triggered).
Ok, let's run with this. Thanks for your analysis. Also note that prefs.db is an sqlite db which you can examine and change on the commandline. No need to delete all your decks. +++ ./ChangeLog @@ -4,0 +5,5 @@ + 05 Nov 2013; Thomas Kahle <tomka@gentoo.org> anki-2.0.12.ebuild, + anki-2.0.16.ebuild: + Fix bug 478128 (don't mention non-distro upgrades) again. Thanks Nuno J. + Silva.