-
Notifications
You must be signed in to change notification settings - Fork 189
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
Remove no longer valid checksum properties #3902
Conversation
Test Results 597 files 597 suites 4h 23m 11s ⏱️ Results for commit ca4c4a8. ♻️ This comment has been updated with latest results. |
@laeubi Thanks for the fix! I've made this Integration Test: Questions:
Thanks in advance! |
|
@laeubi As expected, #3921 failed in the new integration test: Can you review and cherry-pick it into your branch in order to test it pass with your modifications. Thanks in advance |
Currently Tycho/P2 only *adds* checksums but as some are now disabled for publish this can lead to the case where an existing checksum is kept as-is. This now performs and additional check if there are old checksums and remove them when recreate the repository. Fix eclipse-tycho#2875
This integration test shows that `download.md5` and `download.checksum.md5` are present after running the `fix-artifacts-metadata` goal when they shouldn't. If these are not removed and the content of the artifact changed then, after the recalculation done by this goal, new p2 libs will see an outdated value for these old checksum algorithms and will fail the installation due to a checksum mismatch.
@mdaloia testcase should now be part of this PR! |
@laeubi Well, it seems that it is all green! 👏🏻 |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
1 similar comment
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
Currently Tycho/P2 only adds checksums but as some are now disabled for publish this can lead to the case where an existing checksum is kept as-is.
This now performs and additional check if there are old checksums and remove them when recreate the repository.
This should fix
but a testcase is missing.