-
-
Notifications
You must be signed in to change notification settings - Fork 663
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
Reconsider fast_diff_match_path license violation workaround #16633
Comments
I don't understand why dmp should return full diff? What problem will this solve? |
For |
This is definitely possible, but I don't know how much it will degrade performance, it might be worth considering using a fast diff match patch in the core directly. |
I've been able to work around the issues in |
We don't have plans/capacity to investigate this in the near future. Considering this is not blocking any technical/product changes a legal investigation is not a priority |
I'd also like to see CC @feerrenrut, @tspivey. |
@codeofdusk - Please note Reef has moved on from NV Access, and would appreciate not getting pinged for NVDA tickets |
#16753) NVDA is licensed with GPL2 which is incompatible with certain licenses like Apache. Currently there are 2 python dependencies bundled with NVDA with incompatible licenses: fast-diff-match-patch - see Reconsider fast_diff_match_path license violation workaround #16633 requests Description of user facing changes Developers can now check licenses with runlicensecheck.bat AppVeyor checks that new dependencies with incompatible licenses aren't introduced Description of development approach Using the licensecheck pip dependency, check licenses Similar to lint checks, run these checks on appveyor builds
Is your feature request related to a problem? Please describe.
I have found some oddities in
UnicodeNormalizationOffsetConverter
that are related to difflib doing very odd things on the character level. I haven't been able to reproduce this with non-private content, though.Ideally I'd move to fast_diff_match_patch, but I don't want to change nvda_DMP just for this. This made me question the decision to create NVDA_DMP in the first place. Has this been discussed extensively in the past and if so, where?
Also note that from a python console, it is still possible to import
fast_diff_match_patch
. I wonder if this is actually allowed within the licensing provisions. There is some inconsistency here.Describe the solution you'd like
I know about license compatibilities, but I'm also reading from Apache:
Long story short:
By the way, the license actually allows us to stretch the term plugin in the developer guide to such an extent that we can also classify parts of the core that stand alone but are not necessarily globalPlugins as plugins, making them subject to this license provision.
Describe alternatives you've considered
Refactor nvda_dmp in such a way that it returns the full diff, rather than only insertions.
Any thoughts @codeofdusk, @Danstiv
Originally posted by @LeonarddeR in #11548 (comment)
The text was updated successfully, but these errors were encountered: