Skip to content
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

Add distributionSha256Sum for maven #2030

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

snuyanzin
Copy link
Contributor

@snuyanzin snuyanzin commented Nov 25, 2023

There is now support for checksum checks while downloading maven
this support is added here

also there is suppport for similar check for wrapper however it doen not work well for Windows as mentioned at
MVRAPPER-103.
Now it is commented till the issue is fixed

most of the changes are result of generated code via command ./mvnw wrapper:wrapper

Signed-off-by: Sergey Nuyanzin <snuyanzin@gmail.com>
Copy link
Contributor

@aindriu-aiven aindriu-aiven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran this on windows and Linux, the windows version kept on failing on the cluster-api.

[ERROR] Failures:
[ERROR] ClusterApiControllerIT.getTopicContents:780
expected: 2
but was: 0
[INFO]
[ERROR] Tests run: 26, Failures: 1, Errors: 0, Skipped: 0

Also the links to the apache license were switched to http from https

@@ -7,7 +7,7 @@
@REM "License"); you may not use this file except in compliance
@REM with the License. You may obtain a copy of the License at
@REM
@REM https://www.apache.org/licenses/LICENSE-2.0
@REM http://www.apache.org/licenses/LICENSE-2.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to switch this back to http?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the result of mvn wrapper:wrapper code generation
so i guess it's better to keep it as is and probably to fix it first in upstream project

@@ -8,7 +8,7 @@
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to switch this back to http?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the result of mvn wrapper:wrapper code generation
so i guess it's better to keep it as is and probably to fix it first in upstream project

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool I am happy with that. I will do some digging on the issue with the failing test on windows, as it only happens on this branch. (5/5 times) didnt happen when I ran it on main. I'll let you know if it can be fixed or what the RCA is

@aindriu-aiven
Copy link
Contributor

I reviewed the failing test it was only added on Friday and passes on Linux/Mac so I dont believe this change has any impact on it.

I am going to approve this and will look at rewriting the test to be windows compatible.

Copy link
Contributor

@aindriu-aiven aindriu-aiven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@snuyanzin
Copy link
Contributor Author

thanks for taking a look

@snuyanzin snuyanzin merged commit 6078c3d into Aiven-Open:main Nov 27, 2023
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants