Remove forked code from processor, monkey patch instead#288
Draft
white-gecko wants to merge 16 commits intomasterfrom
Draft
Remove forked code from processor, monkey patch instead#288white-gecko wants to merge 16 commits intomasterfrom
white-gecko wants to merge 16 commits intomasterfrom
Conversation
Member
Author
|
The effective diff of the |
5915068 to
7592024
Compare
843a4f6 to
2472513
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the module
quit.toolsmost of the code is forked from the rdflib. This code was updated in the rdflib and in the quit store code and is in a diverged state now. So we should remove that code and use some technique like monkey patching instead.For
processor.pythe monkey patch was straightforward.To reconstruct a diff and find out what to patch I went to the initial commit of the files
algebra.py(776aa20),evaluate.py(776aa20), andupdate.py(201ad1f) and compared it with the following commands to the history of the respective files in the rdflib repo.I came to the conclusion, that the minimal diff is at:
algebra.py: RDFLib/rdflib@227b41fb (22/5)evaluate.py: RDFLib/rdflib@be16dfea (20/14)SERVICEimplementation, which should be replaced by the implementation from rdflibFROM NAMED(686d5b8) we had trouble with that, see Support FROM NAMED and USING NAMED #144update.py: RDFLib/rdflib@6c026d09 (68/21)TODO:
Files completed:
processor.pyalgebra.pyevaluate.pyupdate.pyFix #160 .