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

Hash comparisons should be case insensitive #39

Merged
merged 1 commit into from
Jan 20, 2024
Merged

Hash comparisons should be case insensitive #39

merged 1 commit into from
Jan 20, 2024

Conversation

m40l
Copy link
Contributor

@m40l m40l commented Jan 20, 2024

Get-FileHash -Algorithm MD5 archive_name.tar.bz2 generates an md5 hash with all caps, and the case sensitive compare tripped me up in development. Hopefully this change will be a quality of life improvement for future users.

All of the supported hash's are inherently case insensitive, so this will not affect functionality.

Copy link

github-actions bot commented Jan 20, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@m40l
Copy link
Contributor Author

m40l commented Jan 20, 2024

I have read the CLA Document and I hereby sign the CLA

Copy link

codecov bot commented Jan 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b1f9316) 71.69% compared to head (eaed704) 71.70%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   71.69%   71.70%           
=======================================
  Files          23       23           
  Lines        3173     3174    +1     
=======================================
+ Hits         2275     2276    +1     
  Misses        898      898           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bennettgoble
Copy link
Member

Thanks for the contribution, @m40l. This seems reasonable: but I just want to understand how you encountered the problem. Did you generate a hash with Get-FileHash and manually edit your autobuild.xml?

@bennettgoble bennettgoble merged commit c05663f into secondlife:main Jan 20, 2024
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 20, 2024
@bennettgoble
Copy link
Member

Published as v3.9.3. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants