-
Notifications
You must be signed in to change notification settings - Fork 52
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
Enhance IndexMerger to use equality checks #188
Comments
Hi |
@irenge Please go ahead. |
Hi @irenge are you working on this issue? |
haha ! I thought the issue was closed . I am going back to it . R u interested in it ? |
This isn't eligible to be worked on until #186 is merged. That issue needs to be resolved first. |
@sgallagher Hi, All beginner issues have been claimed. Is it okay to work on those issues? I have already copied tests for the depends_on_stream function to C. And I added a test for an empty stream. But that was in python. Can I work on copying that test to C and also copying some more functions from modulestream.py to C? |
@athira-selvam If there isn't a specific issue available (and I don't have a spare moment today to try to come up with some new ones), my recommendation would be to look through the existing tests in the |
Previously, we assumed that any two streams having the same NSVCA were identical. Now we can actually test for full equality before dropping one while deduplicating. Note that this will result in a hard failure if they aren't identical, because this means that the enabled repositories are providing conflicting data. Fixes: fedora-modularity#188 Signed-off-by: Stephen Gallagher <[email protected]>
Right now, we use a highly-simplified comparison when merging ModuleStream objects from two different repositories. We check whether they have the same NSVC and then assume them to be the same content. It would be better to perform a full equality check.
This depends on #186
The text was updated successfully, but these errors were encountered: