New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request to remove superseded addon. #3731
Comments
Comment 1 by jteh on 2013-12-23 00:06 |
Comment 2 by norrumar on 2013-12-26 11:03 |
Comment 4 by MHameed on 2014-02-05 01:54 Sorry for the delay, and not explaining my reasoning more clearly previously. An addon is often written by an author to solve a particular problem for themselves or for someone they know. As part of the review/improvement process, we usually will have to change the addon name to match the addon naming guidelines, to fit in better with translation system and with the addon website requirements. What is happening now, is that for each addon that needs this treatment, we have the same snippet of code, dialog and same translatable messages. I hope I put my case more succinctly. thanks, |
Comment 5 by norrumar (in reply to comment 4) on 2014-02-05 06:50
|
Comment 6 by jteh on 2014-02-05 07:18 Are you requesting that the older add-on be removed automatically or are you requesting that the user be informed that they should remove it? If the latter, I guess we could consider a more generic "conflicts" mechanism where an add-on is marked as conflicting with another. Imo, "superceded" or "replaces" is far too specific and doesn't justify its own special support. |
Comment 7 by norrumar (in reply to comment 6) on 2014-02-05 07:33
|
Comment 8 by MHameed (in reply to comment 6) on 2014-02-15 10:45
We remind them that the two addons are incompatible, and that the new one superseeds the functionality in the old addon.
Having a generic conflict mechanism would be useful, at present superceded/replaces is the only thing we have needed to handle. Maybe we should arrange a voice call/irc chat to spec out requirements for a conflict mechanism. |
Comment 9 by zahari_bgr on 2014-02-15 12:08 |
I am in agreement with @jcsteh's following quote: |
Hi, I reafirm my previous comments as norrumar (now I'm nvdaes). Cheers
2017-08-15 12:41 GMT+02:00, bhavyashah <notifications@github.com>:
… I am in agreement with @jcsteh's following quote:
"While I'm sure this is nice, surely this is the user's responsibility. If
they install an add-on from somewhere else and then download an add-on with
a different name from the official site, we can expect them to remove the
old one. This issue is not unique to NVDA add-ons."
I am not too sure of whether we should still pursue implementing this, but
then again, I'll leave it at this - CC @josephsl, @nvdaes, @derekriemer and
other add-on experts.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#3731 (comment)
|
I feel like this is the responsibility of the uninstalling addon. |
Hi, Technical: an add-on can find out where an add-on lives and ask for add-on removal if told to do so. I'd say it's something users should be told about and asked for confirmation before the newer add-on removes an incompatible add-on. As for what Zahari pointed out, this might bring up dependency problem where another add-on may depend on features provided by the deprecated add-on, and this is when communication between authors is the key. As for an add-on depending on features from a specific version of NVDA, there is a ticket out there that discusses this (if I'm correct). For now, I'll close this, as this is more towards something that the add-ons community should discuss in detail. Thanks. |
OK, the question is if NVDA's core could implement a function in
addonHandler to borrow translations, as pointed by Mesar.
Cheers
2017-08-15 17:53 GMT+02:00, Joseph Lee <notifications@github.com>:
… Hi,
Technical: an add-on can find out where an add-on lives and ask for add-on
removal if told to do so.
I'd say it's something users should be told about and asked for confirmation
before the newer add-on removes an incompatible add-on. As for what Zahari
pointed out, this might bring up dependency problem where another add-on may
depend on features provided by the deprecated add-on, and this is when
communication between authors is the key. As for an add-on depending on
features from a specific version of NVDA, there is a ticket out there that
discusses this (if I'm correct).
For now, I'll close this, as this is more towards something that the add-ons
community should discuss in detail. Thanks.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#3731 (comment)
|
Reported by MHameed on 2013-12-22 23:45
From time to time, there is a backwards incompatible change in an addon, and the new version should be able to request the removal of the old and incompatible version.
At the moment this is done in the installTasks.py:onInstall function.
This is duplicated (code and translatable messages) for each addon.
It would make more sence if the functionality lives in the addonHandler.py.
thanks
The text was updated successfully, but these errors were encountered: