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

Enforce LF line endings for checksum files #938

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

marcoesters
Copy link
Contributor

Description

On Windows, the checksum files are output with CRLF line endings, which breaks the shasum -c check because it will treat \r as part of the file name. Since the output files are written to work with shasum, POSIX line endings needs to be enforced.

I also decided to refactor the tests and parametrize them to cover every use case.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@marcoesters marcoesters changed the title Shafile format windows Enforce LF line endings for checksum files Feb 4, 2025
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Feb 4, 2025
@marcoesters marcoesters marked this pull request as ready for review February 4, 2025 20:37
@marcoesters marcoesters requested a review from a team as a code owner February 4, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

2 participants